stop using g_jit outside of JitInterface

Replace g_jit in x86-64 ASM routines code by m_jit member reference
This commit is contained in:
CrystalGamma committed 2018-12-15 01:58:58 +01:00
1 parent 3fa81f39fb
commit 2f490e44fb
14 files changed
+57 -41

No files matched your search

@@ -40,6 +40,11 @@
namespace JitInterface
{
static JitBase* g_jit = nullptr;
void SetJit(JitBase* jit)
{
g_jit = jit;
}
void DoState(PointerWrap& p)
{
if (g_jit && p.GetMode() == PointerWrap::MODE_READ)