Splitting 'delete' opcode to 'delete_var' and 'delete_prop'. Implementing corresponding opcode handlers.

This commit is contained in:
Ruben Ayrapetyan
2014-08-27 17:12:59 +04:00
parent 05185bb2e9
commit 76121926d1
5 changed files with 131 additions and 5 deletions
+2 -1
View File
@@ -92,7 +92,8 @@ typedef struct
p##_3 (a, prop_set_decl, lhs, prop, arg) \
p##_2 (a, obj_decl, lhs, list) \
p##_1 (a, this, lhs) \
p##_2 (a, delete, lhs, obj) \
p##_2 (a, delete_var, lhs, name) \
p##_3 (a, delete_prop, lhs, base, name) \
p##_2 (a, typeof, lhs, obj) \
p##_1 (a, with, expr) \
p##_0 (a, end_with)