Add meta opcode.
This commit is contained in:
@@ -419,5 +419,10 @@ OP_CODE_DECL (reg_var_decl, T_IDX_IDX,
|
|||||||
min,
|
min,
|
||||||
max)
|
max)
|
||||||
|
|
||||||
|
/** meta */
|
||||||
|
OP_CODE_DECL (meta, T_IDX_IDX_IDX,
|
||||||
|
type,
|
||||||
|
data_1,
|
||||||
|
data_2)
|
||||||
|
|
||||||
#endif /* OPCODE_STRUCTURES_H */
|
#endif /* OPCODE_STRUCTURES_H */
|
||||||
|
|||||||
@@ -451,6 +451,7 @@ do_number_bitwise_logic (struct __int_data *int_data, /**< interpreter context *
|
|||||||
op (b_shift_uright) \
|
op (b_shift_uright) \
|
||||||
op (instanceof) \
|
op (instanceof) \
|
||||||
op (in) \
|
op (in) \
|
||||||
|
op (meta) \
|
||||||
static char __unused unimplemented_list_end
|
static char __unused unimplemented_list_end
|
||||||
|
|
||||||
#define DEFINE_UNIMPLEMENTED_OP(op) \
|
#define DEFINE_UNIMPLEMENTED_OP(op) \
|
||||||
@@ -2059,3 +2060,4 @@ GETOP_IMPL_2 (typeof, lhs, obj)
|
|||||||
GETOP_IMPL_1 (with, expr)
|
GETOP_IMPL_1 (with, expr)
|
||||||
GETOP_IMPL_0 (end_with)
|
GETOP_IMPL_0 (end_with)
|
||||||
GETOP_IMPL_2 (reg_var_decl, min, max)
|
GETOP_IMPL_2 (reg_var_decl, min, max)
|
||||||
|
GETOP_IMPL_3 (meta, type, data_1, data_2)
|
||||||
|
|||||||
@@ -131,7 +131,8 @@ ecma_completion_value_t (*opfunc) (OPCODE, struct __int_data *);
|
|||||||
OP_UNCONDITIONAL_JUMPS (op) \
|
OP_UNCONDITIONAL_JUMPS (op) \
|
||||||
OP_UNARY_OPS (op) \
|
OP_UNARY_OPS (op) \
|
||||||
op (var_decl) \
|
op (var_decl) \
|
||||||
op (reg_var_decl)
|
op (reg_var_decl)\
|
||||||
|
op (meta)
|
||||||
|
|
||||||
#include "opcode-structures.h"
|
#include "opcode-structures.h"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user