- construct our own runtime as the one provided by asmjit is too primitive
This commit is contained in:
parent
300553a21f
commit
cf9bae67a8
5 changed files with 136 additions and 61 deletions
|
|
@ -79,12 +79,6 @@ VMScriptFunction::VMScriptFunction(FName name)
|
|||
|
||||
VMScriptFunction::~VMScriptFunction()
|
||||
{
|
||||
if (FunctionJitted)
|
||||
{
|
||||
JitCleanUp(this);
|
||||
FunctionJitted = false;
|
||||
}
|
||||
|
||||
if (Code != NULL)
|
||||
{
|
||||
if (KonstS != NULL)
|
||||
|
|
@ -220,8 +214,6 @@ int VMScriptFunction::FirstScriptCall(VMFunction *func, VMValue *params, int num
|
|||
sfunc->ScriptCall = JitCompile(sfunc);
|
||||
if (!sfunc->ScriptCall)
|
||||
sfunc->ScriptCall = VMExec;
|
||||
else
|
||||
sfunc->FunctionJitted = true;
|
||||
|
||||
return func->ScriptCall(func, params, numparams, ret, numret);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue