From 986d644a018457bfa305050080ebce6a626c14a9 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Wed, 30 May 2018 05:06:39 -0400 Subject: [PATCH] JitAsmCommon: Make CommonAsmRoutinesBase a struct This is just used as a means of carting around routines. It's not meant to directly have functionality embedded within it--this is the job of the inheriting data structure--so we can just make this a basic struct. Particularly given all the data members were public to begin with. --- Source/Core/Core/PowerPC/JitCommon/JitAsmCommon.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Source/Core/Core/PowerPC/JitCommon/JitAsmCommon.h b/Source/Core/Core/PowerPC/JitCommon/JitAsmCommon.h index e57cf06743..7463f8e9fa 100644 --- a/Source/Core/Core/PowerPC/JitCommon/JitAsmCommon.h +++ b/Source/Core/Core/PowerPC/JitCommon/JitAsmCommon.h @@ -12,9 +12,8 @@ alignas(16) extern const float m_one[4]; alignas(16) extern const float m_quantizeTableS[128]; alignas(16) extern const float m_dequantizeTableS[128]; -class CommonAsmRoutinesBase +struct CommonAsmRoutinesBase { -public: const u8* enter_code; const u8* dispatcher_mispredicted_blr;