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 | 6 pool type: mixed |
7 execute: yes | 7 execute: yes |
8 wrap: yes | 8 wrap: yes |
9 | 9 |
10 --- | 10 --- |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 while (x < 10) { | 58 while (x < 10) { |
59 y = y * 12; | 59 y = y * 12; |
60 x = x + 1; | 60 x = x + 1; |
61 if (x == 3) continue; | 61 if (x == 3) continue; |
62 if (x == 4) break; | 62 if (x == 4) break; |
63 } | 63 } |
64 return y; | 64 return y; |
65 " | 65 " |
66 frame size: 2 | 66 frame size: 2 |
67 parameter count: 1 | 67 parameter count: 1 |
68 bytecode array length: 47 | 68 bytecode array length: 48 |
69 bytecodes: [ | 69 bytecodes: [ |
70 /* 30 E> */ B(StackCheck), | 70 /* 30 E> */ B(StackCheck), |
71 /* 42 S> */ B(LdaZero), | 71 /* 42 S> */ B(LdaZero), |
72 B(Star), R(0), | 72 B(Star), R(0), |
73 /* 53 S> */ B(LdaSmi), U8(1), | 73 /* 53 S> */ B(LdaSmi), U8(1), |
74 B(Star), R(1), | 74 B(Star), R(1), |
75 /* 65 S> */ B(LdaSmi), U8(10), | 75 /* 65 S> */ B(LdaSmi), U8(10), |
76 /* 65 E> */ B(TestLessThan), R(0), | 76 /* 65 E> */ B(TestLessThan), R(0), |
77 B(JumpIfFalse), U8(32), | 77 B(JumpIfFalse), U8(33), |
78 /* 56 E> */ B(StackCheck), | 78 /* 56 E> */ B(StackCheck), |
79 /* 75 S> */ B(LdaSmi), U8(12), | 79 /* 75 S> */ B(LdaSmi), U8(12), |
80 B(Mul), R(1), | 80 B(Mul), R(1), U8(1), |
81 B(Star), R(1), | 81 B(Star), R(1), |
82 /* 89 S> */ B(AddSmi), U8(1), R(0), | 82 /* 89 S> */ B(AddSmi), U8(1), R(0), |
83 B(Star), R(0), | 83 B(Star), R(0), |
84 /* 102 S> */ B(LdaSmi), U8(3), | 84 /* 102 S> */ B(LdaSmi), U8(3), |
85 /* 108 E> */ B(TestEqual), R(0), | 85 /* 108 E> */ B(TestEqual), R(0), |
86 B(JumpIfFalse), U8(4), | 86 B(JumpIfFalse), U8(4), |
87 /* 114 S> */ B(Jump), U8(10), | 87 /* 114 S> */ B(Jump), U8(10), |
88 /* 126 S> */ B(LdaSmi), U8(4), | 88 /* 126 S> */ B(LdaSmi), U8(4), |
89 /* 132 E> */ B(TestEqual), R(0), | 89 /* 132 E> */ B(TestEqual), R(0), |
90 B(JumpIfFalse), U8(4), | 90 B(JumpIfFalse), U8(4), |
91 /* 138 S> */ B(Jump), U8(4), | 91 /* 138 S> */ B(Jump), U8(4), |
92 B(Jump), U8(-34), | 92 B(Jump), U8(-35), |
93 /* 147 S> */ B(Ldar), R(1), | 93 /* 147 S> */ B(Ldar), R(1), |
94 /* 157 S> */ B(Return), | 94 /* 157 S> */ B(Return), |
95 ] | 95 ] |
96 constant pool: [ | 96 constant pool: [ |
97 ] | 97 ] |
98 handlers: [ | 98 handlers: [ |
99 ] | 99 ] |
100 | 100 |
101 --- | 101 --- |
102 snippet: " | 102 snippet: " |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 var x = 10; | 199 var x = 10; |
200 var y = 1; | 200 var y = 1; |
201 while (x) { | 201 while (x) { |
202 y = y * 12; | 202 y = y * 12; |
203 x = x - 1; | 203 x = x - 1; |
204 } | 204 } |
205 return y; | 205 return y; |
206 " | 206 " |
207 frame size: 2 | 207 frame size: 2 |
208 parameter count: 1 | 208 parameter count: 1 |
209 bytecode array length: 30 | 209 bytecode array length: 31 |
210 bytecodes: [ | 210 bytecodes: [ |
211 /* 30 E> */ B(StackCheck), | 211 /* 30 E> */ B(StackCheck), |
212 /* 42 S> */ B(LdaSmi), U8(10), | 212 /* 42 S> */ B(LdaSmi), U8(10), |
213 B(Star), R(0), | 213 B(Star), R(0), |
214 /* 54 S> */ B(LdaSmi), U8(1), | 214 /* 54 S> */ B(LdaSmi), U8(1), |
215 B(Star), R(1), | 215 B(Star), R(1), |
216 /* 64 S> */ B(Ldar), R(0), | 216 /* 64 S> */ B(Ldar), R(0), |
217 B(JumpIfToBooleanFalse), U8(16), | 217 B(JumpIfToBooleanFalse), U8(17), |
218 /* 57 E> */ B(StackCheck), | 218 /* 57 E> */ B(StackCheck), |
219 /* 71 S> */ B(LdaSmi), U8(12), | 219 /* 71 S> */ B(LdaSmi), U8(12), |
220 B(Mul), R(1), | 220 B(Mul), R(1), U8(1), |
221 B(Star), R(1), | 221 B(Star), R(1), |
222 /* 85 S> */ B(SubSmi), U8(1), R(0), | 222 /* 85 S> */ B(SubSmi), U8(1), R(0), |
223 B(Star), R(0), | 223 B(Star), R(0), |
224 B(Jump), U8(-16), | 224 B(Jump), U8(-17), |
225 /* 98 S> */ B(Ldar), R(1), | 225 /* 98 S> */ B(Ldar), R(1), |
226 /* 108 S> */ B(Return), | 226 /* 108 S> */ B(Return), |
227 ] | 227 ] |
228 constant pool: [ | 228 constant pool: [ |
229 ] | 229 ] |
230 handlers: [ | 230 handlers: [ |
231 ] | 231 ] |
232 | 232 |
233 --- | 233 --- |
234 snippet: " | 234 snippet: " |
235 var x = 0; var y = 1; | 235 var x = 0; var y = 1; |
236 do { | 236 do { |
237 y = y * 10; | 237 y = y * 10; |
238 if (x == 5) break; | 238 if (x == 5) break; |
239 if (x == 6) continue; | 239 if (x == 6) continue; |
240 x = x + 1; | 240 x = x + 1; |
241 } while (x < 10); | 241 } while (x < 10); |
242 return y; | 242 return y; |
243 " | 243 " |
244 frame size: 2 | 244 frame size: 2 |
245 parameter count: 1 | 245 parameter count: 1 |
246 bytecode array length: 45 | 246 bytecode array length: 46 |
247 bytecodes: [ | 247 bytecodes: [ |
248 /* 30 E> */ B(StackCheck), | 248 /* 30 E> */ B(StackCheck), |
249 /* 42 S> */ B(LdaZero), | 249 /* 42 S> */ B(LdaZero), |
250 B(Star), R(0), | 250 B(Star), R(0), |
251 /* 53 S> */ B(LdaSmi), U8(1), | 251 /* 53 S> */ B(LdaSmi), U8(1), |
252 B(Star), R(1), | 252 B(Star), R(1), |
253 /* 56 E> */ B(StackCheck), | 253 /* 56 E> */ B(StackCheck), |
254 /* 63 S> */ B(LdaSmi), U8(10), | 254 /* 63 S> */ B(LdaSmi), U8(10), |
255 B(Mul), R(1), | 255 B(Mul), R(1), U8(1), |
256 B(Star), R(1), | 256 B(Star), R(1), |
257 /* 77 S> */ B(LdaSmi), U8(5), | 257 /* 77 S> */ B(LdaSmi), U8(5), |
258 /* 83 E> */ B(TestEqual), R(0), | 258 /* 83 E> */ B(TestEqual), R(0), |
259 B(JumpIfFalse), U8(4), | 259 B(JumpIfFalse), U8(4), |
260 /* 89 S> */ B(Jump), U8(21), | 260 /* 89 S> */ B(Jump), U8(21), |
261 /* 98 S> */ B(LdaSmi), U8(6), | 261 /* 98 S> */ B(LdaSmi), U8(6), |
262 /* 104 E> */ B(TestEqual), R(0), | 262 /* 104 E> */ B(TestEqual), R(0), |
263 B(JumpIfFalse), U8(4), | 263 B(JumpIfFalse), U8(4), |
264 /* 110 S> */ B(Jump), U8(7), | 264 /* 110 S> */ B(Jump), U8(7), |
265 /* 122 S> */ B(AddSmi), U8(1), R(0), | 265 /* 122 S> */ B(AddSmi), U8(1), R(0), |
266 B(Star), R(0), | 266 B(Star), R(0), |
267 /* 144 S> */ B(LdaSmi), U8(10), | 267 /* 144 S> */ B(LdaSmi), U8(10), |
268 /* 144 E> */ B(TestLessThan), R(0), | 268 /* 144 E> */ B(TestLessThan), R(0), |
269 B(JumpIfTrue), U8(-32), | 269 B(JumpIfTrue), U8(-33), |
270 /* 151 S> */ B(Ldar), R(1), | 270 /* 151 S> */ B(Ldar), R(1), |
271 /* 161 S> */ B(Return), | 271 /* 161 S> */ B(Return), |
272 ] | 272 ] |
273 constant pool: [ | 273 constant pool: [ |
274 ] | 274 ] |
275 handlers: [ | 275 handlers: [ |
276 ] | 276 ] |
277 | 277 |
278 --- | 278 --- |
279 snippet: " | 279 snippet: " |
280 var x = 10; | 280 var x = 10; |
281 var y = 1; | 281 var y = 1; |
282 do { | 282 do { |
283 y = y * 12; | 283 y = y * 12; |
284 x = x - 1; | 284 x = x - 1; |
285 } while (x); | 285 } while (x); |
286 return y; | 286 return y; |
287 " | 287 " |
288 frame size: 2 | 288 frame size: 2 |
289 parameter count: 1 | 289 parameter count: 1 |
290 bytecode array length: 28 | 290 bytecode array length: 29 |
291 bytecodes: [ | 291 bytecodes: [ |
292 /* 30 E> */ B(StackCheck), | 292 /* 30 E> */ B(StackCheck), |
293 /* 42 S> */ B(LdaSmi), U8(10), | 293 /* 42 S> */ B(LdaSmi), U8(10), |
294 B(Star), R(0), | 294 B(Star), R(0), |
295 /* 54 S> */ B(LdaSmi), U8(1), | 295 /* 54 S> */ B(LdaSmi), U8(1), |
296 B(Star), R(1), | 296 B(Star), R(1), |
297 /* 57 E> */ B(StackCheck), | 297 /* 57 E> */ B(StackCheck), |
298 /* 64 S> */ B(LdaSmi), U8(12), | 298 /* 64 S> */ B(LdaSmi), U8(12), |
299 B(Mul), R(1), | 299 B(Mul), R(1), U8(1), |
300 B(Star), R(1), | 300 B(Star), R(1), |
301 /* 78 S> */ B(SubSmi), U8(1), R(0), | 301 /* 78 S> */ B(SubSmi), U8(1), R(0), |
302 B(Star), R(0), | 302 B(Star), R(0), |
303 /* 98 S> */ B(Ldar), R(0), | 303 /* 98 S> */ B(Ldar), R(0), |
304 B(JumpIfToBooleanTrue), U8(-14), | 304 B(JumpIfToBooleanTrue), U8(-15), |
305 /* 102 S> */ B(Ldar), R(1), | 305 /* 102 S> */ B(Ldar), R(1), |
306 /* 112 S> */ B(Return), | 306 /* 112 S> */ B(Return), |
307 ] | 307 ] |
308 constant pool: [ | 308 constant pool: [ |
309 ] | 309 ] |
310 handlers: [ | 310 handlers: [ |
311 ] | 311 ] |
312 | 312 |
313 --- | 313 --- |
314 snippet: " | 314 snippet: " |
315 var x = 0; var y = 1; | 315 var x = 0; var y = 1; |
316 do { | 316 do { |
317 y = y * 10; | 317 y = y * 10; |
318 if (x == 5) break; | 318 if (x == 5) break; |
319 x = x + 1; | 319 x = x + 1; |
320 if (x == 6) continue; | 320 if (x == 6) continue; |
321 } while (false); | 321 } while (false); |
322 return y; | 322 return y; |
323 " | 323 " |
324 frame size: 2 | 324 frame size: 2 |
325 parameter count: 1 | 325 parameter count: 1 |
326 bytecode array length: 39 | 326 bytecode array length: 40 |
327 bytecodes: [ | 327 bytecodes: [ |
328 /* 30 E> */ B(StackCheck), | 328 /* 30 E> */ B(StackCheck), |
329 /* 42 S> */ B(LdaZero), | 329 /* 42 S> */ B(LdaZero), |
330 B(Star), R(0), | 330 B(Star), R(0), |
331 /* 53 S> */ B(LdaSmi), U8(1), | 331 /* 53 S> */ B(LdaSmi), U8(1), |
332 B(Star), R(1), | 332 B(Star), R(1), |
333 /* 56 E> */ B(StackCheck), | 333 /* 56 E> */ B(StackCheck), |
334 /* 63 S> */ B(LdaSmi), U8(10), | 334 /* 63 S> */ B(LdaSmi), U8(10), |
335 B(Mul), R(1), | 335 B(Mul), R(1), U8(1), |
336 B(Star), R(1), | 336 B(Star), R(1), |
337 /* 77 S> */ B(LdaSmi), U8(5), | 337 /* 77 S> */ B(LdaSmi), U8(5), |
338 /* 83 E> */ B(TestEqual), R(0), | 338 /* 83 E> */ B(TestEqual), R(0), |
339 B(JumpIfFalse), U8(4), | 339 B(JumpIfFalse), U8(4), |
340 /* 89 S> */ B(Jump), U8(15), | 340 /* 89 S> */ B(Jump), U8(15), |
341 /* 98 S> */ B(AddSmi), U8(1), R(0), | 341 /* 98 S> */ B(AddSmi), U8(1), R(0), |
342 B(Star), R(0), | 342 B(Star), R(0), |
343 /* 111 S> */ B(LdaSmi), U8(6), | 343 /* 111 S> */ B(LdaSmi), U8(6), |
344 /* 117 E> */ B(TestEqual), R(0), | 344 /* 117 E> */ B(TestEqual), R(0), |
345 B(JumpIfFalse), U8(4), | 345 B(JumpIfFalse), U8(4), |
(...skipping 12 matching lines...) Expand all Loading... |
358 do { | 358 do { |
359 y = y * 10; | 359 y = y * 10; |
360 if (x == 5) break; | 360 if (x == 5) break; |
361 x = x + 1; | 361 x = x + 1; |
362 if (x == 6) continue; | 362 if (x == 6) continue; |
363 } while (true); | 363 } while (true); |
364 return y; | 364 return y; |
365 " | 365 " |
366 frame size: 2 | 366 frame size: 2 |
367 parameter count: 1 | 367 parameter count: 1 |
368 bytecode array length: 41 | 368 bytecode array length: 42 |
369 bytecodes: [ | 369 bytecodes: [ |
370 /* 30 E> */ B(StackCheck), | 370 /* 30 E> */ B(StackCheck), |
371 /* 42 S> */ B(LdaZero), | 371 /* 42 S> */ B(LdaZero), |
372 B(Star), R(0), | 372 B(Star), R(0), |
373 /* 53 S> */ B(LdaSmi), U8(1), | 373 /* 53 S> */ B(LdaSmi), U8(1), |
374 B(Star), R(1), | 374 B(Star), R(1), |
375 /* 56 E> */ B(StackCheck), | 375 /* 56 E> */ B(StackCheck), |
376 /* 63 S> */ B(LdaSmi), U8(10), | 376 /* 63 S> */ B(LdaSmi), U8(10), |
377 B(Mul), R(1), | 377 B(Mul), R(1), U8(1), |
378 B(Star), R(1), | 378 B(Star), R(1), |
379 /* 77 S> */ B(LdaSmi), U8(5), | 379 /* 77 S> */ B(LdaSmi), U8(5), |
380 /* 83 E> */ B(TestEqual), R(0), | 380 /* 83 E> */ B(TestEqual), R(0), |
381 B(JumpIfFalse), U8(4), | 381 B(JumpIfFalse), U8(4), |
382 /* 89 S> */ B(Jump), U8(17), | 382 /* 89 S> */ B(Jump), U8(17), |
383 /* 98 S> */ B(AddSmi), U8(1), R(0), | 383 /* 98 S> */ B(AddSmi), U8(1), R(0), |
384 B(Star), R(0), | 384 B(Star), R(0), |
385 /* 111 S> */ B(LdaSmi), U8(6), | 385 /* 111 S> */ B(LdaSmi), U8(6), |
386 /* 117 E> */ B(TestEqual), R(0), | 386 /* 117 E> */ B(TestEqual), R(0), |
387 B(JumpIfFalse), U8(4), | 387 B(JumpIfFalse), U8(4), |
388 /* 123 S> */ B(Jump), U8(2), | 388 /* 123 S> */ B(Jump), U8(2), |
389 B(Jump), U8(-28), | 389 B(Jump), U8(-29), |
390 /* 149 S> */ B(Ldar), R(1), | 390 /* 149 S> */ B(Ldar), R(1), |
391 /* 159 S> */ B(Return), | 391 /* 159 S> */ B(Return), |
392 ] | 392 ] |
393 constant pool: [ | 393 constant pool: [ |
394 ] | 394 ] |
395 handlers: [ | 395 handlers: [ |
396 ] | 396 ] |
397 | 397 |
398 --- | 398 --- |
399 snippet: " | 399 snippet: " |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
573 --- | 573 --- |
574 snippet: " | 574 snippet: " |
575 var y = 1; | 575 var y = 1; |
576 for (var x = 10; x; --x) { | 576 for (var x = 10; x; --x) { |
577 y = y * 12; | 577 y = y * 12; |
578 } | 578 } |
579 return y; | 579 return y; |
580 " | 580 " |
581 frame size: 2 | 581 frame size: 2 |
582 parameter count: 1 | 582 parameter count: 1 |
583 bytecode array length: 30 | 583 bytecode array length: 32 |
584 bytecodes: [ | 584 bytecodes: [ |
585 /* 30 E> */ B(StackCheck), | 585 /* 30 E> */ B(StackCheck), |
586 /* 42 S> */ B(LdaSmi), U8(1), | 586 /* 42 S> */ B(LdaSmi), U8(1), |
587 B(Star), R(0), | 587 B(Star), R(0), |
588 /* 58 S> */ B(LdaSmi), U8(10), | 588 /* 58 S> */ B(LdaSmi), U8(10), |
589 B(Star), R(1), | 589 B(Star), R(1), |
590 /* 62 S> */ B(Ldar), R(1), | 590 /* 62 S> */ B(Ldar), R(1), |
591 B(JumpIfToBooleanFalse), U8(16), | 591 B(JumpIfToBooleanFalse), U8(18), |
592 /* 45 E> */ B(StackCheck), | 592 /* 45 E> */ B(StackCheck), |
593 /* 74 S> */ B(LdaSmi), U8(12), | 593 /* 74 S> */ B(LdaSmi), U8(12), |
594 B(Mul), R(0), | 594 B(Mul), R(0), U8(2), |
595 B(Star), R(0), | 595 B(Star), R(0), |
596 /* 67 S> */ B(Ldar), R(1), | 596 /* 67 S> */ B(Ldar), R(1), |
597 B(Dec), | 597 B(Dec), U8(1), |
598 B(Star), R(1), | 598 B(Star), R(1), |
599 B(Jump), U8(-16), | 599 B(Jump), U8(-18), |
600 /* 88 S> */ B(Ldar), R(0), | 600 /* 88 S> */ B(Ldar), R(0), |
601 /* 98 S> */ B(Return), | 601 /* 98 S> */ B(Return), |
602 ] | 602 ] |
603 constant pool: [ | 603 constant pool: [ |
604 ] | 604 ] |
605 handlers: [ | 605 handlers: [ |
606 ] | 606 ] |
607 | 607 |
608 --- | 608 --- |
609 snippet: " | 609 snippet: " |
(...skipping 24 matching lines...) Expand all Loading... |
634 snippet: " | 634 snippet: " |
635 var x = 0; | 635 var x = 0; |
636 for (var i = 0; true; ++i) { | 636 for (var i = 0; true; ++i) { |
637 x = x + 1; | 637 x = x + 1; |
638 if (x == 20) break; | 638 if (x == 20) break; |
639 }; | 639 }; |
640 return x; | 640 return x; |
641 " | 641 " |
642 frame size: 2 | 642 frame size: 2 |
643 parameter count: 1 | 643 parameter count: 1 |
644 bytecode array length: 31 | 644 bytecode array length: 32 |
645 bytecodes: [ | 645 bytecodes: [ |
646 /* 30 E> */ B(StackCheck), | 646 /* 30 E> */ B(StackCheck), |
647 /* 42 S> */ B(LdaZero), | 647 /* 42 S> */ B(LdaZero), |
648 B(Star), R(0), | 648 B(Star), R(0), |
649 /* 58 S> */ B(LdaZero), | 649 /* 58 S> */ B(LdaZero), |
650 B(Star), R(1), | 650 B(Star), R(1), |
651 /* 45 E> */ B(StackCheck), | 651 /* 45 E> */ B(StackCheck), |
652 /* 76 S> */ B(AddSmi), U8(1), R(0), | 652 /* 76 S> */ B(AddSmi), U8(1), R(0), |
653 B(Star), R(0), | 653 B(Star), R(0), |
654 /* 89 S> */ B(LdaSmi), U8(20), | 654 /* 89 S> */ B(LdaSmi), U8(20), |
655 /* 95 E> */ B(TestEqual), R(0), | 655 /* 95 E> */ B(TestEqual), R(0), |
656 B(JumpIfFalse), U8(4), | 656 B(JumpIfFalse), U8(4), |
657 /* 102 S> */ B(Jump), U8(9), | 657 /* 102 S> */ B(Jump), U8(10), |
658 /* 69 S> */ B(Ldar), R(1), | 658 /* 69 S> */ B(Ldar), R(1), |
659 B(Inc), | 659 B(Inc), U8(1), |
660 B(Star), R(1), | 660 B(Star), R(1), |
661 B(Jump), U8(-19), | 661 B(Jump), U8(-20), |
662 /* 112 S> */ B(Ldar), R(0), | 662 /* 112 S> */ B(Ldar), R(0), |
663 /* 122 S> */ B(Return), | 663 /* 122 S> */ B(Return), |
664 ] | 664 ] |
665 constant pool: [ | 665 constant pool: [ |
666 ] | 666 ] |
667 handlers: [ | 667 handlers: [ |
668 ] | 668 ] |
669 | 669 |
670 --- | 670 --- |
671 snippet: " | 671 snippet: " |
672 var a = 0; | 672 var a = 0; |
673 while (a) { | 673 while (a) { |
674 { | 674 { |
675 let z = 1; | 675 let z = 1; |
676 function f() { z = 2; } | 676 function f() { z = 2; } |
677 if (z) continue; | 677 if (z) continue; |
678 z++; | 678 z++; |
679 } | 679 } |
680 } | 680 } |
681 " | 681 " |
682 frame size: 6 | 682 frame size: 6 |
683 parameter count: 1 | 683 parameter count: 1 |
684 bytecode array length: 104 | 684 bytecode array length: 105 |
685 bytecodes: [ | 685 bytecodes: [ |
686 /* 30 E> */ B(StackCheck), | 686 /* 30 E> */ B(StackCheck), |
687 /* 42 S> */ B(LdaZero), | 687 /* 42 S> */ B(LdaZero), |
688 B(Star), R(1), | 688 B(Star), R(1), |
689 /* 52 S> */ B(Ldar), R(1), | 689 /* 52 S> */ B(Ldar), R(1), |
690 B(JumpIfToBooleanFalse), U8(96), | 690 B(JumpIfToBooleanFalse), U8(97), |
691 /* 45 E> */ B(StackCheck), | 691 /* 45 E> */ B(StackCheck), |
692 B(LdaConstant), U8(0), | 692 B(LdaConstant), U8(0), |
693 B(Star), R(4), | 693 B(Star), R(4), |
694 B(Mov), R(closure), R(5), | 694 B(Mov), R(closure), R(5), |
695 B(CallRuntime), U16(Runtime::kPushBlockContext), R(4), U8(2), | 695 B(CallRuntime), U16(Runtime::kPushBlockContext), R(4), U8(2), |
696 B(PushContext), R(3), | 696 B(PushContext), R(3), |
697 B(LdaTheHole), | 697 B(LdaTheHole), |
698 B(StaContextSlot), R(context), U8(4), | 698 B(StaContextSlot), R(context), U8(4), |
699 B(CreateClosure), U8(1), U8(2), | 699 B(CreateClosure), U8(1), U8(2), |
700 B(Star), R(0), | 700 B(Star), R(0), |
701 /* 73 S> */ B(LdaSmi), U8(1), | 701 /* 73 S> */ B(LdaSmi), U8(1), |
702 /* 73 E> */ B(StaContextSlot), R(context), U8(4), | 702 /* 73 E> */ B(StaContextSlot), R(context), U8(4), |
703 B(Mov), R(0), R(2), | 703 B(Mov), R(0), R(2), |
704 /* 106 S> */ B(LdaContextSlot), R(context), U8(4), | 704 /* 106 S> */ B(LdaContextSlot), R(context), U8(4), |
705 B(JumpIfNotHole), U8(11), | 705 B(JumpIfNotHole), U8(11), |
706 B(LdaConstant), U8(2), | 706 B(LdaConstant), U8(2), |
707 B(Star), R(4), | 707 B(Star), R(4), |
708 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(4), U8(1), | 708 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(4), U8(1), |
709 B(JumpIfToBooleanFalse), U8(8), | 709 B(JumpIfToBooleanFalse), U8(8), |
710 /* 113 S> */ B(PopContext), R(3), | 710 /* 113 S> */ B(PopContext), R(3), |
711 B(PopContext), R(3), | 711 B(PopContext), R(3), |
712 B(Jump), U8(40), | 712 B(Jump), U8(41), |
713 /* 126 S> */ B(LdaContextSlot), R(context), U8(4), | 713 /* 126 S> */ B(LdaContextSlot), R(context), U8(4), |
714 B(JumpIfNotHole), U8(11), | 714 B(JumpIfNotHole), U8(11), |
715 B(LdaConstant), U8(2), | 715 B(LdaConstant), U8(2), |
716 B(Star), R(4), | 716 B(Star), R(4), |
717 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(4), U8(1), | 717 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(4), U8(1), |
718 B(Inc), | 718 B(Inc), U8(1), |
719 B(Star), R(4), | 719 B(Star), R(4), |
720 /* 127 E> */ B(LdaContextSlot), R(context), U8(4), | 720 /* 127 E> */ B(LdaContextSlot), R(context), U8(4), |
721 B(JumpIfNotHole), U8(11), | 721 B(JumpIfNotHole), U8(11), |
722 B(LdaConstant), U8(2), | 722 B(LdaConstant), U8(2), |
723 B(Star), R(5), | 723 B(Star), R(5), |
724 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(5), U8(1), | 724 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(5), U8(1), |
725 B(Ldar), R(4), | 725 B(Ldar), R(4), |
726 B(StaContextSlot), R(context), U8(4), | 726 B(StaContextSlot), R(context), U8(4), |
727 B(PopContext), R(3), | 727 B(PopContext), R(3), |
728 B(Jump), U8(-96), | 728 B(Jump), U8(-97), |
729 B(LdaUndefined), | 729 B(LdaUndefined), |
730 /* 137 S> */ B(Return), | 730 /* 137 S> */ B(Return), |
731 ] | 731 ] |
732 constant pool: [ | 732 constant pool: [ |
733 InstanceType::FIXED_ARRAY_TYPE, | 733 InstanceType::FIXED_ARRAY_TYPE, |
734 InstanceType::SHARED_FUNCTION_INFO_TYPE, | 734 InstanceType::SHARED_FUNCTION_INFO_TYPE, |
735 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 735 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
736 ] | 736 ] |
737 handlers: [ | 737 handlers: [ |
738 ] | 738 ] |
739 | 739 |
OLD | NEW |