mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-26 12:16:20 +00:00
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:
parent
3fa81f39fb
commit
2f490e44fb
14 changed files with 57 additions and 41 deletions
|
@ -10,8 +10,8 @@
|
|||
#include "Common/FloatUtils.h"
|
||||
#include "Common/x64ABI.h"
|
||||
#include "Core/PowerPC/Gekko.h"
|
||||
#include "Core/PowerPC/Jit64/Jit.h"
|
||||
#include "Core/PowerPC/Jit64Common/Jit64AsmCommon.h"
|
||||
#include "Core/PowerPC/Jit64Common/Jit64Base.h"
|
||||
#include "Core/PowerPC/Jit64Common/Jit64PowerPCState.h"
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
@ -19,7 +19,7 @@
|
|||
class TestCommonAsmRoutines : public CommonAsmRoutines
|
||||
{
|
||||
public:
|
||||
TestCommonAsmRoutines()
|
||||
TestCommonAsmRoutines() : CommonAsmRoutines(jit)
|
||||
{
|
||||
using namespace Gen;
|
||||
|
||||
|
@ -49,6 +49,7 @@ public:
|
|||
}
|
||||
|
||||
u64 (*wrapped_frsqrte)(u64, UReg_FPSCR&);
|
||||
Jit64 jit;
|
||||
};
|
||||
|
||||
TEST(Jit64, Frsqrte)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue