- move EmitRESULT to jit_call

This commit is contained in:
Magnus Norddahl 2018-09-13 02:56:02 +02:00
parent fad8c9c7b4
commit b92e5fbf2a
2 changed files with 7 additions and 7 deletions

View file

@ -106,6 +106,13 @@ void JitCompiler::EmitPARAMI()
cc.mov(asmjit::x86::byte_ptr(params, index * sizeof(VMValue) + offsetof(VMValue, Type)), (int)REGT_INT); cc.mov(asmjit::x86::byte_ptr(params, index * sizeof(VMValue) + offsetof(VMValue, Type)), (int)REGT_INT);
} }
void JitCompiler::EmitRESULT()
{
// This instruction is just a placeholder to indicate where a return
// value should be stored. It does nothing on its own and should not
// be executed.
}
void JitCompiler::EmitCALL() void JitCompiler::EmitCALL()
{ {
EmitDoCall(regA[A]); EmitDoCall(regA[A]);

View file

@ -85,13 +85,6 @@ void JitCompiler::EmitSCOPE()
cc.bind(notzero); cc.bind(notzero);
} }
void JitCompiler::EmitRESULT()
{
// This instruction is just a placeholder to indicate where a return
// value should be stored. It does nothing on its own and should not
// be executed.
}
void JitCompiler::EmitRET() void JitCompiler::EmitRET()
{ {
using namespace asmjit; using namespace asmjit;