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 of [0, 1, 2]) {} | 11 for (var p of [0, 1, 2]) {} |
13 " | 12 " |
14 frame size: 15 | 13 frame size: 15 |
15 parameter count: 1 | 14 parameter count: 1 |
16 bytecode array length: 277 | 15 bytecode array length: 277 |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 B(LdaZero), | 118 B(LdaZero), |
120 B(TestEqualStrict), R(9), U8(0), | 119 B(TestEqualStrict), R(9), U8(0), |
121 B(JumpIfTrue), U8(4), | 120 B(JumpIfTrue), U8(4), |
122 B(Jump), U8(5), | 121 B(Jump), U8(5), |
123 B(Ldar), R(10), | 122 B(Ldar), R(10), |
124 B(ReThrow), | 123 B(ReThrow), |
125 B(LdaUndefined), | 124 B(LdaUndefined), |
126 /* 62 S> */ B(Return), | 125 /* 62 S> */ B(Return), |
127 ] | 126 ] |
128 constant pool: [ | 127 constant pool: [ |
129 InstanceType::FIXED_ARRAY_TYPE, | 128 FIXED_ARRAY_TYPE, |
130 InstanceType::SYMBOL_TYPE, | 129 SYMBOL_TYPE, |
131 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 130 ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"], |
132 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 131 ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"], |
133 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 132 ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"], |
134 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 133 ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"], |
135 InstanceType::FIXED_ARRAY_TYPE, | 134 FIXED_ARRAY_TYPE, |
136 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 135 ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"], |
137 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 136 ONE_BYTE_INTERNALIZED_STRING_TYPE ["function"], |
138 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 137 ONE_BYTE_INTERNALIZED_STRING_TYPE [""], |
139 InstanceType::FIXED_ARRAY_TYPE, | 138 FIXED_ARRAY_TYPE, |
140 ] | 139 ] |
141 handlers: [ | 140 handlers: [ |
142 [7, 116, 122], | 141 [7, 116, 122], |
143 [10, 80, 82], | 142 [10, 80, 82], |
144 [199, 209, 211], | 143 [199, 209, 211], |
145 ] | 144 ] |
146 | 145 |
147 --- | 146 --- |
148 snippet: " | 147 snippet: " |
149 var x = 'potatoes'; | 148 var x = 'potatoes'; |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
263 B(JumpIfTrue), U8(7), | 262 B(JumpIfTrue), U8(7), |
264 B(Jump), U8(8), | 263 B(Jump), U8(8), |
265 B(Ldar), R(11), | 264 B(Ldar), R(11), |
266 /* 85 S> */ B(Return), | 265 /* 85 S> */ B(Return), |
267 B(Ldar), R(11), | 266 B(Ldar), R(11), |
268 B(ReThrow), | 267 B(ReThrow), |
269 B(LdaUndefined), | 268 B(LdaUndefined), |
270 /* 85 S> */ B(Return), | 269 /* 85 S> */ B(Return), |
271 ] | 270 ] |
272 constant pool: [ | 271 constant pool: [ |
273 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 272 ONE_BYTE_INTERNALIZED_STRING_TYPE ["potatoes"], |
274 InstanceType::SYMBOL_TYPE, | 273 SYMBOL_TYPE, |
275 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 274 ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"], |
276 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 275 ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"], |
277 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 276 ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"], |
278 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 277 ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"], |
279 InstanceType::FIXED_ARRAY_TYPE, | 278 FIXED_ARRAY_TYPE, |
280 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 279 ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"], |
281 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 280 ONE_BYTE_INTERNALIZED_STRING_TYPE ["function"], |
282 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 281 ONE_BYTE_INTERNALIZED_STRING_TYPE [""], |
283 InstanceType::FIXED_ARRAY_TYPE, | 282 FIXED_ARRAY_TYPE, |
284 ] | 283 ] |
285 handlers: [ | 284 handlers: [ |
286 [11, 117, 123], | 285 [11, 117, 123], |
287 [14, 81, 83], | 286 [14, 81, 83], |
288 [201, 211, 213], | 287 [201, 211, 213], |
289 ] | 288 ] |
290 | 289 |
291 --- | 290 --- |
292 snippet: " | 291 snippet: " |
293 for (var x of [10, 20, 30]) { | 292 for (var x of [10, 20, 30]) { |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
411 B(LdaZero), | 410 B(LdaZero), |
412 B(TestEqualStrict), R(9), U8(0), | 411 B(TestEqualStrict), R(9), U8(0), |
413 B(JumpIfTrue), U8(4), | 412 B(JumpIfTrue), U8(4), |
414 B(Jump), U8(5), | 413 B(Jump), U8(5), |
415 B(Ldar), R(10), | 414 B(Ldar), R(10), |
416 B(ReThrow), | 415 B(ReThrow), |
417 B(LdaUndefined), | 416 B(LdaUndefined), |
418 /* 113 S> */ B(Return), | 417 /* 113 S> */ B(Return), |
419 ] | 418 ] |
420 constant pool: [ | 419 constant pool: [ |
421 InstanceType::FIXED_ARRAY_TYPE, | 420 FIXED_ARRAY_TYPE, |
422 InstanceType::SYMBOL_TYPE, | 421 SYMBOL_TYPE, |
423 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 422 ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"], |
424 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 423 ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"], |
425 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 424 ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"], |
426 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 425 ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"], |
427 InstanceType::FIXED_ARRAY_TYPE, | 426 FIXED_ARRAY_TYPE, |
428 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 427 ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"], |
429 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 428 ONE_BYTE_INTERNALIZED_STRING_TYPE ["function"], |
430 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 429 ONE_BYTE_INTERNALIZED_STRING_TYPE [""], |
431 InstanceType::FIXED_ARRAY_TYPE, | 430 FIXED_ARRAY_TYPE, |
432 ] | 431 ] |
433 handlers: [ | 432 handlers: [ |
434 [7, 134, 140], | 433 [7, 134, 140], |
435 [10, 98, 100], | 434 [10, 98, 100], |
436 [217, 227, 229], | 435 [217, 227, 229], |
437 ] | 436 ] |
438 | 437 |
439 --- | 438 --- |
440 snippet: " | 439 snippet: " |
441 var x = { 'a': 1, 'b': 2 }; | 440 var x = { 'a': 1, 'b': 2 }; |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
558 B(JumpIfTrue), U8(7), | 557 B(JumpIfTrue), U8(7), |
559 B(Jump), U8(8), | 558 B(Jump), U8(8), |
560 B(Ldar), R(9), | 559 B(Ldar), R(9), |
561 /* 105 S> */ B(Return), | 560 /* 105 S> */ B(Return), |
562 B(Ldar), R(9), | 561 B(Ldar), R(9), |
563 B(ReThrow), | 562 B(ReThrow), |
564 B(LdaUndefined), | 563 B(LdaUndefined), |
565 /* 105 S> */ B(Return), | 564 /* 105 S> */ B(Return), |
566 ] | 565 ] |
567 constant pool: [ | 566 constant pool: [ |
568 InstanceType::FIXED_ARRAY_TYPE, | 567 FIXED_ARRAY_TYPE, |
569 InstanceType::FIXED_ARRAY_TYPE, | 568 FIXED_ARRAY_TYPE, |
570 InstanceType::SYMBOL_TYPE, | 569 SYMBOL_TYPE, |
571 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 570 ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"], |
572 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 571 ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"], |
573 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 572 ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"], |
574 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 573 ONE_BYTE_INTERNALIZED_STRING_TYPE ["a"], |
575 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 574 ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"], |
576 InstanceType::FIXED_ARRAY_TYPE, | 575 FIXED_ARRAY_TYPE, |
577 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 576 ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"], |
578 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 577 ONE_BYTE_INTERNALIZED_STRING_TYPE ["function"], |
579 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 578 ONE_BYTE_INTERNALIZED_STRING_TYPE [""], |
580 InstanceType::FIXED_ARRAY_TYPE, | 579 FIXED_ARRAY_TYPE, |
581 ] | 580 ] |
582 handlers: [ | 581 handlers: [ |
583 [15, 130, 136], | 582 [15, 130, 136], |
584 [18, 94, 96], | 583 [18, 94, 96], |
585 [214, 224, 226], | 584 [214, 224, 226], |
586 ] | 585 ] |
587 | 586 |
OLD | NEW |