From f81781d25c866bf611f7caba9bc28ce5d659ca22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Sun, 12 Apr 2015 13:15:00 -0700 Subject: [PATCH] Unify JitOptions in FakeJit also. --- Core/MIPS/fake/FakeJit.cpp | 8 -------- Core/MIPS/fake/FakeJit.h | 13 +------------ 2 files changed, 1 insertion(+), 20 deletions(-) diff --git a/Core/MIPS/fake/FakeJit.cpp b/Core/MIPS/fake/FakeJit.cpp index a1af1843b4..8f73b153e5 100644 --- a/Core/MIPS/fake/FakeJit.cpp +++ b/Core/MIPS/fake/FakeJit.cpp @@ -38,14 +38,6 @@ void DisassembleFake(const u8 *data, int size) { namespace MIPSComp { -FakeJitOptions::FakeJitOptions() { - enableBlocklink = true; - immBranches = false; - continueBranches = false; - continueJumps = false; - continueMaxInstructions = 300; -} - FakeJit::FakeJit(MIPSState *mips) : blocks(mips, this), mips_(mips) { logBlocks = 0; diff --git a/Core/MIPS/fake/FakeJit.h b/Core/MIPS/fake/FakeJit.h index a78a72f1d3..df9d740a8d 100644 --- a/Core/MIPS/fake/FakeJit.h +++ b/Core/MIPS/fake/FakeJit.h @@ -30,17 +30,6 @@ namespace MIPSComp typedef int FakeReg; -struct FakeJitOptions -{ - FakeJitOptions(); - - bool enableBlocklink; - bool immBranches; - bool continueBranches; - bool continueJumps; - int continueMaxInstructions; -}; - class FakeJit : public FakeGen::FakeXCodeBlock { public: @@ -166,7 +155,7 @@ private: void WriteSyscallExit(); JitBlockCache blocks; - FakeJitOptions jo; + JitOptions jo; JitState js; MIPSState *mips_;