- remove unused argument

This commit is contained in:
Magnus Norddahl 2018-11-16 01:33:41 +01:00
parent 34b037c9db
commit ac28f0d34f
2 changed files with 6 additions and 6 deletions

View file

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

View file

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