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: " |
11 for (var p of [0, 1, 2]) {} | 11 for (var p of [0, 1, 2]) {} |
12 " | 12 " |
13 frame size: 15 | 13 frame size: 15 |
14 parameter count: 1 | 14 parameter count: 1 |
15 bytecode array length: 279 | 15 bytecode array length: 279 |
16 bytecodes: [ | 16 bytecodes: [ |
17 /* 30 E> */ B(StackCheck), | 17 /* 30 E> */ B(StackCheck), |
18 B(LdaZero), | 18 B(LdaZero), |
19 B(Star), R(4), | 19 B(Star), R(4), |
20 B(Mov), R(context), R(11), | 20 B(Mov), R(context), R(11), |
21 B(Mov), R(context), R(12), | 21 B(Mov), R(context), R(12), |
22 /* 48 S> */ B(CreateArrayLiteral), U8(0), U8(0), U8(1), | 22 /* 48 S> */ B(CreateArrayLiteral), U8(0), U8(0), U8(9), |
23 B(Star), R(14), | 23 B(Star), R(14), |
24 B(LdaConstant), U8(1), | 24 B(LdaConstant), U8(1), |
25 /* 48 E> */ B(LdrKeyedProperty), R(14), U8(4), R(13), | 25 /* 48 E> */ B(LdrKeyedProperty), R(14), U8(4), R(13), |
26 /* 48 E> */ B(Call), R(13), R(14), U8(1), U8(2), | 26 /* 48 E> */ B(Call), R(13), R(14), U8(1), U8(2), |
27 B(Star), R(2), | 27 B(Star), R(2), |
28 /* 45 S> */ B(LdrNamedProperty), R(2), U8(2), U8(8), R(14), | 28 /* 45 S> */ B(LdrNamedProperty), R(2), U8(2), U8(8), R(14), |
29 /* 45 E> */ B(Call), R(14), R(2), U8(1), U8(6), | 29 /* 45 E> */ B(Call), R(14), R(2), U8(1), U8(6), |
30 B(Star), R(3), | 30 B(Star), R(3), |
31 /* 45 E> */ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(3), U8(1), | 31 /* 45 E> */ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(3), U8(1), |
32 B(ToBooleanLogicalNot), | 32 B(ToBooleanLogicalNot), |
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
296 " | 296 " |
297 frame size: 15 | 297 frame size: 15 |
298 parameter count: 1 | 298 parameter count: 1 |
299 bytecode array length: 297 | 299 bytecode array length: 297 |
300 bytecodes: [ | 300 bytecodes: [ |
301 /* 30 E> */ B(StackCheck), | 301 /* 30 E> */ B(StackCheck), |
302 B(LdaZero), | 302 B(LdaZero), |
303 B(Star), R(4), | 303 B(Star), R(4), |
304 B(Mov), R(context), R(11), | 304 B(Mov), R(context), R(11), |
305 B(Mov), R(context), R(12), | 305 B(Mov), R(context), R(12), |
306 /* 48 S> */ B(CreateArrayLiteral), U8(0), U8(0), U8(1), | 306 /* 48 S> */ B(CreateArrayLiteral), U8(0), U8(0), U8(9), |
307 B(Star), R(14), | 307 B(Star), R(14), |
308 B(LdaConstant), U8(1), | 308 B(LdaConstant), U8(1), |
309 /* 48 E> */ B(LdrKeyedProperty), R(14), U8(4), R(13), | 309 /* 48 E> */ B(LdrKeyedProperty), R(14), U8(4), R(13), |
310 /* 48 E> */ B(Call), R(13), R(14), U8(1), U8(2), | 310 /* 48 E> */ B(Call), R(13), R(14), U8(1), U8(2), |
311 B(Star), R(2), | 311 B(Star), R(2), |
312 /* 45 S> */ B(LdrNamedProperty), R(2), U8(2), U8(8), R(14), | 312 /* 45 S> */ B(LdrNamedProperty), R(2), U8(2), U8(8), R(14), |
313 /* 45 E> */ B(Call), R(14), R(2), U8(1), U8(6), | 313 /* 45 E> */ B(Call), R(14), R(2), U8(1), U8(6), |
314 B(Star), R(3), | 314 B(Star), R(3), |
315 /* 45 E> */ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(3), U8(1), | 315 /* 45 E> */ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(3), U8(1), |
316 B(ToBooleanLogicalNot), | 316 B(ToBooleanLogicalNot), |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
444 parameter count: 1 | 444 parameter count: 1 |
445 bytecode array length: 303 | 445 bytecode array length: 303 |
446 bytecodes: [ | 446 bytecodes: [ |
447 /* 30 E> */ B(StackCheck), | 447 /* 30 E> */ B(StackCheck), |
448 /* 42 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), R(8), | 448 /* 42 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), R(8), |
449 B(Mov), R(8), R(0), | 449 B(Mov), R(8), R(0), |
450 B(LdaZero), | 450 B(LdaZero), |
451 B(Star), R(3), | 451 B(Star), R(3), |
452 B(Mov), R(context), R(10), | 452 B(Mov), R(context), R(10), |
453 B(Mov), R(context), R(11), | 453 B(Mov), R(context), R(11), |
454 /* 77 S> */ B(CreateArrayLiteral), U8(1), U8(1), U8(1), | 454 /* 77 S> */ B(CreateArrayLiteral), U8(1), U8(1), U8(9), |
455 B(Star), R(13), | 455 B(Star), R(13), |
456 B(LdaConstant), U8(2), | 456 B(LdaConstant), U8(2), |
457 /* 77 E> */ B(LdrKeyedProperty), R(13), U8(4), R(12), | 457 /* 77 E> */ B(LdrKeyedProperty), R(13), U8(4), R(12), |
458 /* 77 E> */ B(Call), R(12), R(13), U8(1), U8(2), | 458 /* 77 E> */ B(Call), R(12), R(13), U8(1), U8(2), |
459 B(Star), R(1), | 459 B(Star), R(1), |
460 /* 74 S> */ B(LdrNamedProperty), R(1), U8(3), U8(8), R(13), | 460 /* 74 S> */ B(LdrNamedProperty), R(1), U8(3), U8(8), R(13), |
461 /* 74 E> */ B(Call), R(13), R(1), U8(1), U8(6), | 461 /* 74 E> */ B(Call), R(13), R(1), U8(1), U8(6), |
462 B(Star), R(2), | 462 B(Star), R(2), |
463 /* 74 E> */ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(2), U8(1), | 463 /* 74 E> */ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(2), U8(1), |
464 B(ToBooleanLogicalNot), | 464 B(ToBooleanLogicalNot), |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
577 ONE_BYTE_INTERNALIZED_STRING_TYPE ["function"], | 577 ONE_BYTE_INTERNALIZED_STRING_TYPE ["function"], |
578 ONE_BYTE_INTERNALIZED_STRING_TYPE [""], | 578 ONE_BYTE_INTERNALIZED_STRING_TYPE [""], |
579 FIXED_ARRAY_TYPE, | 579 FIXED_ARRAY_TYPE, |
580 ] | 580 ] |
581 handlers: [ | 581 handlers: [ |
582 [15, 131, 137], | 582 [15, 131, 137], |
583 [18, 94, 96], | 583 [18, 94, 96], |
584 [215, 225, 227], | 584 [215, 225, 227], |
585 ] | 585 ] |
586 | 586 |
OLD | NEW |