Jit64[IL]: drop WriteCallInterpreter

This commit is contained in:
Tillmann Karras committed 2015-07-17 03:25:38 +02:00
1 parent c0f80ca524
commit 334c1bfdf6
4 files changed
+1 -26

No files matched your search

@@ -288,23 +288,6 @@ void JitIL::Shutdown()
farcode.Shutdown();
}
void JitIL::WriteCallInterpreter(UGeckoInstruction inst)
{
if (js.isLastInstruction)
{
MOV(32, PPCSTATE(pc), Imm32(js.compilerPC));
MOV(32, PPCSTATE(npc), Imm32(js.compilerPC + 4));
}
Interpreter::_interpreterInstruction instr = GetInterpreterOp(inst);
ABI_CallFunctionC((void*)instr, inst.hex);
if (js.isLastInstruction)
{
MOV(32, R(RSCRATCH), PPCSTATE(npc));
WriteRfiExitDestInOpArg(R(RSCRATCH));
}
}
void JitIL::FallBackToInterpreter(UGeckoInstruction _inst)
{
ibuild.EmitFallBackToInterpreter(
-1
View File
@@ -82,7 +82,6 @@ public:
void WriteExitDestInOpArg(const Gen::OpArg& arg);
void WriteExceptionExit();
void WriteRfiExitDestInOpArg(const Gen::OpArg& arg);
void WriteCallInterpreter(UGeckoInstruction _inst);
void Cleanup();
void WriteCode(u32 exitAddress);