From efcdb3debbf217a4b7be3252655032bf0aed528b Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sun, 25 Mar 2018 15:23:46 -0400 Subject: [PATCH] JitArm64/JitAsm: Remove usages of the JIT global With this, the entire ARM JIT makes no use of the JIT global whatsoever. --- Source/Core/Core/PowerPC/JitArm64/JitAsm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Core/PowerPC/JitArm64/JitAsm.cpp b/Source/Core/Core/PowerPC/JitArm64/JitAsm.cpp index afb7a4031b..8c62230eb7 100644 --- a/Source/Core/Core/PowerPC/JitArm64/JitAsm.cpp +++ b/Source/Core/Core/PowerPC/JitArm64/JitAsm.cpp @@ -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);