From be4b2176084950284b510aaf16daaba886227546 Mon Sep 17 00:00:00 2001 From: Magnus Norddahl Date: Fri, 23 Nov 2018 04:50:01 +0100 Subject: [PATCH] - fix typo --- src/scripting/vm/jit_call.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scripting/vm/jit_call.cpp b/src/scripting/vm/jit_call.cpp index 2cd32e8f0..5e07a8d31 100644 --- a/src/scripting/vm/jit_call.cpp +++ b/src/scripting/vm/jit_call.cpp @@ -326,7 +326,7 @@ void JitCompiler::EmitNativeCall(VMNativeFunction *target) { using namespace asmjit; - auto call = cc.call(imm_ptr(target->NativeCall), CreateFuncSignature(target)); + auto call = cc.call(imm_ptr(target->DirectNativeCall), CreateFuncSignature(target)); if ((pc - 1)->op == OP_VTBL) { @@ -510,7 +510,7 @@ asmjit::FuncSignature JitCompiler::CreateFuncSignature(VMFunction *func) } } - // FuncSignature only keeps a pointer to its args array. Keep a copy of each args array variant. + // FuncSignature only keeps a pointer to its args array. Store a copy of each args array variant. static std::map>> argsCache; std::unique_ptr> &cachedArgs = argsCache[key]; if (!cachedArgs) cachedArgs.reset(new TArray(args));