JitArm64/JitAsm: Remove usages of the JIT global

With this, the entire ARM JIT makes no use of the JIT global whatsoever.
This commit is contained in:
Lioncash 2018-03-25 15:23:46 -04:00
parent 5c83e18fbd
commit efcdb3debb
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ void JitArm64::GenerateAsm()
ARM64Reg block = X30;
ORRI2R(pc_masked, WZR, JitBaseBlockCache::FAST_BLOCK_MAP_MASK << 3);
AND(pc_masked, pc_masked, DISPATCHER_PC, ArithOption(DISPATCHER_PC, ST_LSL, 1));
MOVP2R(cache_base, g_jit->GetBlockCache()->GetFastBlockMap());
MOVP2R(cache_base, GetBlockCache()->GetFastBlockMap());
LDR(block, cache_base, EncodeRegTo64(pc_masked));
FixupBranch not_found = CBZ(block);