diff --git a/src/scripting/vm/jit_call.cpp b/src/scripting/vm/jit_call.cpp index 79409ccd48..d1a10d82cd 100644 --- a/src/scripting/vm/jit_call.cpp +++ b/src/scripting/vm/jit_call.cpp @@ -106,6 +106,13 @@ void JitCompiler::EmitPARAMI() 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() { EmitDoCall(regA[A]); diff --git a/src/scripting/vm/jit_flow.cpp b/src/scripting/vm/jit_flow.cpp index b999409886..cbe2e93bda 100644 --- a/src/scripting/vm/jit_flow.cpp +++ b/src/scripting/vm/jit_flow.cpp @@ -85,13 +85,6 @@ void JitCompiler::EmitSCOPE() 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() { using namespace asmjit;