Implementing 'obj_decl' opcode; replacing 'prop', 'prop_get_decl', 'prop_set_decl' with 'meta' opcodes of corresponding types.
This commit is contained in:
@@ -421,10 +421,7 @@ pp_opcode (opcode_counter_t oc, opcode_t opcode, bool is_rewrite)
|
||||
CASE_VARG_1_LHS (array_decl, lhs, "=", "[", list, "]")
|
||||
TODO (Refine to match new opcodes)
|
||||
CASE_VARG_0_LHS (obj_decl, lhs, "=", "{", "}")
|
||||
CASE_TRIPLE_ADDRESS (prop, lhs, "=", name, ":", value)
|
||||
CASE_VARG_1_NAME_LHS (prop_getter, lhs, "=", "", obj, "[", prop, "]")
|
||||
CASE_VARG_0_NAME_LHS (prop_get_decl, lhs, "=", "get", prop, "[", "]")
|
||||
CASE_VARG_1_NAME_LHS (prop_set_decl, lhs, "=", "set", prop, "[", arg, "]")
|
||||
CASE_THIS (this, lhs, "=", "this")
|
||||
CASE_DOUBLE_ADDRESS (delete_var, lhs, "=", "delete", name)
|
||||
CASE_TRIPLE_ADDRESS (delete_prop, lhs, "= delete", base, ".", name)
|
||||
|
||||
Reference in New Issue
Block a user