- added string PARAM and RET
This commit is contained in:
parent
d09a377f12
commit
11fbd9a0a4
7 changed files with 64 additions and 40 deletions
|
|
@ -169,8 +169,6 @@ bool JitCompiler::CanJit(VMScriptFunction *sfunc)
|
|||
if (B != REGT_NIL)
|
||||
{
|
||||
int regtype = B;
|
||||
if ((regtype & REGT_TYPE) == REGT_STRING)
|
||||
return false;
|
||||
}
|
||||
}
|
||||
else if (sfunc->Code[i].op == OP_CAST)
|
||||
|
|
@ -198,10 +196,6 @@ bool JitCompiler::CanJit(VMScriptFunction *sfunc)
|
|||
|
||||
switch (B)
|
||||
{
|
||||
case REGT_STRING:
|
||||
case REGT_STRING | REGT_ADDROF:
|
||||
case REGT_STRING | REGT_KONST:
|
||||
return false;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
@ -210,9 +204,6 @@ bool JitCompiler::CanJit(VMScriptFunction *sfunc)
|
|||
{
|
||||
if (!!(B & REGT_MULTIREG3) || !!(B & REGT_MULTIREG2))
|
||||
return false;
|
||||
|
||||
if ((B & REGT_TYPE) == REGT_STRING)
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue