- implement OP_TAIL and OP_TAIL_K

This commit is contained in:
Magnus Norddahl 2018-09-17 09:02:23 +02:00
commit f61df60240
3 changed files with 49 additions and 12 deletions

View file

@ -146,15 +146,8 @@ bool JitCompiler::CanJit(VMScriptFunction *sfunc)
{
// Functions not implemented at all yet:
switch (sfunc->Code[i].op)
{
default:
break;
case OP_IJMP:
case OP_TAIL:
case OP_TAIL_K:
if (sfunc->Code[i].op == OP_IJMP)
return false;
}
// Partially implemented functions: