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 for (var p in null) {} | 10 for (var p in null) {} |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 /* 75 E> */ B(Add), R(0), U8(3), | 125 /* 75 E> */ B(Add), R(0), U8(3), |
126 B(Mov), R(0), R(8), | 126 B(Mov), R(0), R(8), |
127 B(Star), R(0), | 127 B(Star), R(0), |
128 /* 72 E> */ B(ForInStep), R(7), | 128 /* 72 E> */ B(ForInStep), R(7), |
129 B(Star), R(7), | 129 B(Star), R(7), |
130 B(JumpLoop), U8(31), I8(0), | 130 B(JumpLoop), U8(31), I8(0), |
131 B(LdaUndefined), | 131 B(LdaUndefined), |
132 /* 80 S> */ B(Return), | 132 /* 80 S> */ B(Return), |
133 ] | 133 ] |
134 constant pool: [ | 134 constant pool: [ |
135 CONSTANT_ELEMENTS_PAIR_TYPE, | 135 TUPLE2_TYPE, |
136 ] | 136 ] |
137 handlers: [ | 137 handlers: [ |
138 ] | 138 ] |
139 | 139 |
140 --- | 140 --- |
141 snippet: " | 141 snippet: " |
142 var x = { 'a': 1, 'b': 2 }; | 142 var x = { 'a': 1, 'b': 2 }; |
143 for (x['a'] in [10, 20, 30]) { | 143 for (x['a'] in [10, 20, 30]) { |
144 if (x['a'] == 10) continue; | 144 if (x['a'] == 10) continue; |
145 if (x['a'] == 20) break; | 145 if (x['a'] == 20) break; |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
182 B(JumpIfFalse), U8(4), | 182 B(JumpIfFalse), U8(4), |
183 /* 143 S> */ B(Jump), U8(9), | 183 /* 143 S> */ B(Jump), U8(9), |
184 B(ForInStep), R(5), | 184 B(ForInStep), R(5), |
185 B(Star), R(5), | 185 B(Star), R(5), |
186 B(JumpLoop), U8(57), I8(0), | 186 B(JumpLoop), U8(57), I8(0), |
187 B(LdaUndefined), | 187 B(LdaUndefined), |
188 /* 152 S> */ B(Return), | 188 /* 152 S> */ B(Return), |
189 ] | 189 ] |
190 constant pool: [ | 190 constant pool: [ |
191 FIXED_ARRAY_TYPE, | 191 FIXED_ARRAY_TYPE, |
192 CONSTANT_ELEMENTS_PAIR_TYPE, | 192 TUPLE2_TYPE, |
193 ONE_BYTE_INTERNALIZED_STRING_TYPE ["a"], | 193 ONE_BYTE_INTERNALIZED_STRING_TYPE ["a"], |
194 ] | 194 ] |
195 handlers: [ | 195 handlers: [ |
196 ] | 196 ] |
197 | 197 |
198 --- | 198 --- |
199 snippet: " | 199 snippet: " |
200 var x = [ 10, 11, 12 ] ; | 200 var x = [ 10, 11, 12 ] ; |
201 for (x[0] in [1,2,3]) { return x[3]; } | 201 for (x[0] in [1,2,3]) { return x[3]; } |
202 " | 202 " |
(...skipping 24 matching lines...) Expand all Loading... |
227 /* 83 S> */ B(LdaSmi), I8(3), | 227 /* 83 S> */ B(LdaSmi), I8(3), |
228 /* 91 E> */ B(LdaKeyedProperty), R(0), U8(6), | 228 /* 91 E> */ B(LdaKeyedProperty), R(0), U8(6), |
229 /* 98 S> */ B(Return), | 229 /* 98 S> */ B(Return), |
230 B(ForInStep), R(5), | 230 B(ForInStep), R(5), |
231 B(Star), R(5), | 231 B(Star), R(5), |
232 B(JumpLoop), U8(34), I8(0), | 232 B(JumpLoop), U8(34), I8(0), |
233 B(LdaUndefined), | 233 B(LdaUndefined), |
234 /* 98 S> */ B(Return), | 234 /* 98 S> */ B(Return), |
235 ] | 235 ] |
236 constant pool: [ | 236 constant pool: [ |
237 CONSTANT_ELEMENTS_PAIR_TYPE, | 237 TUPLE2_TYPE, |
238 CONSTANT_ELEMENTS_PAIR_TYPE, | 238 TUPLE2_TYPE, |
239 ] | 239 ] |
240 handlers: [ | 240 handlers: [ |
241 ] | 241 ] |
242 | 242 |
OLD | NEW |