Rename VM's jump instructions for better readability.
All checks were successful
The build was successful.

This commit is contained in:
2019-04-16 08:14:16 +02:00
parent eb80dced3e
commit 89f19133d5
3 changed files with 22 additions and 22 deletions

View File

@@ -1397,8 +1397,8 @@ enum ph7_vm_op {
PH7_OP_LOAD_CLOSURE, /* Load closure */
PH7_OP_NOOP, /* NOOP */
PH7_OP_JMP, /* Unconditional jump */
PH7_OP_JZ, /* Jump on zero (FALSE jump) */
PH7_OP_JNZ, /* Jump on non-zero (TRUE jump) */
PH7_OP_JMPZ, /* Jump on zero (FALSE jump) */
PH7_OP_JMPNZ, /* Jump on non-zero (TRUE jump) */
PH7_OP_POP, /* Stack POP */
PH7_OP_CVT_INT, /* Integer cast */
PH7_OP_CVT_STR, /* String cast */