OLD | NEW |
1 # | 1 # |
2 # Autogenerated by generate-bytecode-expectations. | 2 # Autogenerated by generate-bytecode-expectations. |
3 # | 3 # |
4 | 4 |
5 --- | 5 --- |
6 pool type: mixed | |
7 execute: yes | 6 execute: yes |
8 wrap: yes | 7 wrap: yes |
9 | 8 |
10 --- | 9 --- |
11 snippet: " | 10 snippet: " |
12 for (var p in null) {} | 11 for (var p in null) {} |
13 " | 12 " |
14 frame size: 2 | 13 frame size: 2 |
15 parameter count: 1 | 14 parameter count: 1 |
16 bytecode array length: 3 | 15 bytecode array length: 3 |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 B(Star), R(2), | 84 B(Star), R(2), |
86 /* 73 S> */ B(Nop), | 85 /* 73 S> */ B(Nop), |
87 /* 85 S> */ B(Return), | 86 /* 85 S> */ B(Return), |
88 B(ForInStep), R(7), | 87 B(ForInStep), R(7), |
89 B(Star), R(7), | 88 B(Star), R(7), |
90 B(Jump), U8(-23), | 89 B(Jump), U8(-23), |
91 B(LdaUndefined), | 90 B(LdaUndefined), |
92 /* 85 S> */ B(Return), | 91 /* 85 S> */ B(Return), |
93 ] | 92 ] |
94 constant pool: [ | 93 constant pool: [ |
95 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 94 ONE_BYTE_INTERNALIZED_STRING_TYPE ["potatoes"], |
96 ] | 95 ] |
97 handlers: [ | 96 handlers: [ |
98 ] | 97 ] |
99 | 98 |
100 --- | 99 --- |
101 snippet: " | 100 snippet: " |
102 var x = 0; | 101 var x = 0; |
103 for (var p in [1,2,3]) { x += p; } | 102 for (var p in [1,2,3]) { x += p; } |
104 " | 103 " |
105 frame size: 9 | 104 frame size: 9 |
(...skipping 21 matching lines...) Expand all Loading... |
127 /* 75 E> */ B(Add), R(0), U8(1), | 126 /* 75 E> */ B(Add), R(0), U8(1), |
128 B(Mov), R(0), R(8), | 127 B(Mov), R(0), R(8), |
129 B(Star), R(0), | 128 B(Star), R(0), |
130 /* 72 E> */ B(ForInStep), R(7), | 129 /* 72 E> */ B(ForInStep), R(7), |
131 B(Star), R(7), | 130 B(Star), R(7), |
132 B(Jump), U8(-31), | 131 B(Jump), U8(-31), |
133 B(LdaUndefined), | 132 B(LdaUndefined), |
134 /* 80 S> */ B(Return), | 133 /* 80 S> */ B(Return), |
135 ] | 134 ] |
136 constant pool: [ | 135 constant pool: [ |
137 InstanceType::FIXED_ARRAY_TYPE, | 136 FIXED_ARRAY_TYPE, |
138 ] | 137 ] |
139 handlers: [ | 138 handlers: [ |
140 ] | 139 ] |
141 | 140 |
142 --- | 141 --- |
143 snippet: " | 142 snippet: " |
144 var x = { 'a': 1, 'b': 2 }; | 143 var x = { 'a': 1, 'b': 2 }; |
145 for (x['a'] in [10, 20, 30]) { | 144 for (x['a'] in [10, 20, 30]) { |
146 if (x['a'] == 10) continue; | 145 if (x['a'] == 10) continue; |
147 if (x['a'] == 20) break; | 146 if (x['a'] == 20) break; |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
180 /* 136 E> */ B(TestEqual), R(7), U8(8), | 179 /* 136 E> */ B(TestEqual), R(7), U8(8), |
181 B(JumpIfFalse), U8(4), | 180 B(JumpIfFalse), U8(4), |
182 /* 143 S> */ B(Jump), U8(8), | 181 /* 143 S> */ B(Jump), U8(8), |
183 B(ForInStep), R(5), | 182 B(ForInStep), R(5), |
184 B(Star), R(5), | 183 B(Star), R(5), |
185 B(Jump), U8(-53), | 184 B(Jump), U8(-53), |
186 B(LdaUndefined), | 185 B(LdaUndefined), |
187 /* 152 S> */ B(Return), | 186 /* 152 S> */ B(Return), |
188 ] | 187 ] |
189 constant pool: [ | 188 constant pool: [ |
190 InstanceType::FIXED_ARRAY_TYPE, | 189 FIXED_ARRAY_TYPE, |
191 InstanceType::FIXED_ARRAY_TYPE, | 190 FIXED_ARRAY_TYPE, |
192 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 191 ONE_BYTE_INTERNALIZED_STRING_TYPE ["a"], |
193 ] | 192 ] |
194 handlers: [ | 193 handlers: [ |
195 ] | 194 ] |
196 | 195 |
197 --- | 196 --- |
198 snippet: " | 197 snippet: " |
199 var x = [ 10, 11, 12 ] ; | 198 var x = [ 10, 11, 12 ] ; |
200 for (x[0] in [1,2,3]) { return x[3]; } | 199 for (x[0] in [1,2,3]) { return x[3]; } |
201 " | 200 " |
202 frame size: 9 | 201 frame size: 9 |
(...skipping 23 matching lines...) Expand all Loading... |
226 /* 83 S> */ B(LdaSmi), U8(3), | 225 /* 83 S> */ B(LdaSmi), U8(3), |
227 /* 91 E> */ B(LdaKeyedProperty), R(0), U8(3), | 226 /* 91 E> */ B(LdaKeyedProperty), R(0), U8(3), |
228 /* 98 S> */ B(Return), | 227 /* 98 S> */ B(Return), |
229 B(ForInStep), R(5), | 228 B(ForInStep), R(5), |
230 B(Star), R(5), | 229 B(Star), R(5), |
231 B(Jump), U8(-34), | 230 B(Jump), U8(-34), |
232 B(LdaUndefined), | 231 B(LdaUndefined), |
233 /* 98 S> */ B(Return), | 232 /* 98 S> */ B(Return), |
234 ] | 233 ] |
235 constant pool: [ | 234 constant pool: [ |
236 InstanceType::FIXED_ARRAY_TYPE, | 235 FIXED_ARRAY_TYPE, |
237 InstanceType::FIXED_ARRAY_TYPE, | 236 FIXED_ARRAY_TYPE, |
238 ] | 237 ] |
239 handlers: [ | 238 handlers: [ |
240 ] | 239 ] |
241 | 240 |
OLD | NEW |