TMP: Brain broke, I need a break, don't use this commit
This commit is contained in:
@@ -12,9 +12,9 @@ typedef enum Toy_OpcodeType {
|
||||
TOY_OPCODE_ACCESS,
|
||||
TOY_OPCODE_INVOKE, //for calling functions
|
||||
TOY_OPCODE_ATTRIBUTE, //for accessing parts of compounds
|
||||
TOY_OPCODE_ITERABLE, //for operating on all members of a compound
|
||||
TOY_OPCODE_DUPLICATE, //duplicate the top of the stack
|
||||
TOY_OPCODE_ELIMINATE, //remove the top of the stack
|
||||
TOY_OPCODE_ITERABLE, //for operating on all members of a compound
|
||||
|
||||
//arithmetic instructions
|
||||
TOY_OPCODE_ADD,
|
||||
@@ -67,5 +67,6 @@ typedef enum Toy_OpParamJumpConditional {
|
||||
TOY_OP_PARAM_JUMP_ALWAYS = 0,
|
||||
TOY_OP_PARAM_JUMP_IF_TRUE = 1,
|
||||
TOY_OP_PARAM_JUMP_IF_FALSE = 2,
|
||||
TOY_OP_PARAM_JUMP_IF_NULL = 3,
|
||||
} Toy_OpParamJumpConditional;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user