__opcode -> opcode_t

This commit is contained in:
e.gavrin
2014-08-23 02:01:56 +04:00
parent a99907670b
commit 4ffbdd2c3f
10 changed files with 65 additions and 64 deletions
+3 -3
View File
@@ -57,7 +57,7 @@ typedef struct
idx_t min_reg_num; /**< minimum idx used for register identification */
idx_t max_reg_num; /**< maximum idx used for register identification */
ecma_value_t *regs_p; /**< register variables */
} __int_data;
} int_data_t;
#define OP_CALLS_AND_ARGS(p, a) \
p##_2 (a, call_0, lhs, name_lit_idx) \
@@ -206,11 +206,11 @@ enum __opcode_idx
};
#undef __OP_ENUM_FIELD
#define __OP_FUNC_DECL(name, arg1, arg2, arg3) ecma_completion_value_t opfunc_##name (opcode_t, __int_data*);
#define __OP_FUNC_DECL(name, arg1, arg2, arg3) ecma_completion_value_t opfunc_##name (opcode_t, int_data_t*);
OP_LIST (OP_FUNC_DECL)
#undef __OP_FUNC_DECL
typedef ecma_completion_value_t (*opfunc) (opcode_t, __int_data *);
typedef ecma_completion_value_t (*opfunc) (opcode_t, int_data_t *);
#define GETOP_DECL_0(a, name) \
opcode_t getop_##name (void);