Separate VM instruction for variable declaration (OP_DECLARE).
All checks were successful
The build was successful.

This commit is contained in:
2019-04-15 19:18:29 +02:00
parent 1b248a17e7
commit 517dffcbc1
3 changed files with 38 additions and 1 deletions

View File

@@ -1389,6 +1389,7 @@ enum iErrCode {
enum ph7_vm_op {
PH7_OP_DONE = 1, /* Done */
PH7_OP_HALT, /* Halt */
PH7_OP_DECLARE, /* Declare a variable */
PH7_OP_LOAD, /* Load memory object */
PH7_OP_LOADC, /* Load constant */
PH7_OP_LOAD_IDX, /* Load array entry */