From b06e1880b6041b59663d119ce842e80a0320db04 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Tue, 23 Jan 2024 16:26:59 -0500 Subject: [PATCH] Jit64AsmCommon: Remove redundant m_jit member from CommonAsmRoutines We pass a JIT instance all the way down to EmuCodeBlock, which is accessible under protected as well, so this isn't really necessary. --- Source/Core/Core/PowerPC/Jit64Common/Jit64AsmCommon.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Source/Core/Core/PowerPC/Jit64Common/Jit64AsmCommon.h b/Source/Core/Core/PowerPC/Jit64Common/Jit64AsmCommon.h index 32f983d2ef..ffac2da1a1 100644 --- a/Source/Core/Core/PowerPC/Jit64Common/Jit64AsmCommon.h +++ b/Source/Core/Core/PowerPC/Jit64Common/Jit64AsmCommon.h @@ -26,7 +26,7 @@ private: class CommonAsmRoutines : public CommonAsmRoutinesBase, public QuantizedMemoryRoutines { public: - explicit CommonAsmRoutines(Jit64& jit) : QuantizedMemoryRoutines(jit), m_jit(jit) {} + explicit CommonAsmRoutines(Jit64& jit) : QuantizedMemoryRoutines(jit) {} void GenFrsqrte(); void GenFres(); void GenMfcr(); @@ -39,6 +39,4 @@ protected: void GenQuantizedSingleLoads(); void GenQuantizedStores(); void GenQuantizedSingleStores(); - - Jit64& m_jit; };