- create ScriptCall function pointer on VMScriptFunction
This commit is contained in:
parent
137ef034d1
commit
e930dfaae7
5 changed files with 53 additions and 27 deletions
|
|
@ -417,7 +417,8 @@ int JitCompiler::DoCall(VMFrameStack *stack, VMFunction *call, int b, int c, VMV
|
|||
else
|
||||
{
|
||||
VMCalls[0]++;
|
||||
numret = VMExec(static_cast<VMScriptFunction *>(call), param, b, returns, c);
|
||||
auto sfunc = static_cast<VMScriptFunction *>(call);
|
||||
numret = sfunc->ScriptCall(sfunc, param, b, returns, c);
|
||||
}
|
||||
|
||||
return numret;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue