Implementing 'func_decl_n' and 'func_call_n' opcodes' handlers.

This commit is contained in:
Ruben Ayrapetyan
2014-08-26 17:30:23 +04:00
parent 02f31fbcfb
commit 9573b7234d
2 changed files with 182 additions and 2 deletions
+8
View File
@@ -47,6 +47,14 @@ typedef enum
OPCODE_ARG_TYPE_VARIABLE /**< index of variable name */
} opcode_arg_type_operand;
/**
* Types of data in 'meta' opcode.
*/
typedef enum
{
OPCODE_META_TYPE_THIS_ARG /**< value of this used during call */
} opcode_meta_type;
typedef struct
{
opcode_counter_t pos; /**< current opcode to execute */