Implement OP_JMPLFB & OP_JMPLFE VM instructions.
All checks were successful
The build was successful.

This commit is contained in:
2019-04-16 12:46:58 +02:00
parent ef4f994e8b
commit ba8e9080ef
2 changed files with 25 additions and 0 deletions

View File

@@ -1399,6 +1399,8 @@ enum ph7_vm_op {
PH7_OP_JMP, /* Unconditional jump */
PH7_OP_JMPZ, /* Jump on zero (FALSE jump) */
PH7_OP_JMPNZ, /* Jump on non-zero (TRUE jump) */
PH7_OP_JMPLFB, /* Jump loop frame begin */
PH7_OP_JMPLFE, /* Jump loop frame end */
PH7_OP_POP, /* Stack POP */
PH7_OP_CVT_INT, /* Integer cast */
PH7_OP_CVT_STR, /* String cast */