mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
naming
change enum to OP_JMPIFNOTSTRING (same name as others doing similar for different types) place case with other ifnot statements
This commit is contained in:
parent
54d0da6690
commit
fed83cdb8f
|
|
@ -1145,6 +1145,14 @@ Con::EvalResult CodeBlock::exec(U32 ip, const char* functionName, Namespace* thi
|
|||
break;
|
||||
}
|
||||
|
||||
ip = code[ip];
|
||||
break;
|
||||
case OP_JMPNOTSTRING:
|
||||
if (stack[_STK--].getBool())
|
||||
{
|
||||
ip++;
|
||||
break;
|
||||
}
|
||||
ip = code[ip];
|
||||
break;
|
||||
case OP_JMPIFF:
|
||||
|
|
@ -1163,14 +1171,6 @@ Con::EvalResult CodeBlock::exec(U32 ip, const char* functionName, Namespace* thi
|
|||
}
|
||||
ip = code[ip];
|
||||
break;
|
||||
case OP_JMPSTRING:
|
||||
if (stack[_STK--].getBool())
|
||||
{
|
||||
ip++;
|
||||
break;
|
||||
}
|
||||
ip = code[ip];
|
||||
break;
|
||||
case OP_JMPIFNOT_NP:
|
||||
if (stack[_STK].getInt())
|
||||
{
|
||||
|
|
|
|||
|
|
@ -62,9 +62,9 @@ namespace Compiler
|
|||
|
||||
OP_JMPIFFNOT,
|
||||
OP_JMPIFNOT,
|
||||
OP_JMPNOTSTRING,
|
||||
OP_JMPIFF,
|
||||
OP_JMPIF,
|
||||
OP_JMPSTRING,
|
||||
OP_JMPIFNOT_NP,
|
||||
OP_JMPIF_NP, // 10
|
||||
OP_JMP,
|
||||
|
|
|
|||
Loading…
Reference in a new issue