Permalink
Browse files

jit: Remove unused breakpoint code.

  • Loading branch information...
unknownbrackets committed May 2, 2018
1 parent 5510a69 commit 4c3fe4737209abfc7763dfa6b63fdf19339c4e17
View
@@ -238,7 +238,6 @@ void ArmJit::GenerateFixedCode() {
B_CC(CC_EQ, outerLoop);
SetJumpTarget(badCoreState);
breakpointBailout = GetCodePtr();
SaveDowncount();
RestoreRoundingMode(true);
View
@@ -313,8 +313,6 @@ class ArmJit : public ArmGen::ARMXCodeBlock, public JitInterface, public MIPSFro
const u8 *restoreRoundingMode;
const u8 *applyRoundingMode;
const u8 *breakpointBailout;
};
} // namespace MIPSComp
@@ -275,7 +275,6 @@ void Arm64Jit::GenerateFixedCode(const JitOptions &jo) {
B(CC_EQ, outerLoop);
SetJumpTarget(badCoreState);
breakpointBailout = GetCodePtr();
SaveStaticRegisters();
RestoreRoundingMode(true);
@@ -274,8 +274,6 @@ class Arm64Jit : public Arm64Gen::ARM64CodeBlock, public JitInterface, public MI
const u8 *dispatcher;
const u8 *dispatcherNoCheck;
const u8 *breakpointBailout;
const u8 *saveStaticRegisters;
const u8 *loadStaticRegisters;
View
@@ -181,8 +181,6 @@ class MipsJit : public MIPSGen::MIPSCodeBlock, public JitInterface, public MIPSF
const u8 *dispatcherPCInR0;
const u8 *dispatcher;
const u8 *dispatcherNoCheck;
const u8 *breakpointBailout;
};
typedef void (MipsJit::*MIPSCompileFunc)(MIPSOpcode opcode);
View
@@ -211,11 +211,6 @@ void Jit::GenerateFixedCode(JitOptions &jo) {
ABI_PopAllCalleeSavedRegsAndAdjustStack();
RET();
breakpointBailout = GetCodePtr();
RestoreRoundingMode(true);
ABI_PopAllCalleeSavedRegsAndAdjustStack();
RET();
// Let's spare the pre-generated code from unprotect-reprotect.
endOfPregeneratedCode = AlignCodePage();
EndWrite();
View
@@ -320,8 +320,6 @@ class Jit : public Gen::XCodeBlock, public JitInterface, public MIPSFrontendInte
const u8 *dispatcherNoCheck;
const u8 *dispatcherInEAXNoCheck;
const u8 *breakpointBailout;
const u8 *restoreRoundingMode;
const u8 *applyRoundingMode;

0 comments on commit 4c3fe47

Please sign in to comment.