Adding 'func_expr_n' opcode; replacing arg1 and arg2 of 'func_decl_n' opcode with arg_list.
This commit is contained in:
@@ -120,6 +120,7 @@ free_string_literal_copy (string_literal_copy *str_lit_descr_p) /**< string lite
|
||||
op (call_n) \
|
||||
op (native_call) \
|
||||
op (func_decl_n) \
|
||||
op (func_expr_n) \
|
||||
op (varg_list) \
|
||||
op (construct_n) \
|
||||
op (array_decl) \
|
||||
|
||||
@@ -62,13 +62,14 @@ typedef struct
|
||||
#define OP_CALLS_AND_ARGS(p, a) \
|
||||
p##_2 (a, call_0, lhs, name_lit_idx) \
|
||||
p##_3 (a, call_1, lhs, name_lit_idx, arg1_lit_idx) \
|
||||
p##_3 (a, call_n, lhs, name_lit_idx, arg1_lit_idx) \
|
||||
p##_3 (a, call_n, lhs, name_lit_idx, arg_list) \
|
||||
p##_3 (a, native_call, lhs, name, arg_list) \
|
||||
p##_3 (a, construct_n, lhs, name_lit_idx, arg_list) \
|
||||
p##_1 (a, func_decl_0, name_lit_idx) \
|
||||
p##_2 (a, func_decl_1, name_lit_idx, arg1_lit_idx) \
|
||||
p##_3 (a, func_decl_2, name_lit_idx, arg1_lit_idx, arg2_lit_idx) \
|
||||
p##_3 (a, func_decl_n, name_lit_idx, arg1_lit_idx, arg2_lit_idx) \
|
||||
p##_2 (a, func_decl_n, name_lit_idx, arg_list) \
|
||||
p##_3 (a, func_expr_n, lhs, name_lit_idx, arg_list) \
|
||||
p##_3 (a, varg_list, arg1_lit_idx, arg2_lit_idx, arg3_lit_idx) \
|
||||
p##_1 (a, exitval, status_code) \
|
||||
p##_1 (a, retval, ret_value) \
|
||||
|
||||
Reference in New Issue
Block a user