OLD | NEW |
1 # | 1 # |
2 # Autogenerated by generate-bytecode-expectations. | 2 # Autogenerated by generate-bytecode-expectations. |
3 # | 3 # |
4 | 4 |
5 --- | 5 --- |
6 wrap: yes | 6 wrap: yes |
7 | 7 |
8 --- | 8 --- |
9 snippet: " | 9 snippet: " |
10 var a = {x:13, y:14}; return delete a.x; | 10 var a = {x:13, y:14}; return delete a.x; |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 | 91 |
92 --- | 92 --- |
93 snippet: " | 93 snippet: " |
94 'use strict'; | 94 'use strict'; |
95 var a = {1:10}; | 95 var a = {1:10}; |
96 (function f1() {return a;}); | 96 (function f1() {return a;}); |
97 return delete a[1]; | 97 return delete a[1]; |
98 " | 98 " |
99 frame size: 2 | 99 frame size: 2 |
100 parameter count: 1 | 100 parameter count: 1 |
101 bytecode array length: 29 | 101 bytecode array length: 25 |
102 bytecodes: [ | 102 bytecodes: [ |
103 B(CreateFunctionContext), U8(1), | 103 B(CreateFunctionContext), U8(1), |
104 B(PushContext), R(0), | 104 B(PushContext), R(0), |
105 /* 30 E> */ B(StackCheck), | 105 /* 30 E> */ B(StackCheck), |
106 /* 56 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), R(1), | 106 /* 56 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), R(1), |
107 B(Ldar), R(1), | 107 B(Ldar), R(1), |
108 /* 56 E> */ B(StaContextSlot), R(context), U8(4), U8(0), | 108 /* 56 E> */ B(StaCurrentContextSlot), U8(4), |
109 /* 64 S> */ B(CreateClosure), U8(1), U8(2), | 109 /* 64 S> */ B(CreateClosure), U8(1), U8(2), |
110 /* 93 S> */ B(LdrContextSlot), R(context), U8(4), U8(0), R(1), | 110 /* 93 S> */ B(LdrCurrentContextSlot), U8(4), R(1), |
111 B(LdaSmi), U8(1), | 111 B(LdaSmi), U8(1), |
112 B(DeletePropertyStrict), R(1), | 112 B(DeletePropertyStrict), R(1), |
113 /* 113 S> */ B(Return), | 113 /* 113 S> */ B(Return), |
114 ] | 114 ] |
115 constant pool: [ | 115 constant pool: [ |
116 FIXED_ARRAY_TYPE, | 116 FIXED_ARRAY_TYPE, |
117 SHARED_FUNCTION_INFO_TYPE, | 117 SHARED_FUNCTION_INFO_TYPE, |
118 ] | 118 ] |
119 handlers: [ | 119 handlers: [ |
120 ] | 120 ] |
121 | 121 |
122 --- | 122 --- |
123 snippet: " | 123 snippet: " |
124 return delete 'test'; | 124 return delete 'test'; |
125 " | 125 " |
126 frame size: 0 | 126 frame size: 0 |
127 parameter count: 1 | 127 parameter count: 1 |
128 bytecode array length: 3 | 128 bytecode array length: 3 |
129 bytecodes: [ | 129 bytecodes: [ |
130 /* 30 E> */ B(StackCheck), | 130 /* 30 E> */ B(StackCheck), |
131 /* 34 S> */ B(LdaTrue), | 131 /* 34 S> */ B(LdaTrue), |
132 /* 56 S> */ B(Return), | 132 /* 56 S> */ B(Return), |
133 ] | 133 ] |
134 constant pool: [ | 134 constant pool: [ |
135 ] | 135 ] |
136 handlers: [ | 136 handlers: [ |
137 ] | 137 ] |
138 | 138 |
OLD | NEW |