mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-06-20 05:07:48 +00:00
arm64: fix the access to tcg_op_defs[] in arm64 backend (issue #387)
This commit is contained in:
parent
840eb54f05
commit
3eb51116b9
|
@ -1241,7 +1241,7 @@ static void tcg_out_op(TCGContext *s, TCGOpcode opc,
|
||||||
{
|
{
|
||||||
/* 99% of the time, we can signal the use of extension registers
|
/* 99% of the time, we can signal the use of extension registers
|
||||||
by looking to see if the opcode handles 64-bit data. */
|
by looking to see if the opcode handles 64-bit data. */
|
||||||
TCGType ext = (tcg_op_defs[opc].flags & TCG_OPF_64BIT) != 0;
|
TCGType ext = (s->tcg_op_defs[opc].flags & TCG_OPF_64BIT) != 0;
|
||||||
|
|
||||||
/* Hoist the loads of the most common arguments. */
|
/* Hoist the loads of the most common arguments. */
|
||||||
TCGArg a0 = args[0];
|
TCGArg a0 = args[0];
|
||||||
|
|
Loading…
Reference in a new issue