OLD | NEW |
1 # | 1 # |
2 # Autogenerated by generate-bytecode-expectations. | 2 # Autogenerated by generate-bytecode-expectations. |
3 # | 3 # |
4 | 4 |
5 --- | 5 --- |
6 execute: yes | 6 execute: yes |
7 wrap: yes | 7 wrap: yes |
8 | 8 |
9 --- | 9 --- |
10 snippet: " | 10 snippet: " |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 ] | 139 ] |
140 | 140 |
141 --- | 141 --- |
142 snippet: " | 142 snippet: " |
143 var x = { 'a': 1, 'b': 2 }; | 143 var x = { 'a': 1, 'b': 2 }; |
144 for (x['a'] in [10, 20, 30]) { | 144 for (x['a'] in [10, 20, 30]) { |
145 if (x['a'] == 10) continue; | 145 if (x['a'] == 10) continue; |
146 if (x['a'] == 20) break; | 146 if (x['a'] == 20) break; |
147 } | 147 } |
148 " | 148 " |
149 frame size: 8 | 149 frame size: 7 |
150 parameter count: 1 | 150 parameter count: 1 |
151 bytecode array length: 83 | 151 bytecode array length: 83 |
152 bytecodes: [ | 152 bytecodes: [ |
153 /* 30 E> */ B(StackCheck), | 153 /* 30 E> */ B(StackCheck), |
154 /* 42 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), R(1), | 154 /* 42 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), R(1), |
155 B(Mov), R(1), R(0), | 155 B(Mov), R(1), R(0), |
156 /* 77 S> */ B(CreateArrayLiteral), U8(1), U8(1), U8(9), | 156 /* 77 S> */ B(CreateArrayLiteral), U8(1), U8(1), U8(9), |
157 B(JumpIfUndefined), U8(68), | 157 B(JumpIfUndefined), U8(68), |
158 B(JumpIfNull), U8(66), | 158 B(JumpIfNull), U8(66), |
159 B(ToObject), R(1), | 159 B(ToObject), R(1), |
160 B(ForInPrepare), R(1), R(2), | 160 B(ForInPrepare), R(1), R(2), |
161 B(LdaZero), | 161 B(LdaZero), |
162 B(Star), R(5), | 162 B(Star), R(5), |
163 /* 68 S> */ B(ForInContinue), R(5), R(4), | 163 /* 68 S> */ B(ForInContinue), R(5), R(4), |
164 B(JumpIfFalse), U8(53), | 164 B(JumpIfFalse), U8(53), |
165 B(ForInNext), R(1), R(5), R(2), U8(12), | 165 B(ForInNext), R(1), R(5), R(2), U8(12), |
166 B(JumpIfUndefined), U8(39), | 166 B(JumpIfUndefined), U8(39), |
167 B(Star), R(6), | 167 B(Star), R(6), |
168 /* 67 E> */ B(StaNamedPropertySloppy), R(0), U8(2), U8(10), | 168 /* 67 E> */ B(StaNamedPropertySloppy), R(0), U8(2), U8(10), |
169 /* 62 E> */ B(StackCheck), | 169 /* 62 E> */ B(StackCheck), |
170 /* 95 S> */ B(Nop), | 170 /* 95 S> */ B(Nop), |
171 /* 100 E> */ B(LdrNamedProperty), R(0), U8(2), U8(4), R(7), | 171 /* 100 E> */ B(LdrNamedProperty), R(0), U8(2), U8(4), R(6), |
172 B(LdaSmi), U8(10), | 172 B(LdaSmi), U8(10), |
173 /* 106 E> */ B(TestEqual), R(7), U8(6), | 173 /* 106 E> */ B(TestEqual), R(6), U8(6), |
174 B(JumpIfFalse), U8(4), | 174 B(JumpIfFalse), U8(4), |
175 /* 113 S> */ B(Jump), U8(17), | 175 /* 113 S> */ B(Jump), U8(17), |
176 /* 125 S> */ B(Nop), | 176 /* 125 S> */ B(Nop), |
177 /* 130 E> */ B(LdrNamedProperty), R(0), U8(2), U8(7), R(7), | 177 /* 130 E> */ B(LdrNamedProperty), R(0), U8(2), U8(7), R(6), |
178 B(LdaSmi), U8(20), | 178 B(LdaSmi), U8(20), |
179 /* 136 E> */ B(TestEqual), R(7), U8(9), | 179 /* 136 E> */ B(TestEqual), R(6), U8(9), |
180 B(JumpIfFalse), U8(4), | 180 B(JumpIfFalse), U8(4), |
181 /* 143 S> */ B(Jump), U8(9), | 181 /* 143 S> */ B(Jump), U8(9), |
182 B(ForInStep), R(5), | 182 B(ForInStep), R(5), |
183 B(Star), R(5), | 183 B(Star), R(5), |
184 B(JumpLoop), U8(-53), U8(0), | 184 B(JumpLoop), U8(-53), U8(0), |
185 B(LdaUndefined), | 185 B(LdaUndefined), |
186 /* 152 S> */ B(Return), | 186 /* 152 S> */ B(Return), |
187 ] | 187 ] |
188 constant pool: [ | 188 constant pool: [ |
189 FIXED_ARRAY_TYPE, | 189 FIXED_ARRAY_TYPE, |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
231 B(LdaUndefined), | 231 B(LdaUndefined), |
232 /* 98 S> */ B(Return), | 232 /* 98 S> */ B(Return), |
233 ] | 233 ] |
234 constant pool: [ | 234 constant pool: [ |
235 FIXED_ARRAY_TYPE, | 235 FIXED_ARRAY_TYPE, |
236 FIXED_ARRAY_TYPE, | 236 FIXED_ARRAY_TYPE, |
237 ] | 237 ] |
238 handlers: [ | 238 handlers: [ |
239 ] | 239 ] |
240 | 240 |
OLD | NEW |