- remove unused argument

This commit is contained in:
Magnus Norddahl 2018-11-16 01:33:41 +01:00 committed by drfrag
parent fd955249fd
commit 2dd03270b2
2 changed files with 6 additions and 6 deletions

View file

@ -502,10 +502,10 @@ void JitCompiler::SetupFrame()
cc.cmp(numargs, sfunc->NumArgs);
cc.jne(slowinit);
SetupSimpleFrame(vmstack);
SetupSimpleFrame();
cc.jmp(endinit);
cc.bind(slowinit);
SetupSimpleFrameMissingArgs(vmstack); // Does this ever happen?
SetupSimpleFrameMissingArgs(); // Does this ever happen?
cc.bind(endinit);
}
else
@ -514,7 +514,7 @@ void JitCompiler::SetupFrame()
}
}
void JitCompiler::SetupSimpleFrame(asmjit::X86Mem vmstack)
void JitCompiler::SetupSimpleFrame()
{
using namespace asmjit;
@ -569,7 +569,7 @@ void JitCompiler::SetupSimpleFrame(asmjit::X86Mem vmstack)
cc.xor_(regA[i], regA[i]);
}
void JitCompiler::SetupSimpleFrameMissingArgs(asmjit::X86Mem vmstack)
void JitCompiler::SetupSimpleFrameMissingArgs()
{
using namespace asmjit;

View file

@ -42,8 +42,8 @@ private:
void CreateRegisters();
void IncrementVMCalls();
void SetupFrame();
void SetupSimpleFrame(asmjit::X86Mem vmstack);
void SetupSimpleFrameMissingArgs(asmjit::X86Mem vmstack);
void SetupSimpleFrame();
void SetupSimpleFrameMissingArgs();
void SetupFullVMFrame();
void BindLabels();
void EmitOpcode();