| OLD | NEW |
| 1 # | 1 # |
| 2 # Autogenerated by generate-bytecode-expectations. | 2 # Autogenerated by generate-bytecode-expectations. |
| 3 # | 3 # |
| 4 | 4 |
| 5 --- | 5 --- |
| 6 wrap: yes | 6 wrap: yes |
| 7 | 7 |
| 8 --- | 8 --- |
| 9 snippet: " | 9 snippet: " |
| 10 for (var p of [0, 1, 2]) {} | 10 for (var p of [0, 1, 2]) {} |
| 11 " | 11 " |
| 12 frame size: 15 | 12 frame size: 15 |
| 13 parameter count: 1 | 13 parameter count: 1 |
| 14 bytecode array length: 272 | 14 bytecode array length: 272 |
| 15 bytecodes: [ | 15 bytecodes: [ |
| 16 /* 30 E> */ B(StackCheck), | 16 /* 30 E> */ B(StackCheck), |
| 17 B(LdaZero), | 17 B(LdaZero), |
| 18 B(Star), R(4), | 18 B(Star), R(4), |
| 19 B(Mov), R(context), R(11), | 19 B(Mov), R(context), R(11), |
| 20 B(Mov), R(context), R(12), | 20 B(Mov), R(context), R(12), |
| 21 /* 48 S> */ B(CreateArrayLiteral), U8(0), U8(0), U8(9), | 21 /* 48 S> */ B(CreateArrayLiteral), U8(0), U8(0), U8(9), |
| 22 B(Star), R(13), | 22 B(Star), R(13), |
| 23 B(LdaNamedProperty), R(13), U8(1), U8(2), | 23 B(LdaNamedProperty), R(13), U8(1), U8(2), |
| 24 B(Star), R(14), | 24 B(Star), R(14), |
| 25 B(CallProperty), R(14), R(13), U8(1), U8(4), | 25 B(CallProperty), R(14), R(13), U8(1), U8(4), |
| 26 B(JumpIfJSReceiver), U8(7), | 26 B(JumpIfJSReceiver), U8(7), |
| 27 B(CallRuntime), U16(Runtime::kThrowSymbolIteratorInvalid), R(0),
U8(0), | 27 B(CallRuntime), U16(Runtime::kThrowSymbolIteratorInvalid), R(0),
U8(0), |
| 28 B(Star), R(2), | 28 B(Star), R(2), |
| 29 /* 45 S> */ B(LdaNamedProperty), R(2), U8(2), U8(8), | 29 /* 45 S> */ B(LdaNamedProperty), R(2), U8(2), U8(8), |
| 30 B(Star), R(14), | 30 B(Star), R(13), |
| 31 /* 45 E> */ B(CallProperty), R(14), R(2), U8(1), U8(6), | 31 /* 45 E> */ B(CallProperty), R(13), R(2), U8(1), U8(6), |
| 32 B(Star), R(3), | 32 B(Star), R(3), |
| 33 /* 45 E> */ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(3), U8(1), | 33 /* 45 E> */ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(3), U8(1), |
| 34 B(ToBooleanLogicalNot), | 34 B(ToBooleanLogicalNot), |
| 35 B(JumpIfFalse), U8(7), | 35 B(JumpIfFalse), U8(7), |
| 36 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R
(3), U8(1), | 36 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R
(3), U8(1), |
| 37 B(LdaNamedProperty), R(3), U8(3), U8(10), | 37 B(LdaNamedProperty), R(3), U8(3), U8(10), |
| 38 B(JumpIfToBooleanTrue), U8(25), | 38 B(JumpIfToBooleanTrue), U8(25), |
| 39 B(LdaNamedProperty), R(3), U8(4), U8(12), | 39 B(LdaNamedProperty), R(3), U8(4), U8(12), |
| 40 B(Star), R(5), | 40 B(Star), R(5), |
| 41 B(LdaSmi), U8(2), | 41 B(LdaSmi), U8(2), |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 164 B(Mov), R(context), R(12), | 164 B(Mov), R(context), R(12), |
| 165 B(Mov), R(context), R(13), | 165 B(Mov), R(context), R(13), |
| 166 /* 68 S> */ B(LdaNamedProperty), R(0), U8(1), U8(2), | 166 /* 68 S> */ B(LdaNamedProperty), R(0), U8(1), U8(2), |
| 167 B(Star), R(15), | 167 B(Star), R(15), |
| 168 B(CallProperty), R(15), R(0), U8(1), U8(4), | 168 B(CallProperty), R(15), R(0), U8(1), U8(4), |
| 169 B(Mov), R(0), R(14), | 169 B(Mov), R(0), R(14), |
| 170 B(JumpIfJSReceiver), U8(7), | 170 B(JumpIfJSReceiver), U8(7), |
| 171 B(CallRuntime), U16(Runtime::kThrowSymbolIteratorInvalid), R(0),
U8(0), | 171 B(CallRuntime), U16(Runtime::kThrowSymbolIteratorInvalid), R(0),
U8(0), |
| 172 B(Star), R(3), | 172 B(Star), R(3), |
| 173 /* 65 S> */ B(LdaNamedProperty), R(3), U8(2), U8(8), | 173 /* 65 S> */ B(LdaNamedProperty), R(3), U8(2), U8(8), |
| 174 B(Star), R(15), | 174 B(Star), R(14), |
| 175 /* 65 E> */ B(CallProperty), R(15), R(3), U8(1), U8(6), | 175 /* 65 E> */ B(CallProperty), R(14), R(3), U8(1), U8(6), |
| 176 B(Star), R(4), | 176 B(Star), R(4), |
| 177 /* 65 E> */ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(4), U8(1), | 177 /* 65 E> */ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(4), U8(1), |
| 178 B(ToBooleanLogicalNot), | 178 B(ToBooleanLogicalNot), |
| 179 B(JumpIfFalse), U8(7), | 179 B(JumpIfFalse), U8(7), |
| 180 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R
(4), U8(1), | 180 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R
(4), U8(1), |
| 181 B(LdaNamedProperty), R(4), U8(3), U8(10), | 181 B(LdaNamedProperty), R(4), U8(3), U8(10), |
| 182 B(JumpIfToBooleanTrue), U8(27), | 182 B(JumpIfToBooleanTrue), U8(27), |
| 183 B(LdaNamedProperty), R(4), U8(4), U8(12), | 183 B(LdaNamedProperty), R(4), U8(4), U8(12), |
| 184 B(Star), R(6), | 184 B(Star), R(6), |
| 185 B(LdaSmi), U8(2), | 185 B(LdaSmi), U8(2), |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 315 B(Mov), R(context), R(12), | 315 B(Mov), R(context), R(12), |
| 316 /* 48 S> */ B(CreateArrayLiteral), U8(0), U8(0), U8(9), | 316 /* 48 S> */ B(CreateArrayLiteral), U8(0), U8(0), U8(9), |
| 317 B(Star), R(13), | 317 B(Star), R(13), |
| 318 B(LdaNamedProperty), R(13), U8(1), U8(2), | 318 B(LdaNamedProperty), R(13), U8(1), U8(2), |
| 319 B(Star), R(14), | 319 B(Star), R(14), |
| 320 B(CallProperty), R(14), R(13), U8(1), U8(4), | 320 B(CallProperty), R(14), R(13), U8(1), U8(4), |
| 321 B(JumpIfJSReceiver), U8(7), | 321 B(JumpIfJSReceiver), U8(7), |
| 322 B(CallRuntime), U16(Runtime::kThrowSymbolIteratorInvalid), R(0),
U8(0), | 322 B(CallRuntime), U16(Runtime::kThrowSymbolIteratorInvalid), R(0),
U8(0), |
| 323 B(Star), R(2), | 323 B(Star), R(2), |
| 324 /* 45 S> */ B(LdaNamedProperty), R(2), U8(2), U8(8), | 324 /* 45 S> */ B(LdaNamedProperty), R(2), U8(2), U8(8), |
| 325 B(Star), R(14), | 325 B(Star), R(13), |
| 326 /* 45 E> */ B(CallProperty), R(14), R(2), U8(1), U8(6), | 326 /* 45 E> */ B(CallProperty), R(13), R(2), U8(1), U8(6), |
| 327 B(Star), R(3), | 327 B(Star), R(3), |
| 328 /* 45 E> */ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(3), U8(1), | 328 /* 45 E> */ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(3), U8(1), |
| 329 B(ToBooleanLogicalNot), | 329 B(ToBooleanLogicalNot), |
| 330 B(JumpIfFalse), U8(7), | 330 B(JumpIfFalse), U8(7), |
| 331 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R
(3), U8(1), | 331 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R
(3), U8(1), |
| 332 B(LdaNamedProperty), R(3), U8(3), U8(10), | 332 B(LdaNamedProperty), R(3), U8(3), U8(10), |
| 333 B(JumpIfToBooleanTrue), U8(43), | 333 B(JumpIfToBooleanTrue), U8(43), |
| 334 B(LdaNamedProperty), R(3), U8(4), U8(12), | 334 B(LdaNamedProperty), R(3), U8(4), U8(12), |
| 335 B(Star), R(5), | 335 B(Star), R(5), |
| 336 B(LdaSmi), U8(2), | 336 B(LdaSmi), U8(2), |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 468 B(Mov), R(context), R(11), | 468 B(Mov), R(context), R(11), |
| 469 /* 77 S> */ B(CreateArrayLiteral), U8(1), U8(1), U8(9), | 469 /* 77 S> */ B(CreateArrayLiteral), U8(1), U8(1), U8(9), |
| 470 B(Star), R(12), | 470 B(Star), R(12), |
| 471 B(LdaNamedProperty), R(12), U8(2), U8(2), | 471 B(LdaNamedProperty), R(12), U8(2), U8(2), |
| 472 B(Star), R(13), | 472 B(Star), R(13), |
| 473 B(CallProperty), R(13), R(12), U8(1), U8(4), | 473 B(CallProperty), R(13), R(12), U8(1), U8(4), |
| 474 B(JumpIfJSReceiver), U8(7), | 474 B(JumpIfJSReceiver), U8(7), |
| 475 B(CallRuntime), U16(Runtime::kThrowSymbolIteratorInvalid), R(0),
U8(0), | 475 B(CallRuntime), U16(Runtime::kThrowSymbolIteratorInvalid), R(0),
U8(0), |
| 476 B(Star), R(1), | 476 B(Star), R(1), |
| 477 /* 74 S> */ B(LdaNamedProperty), R(1), U8(3), U8(8), | 477 /* 74 S> */ B(LdaNamedProperty), R(1), U8(3), U8(8), |
| 478 B(Star), R(13), | 478 B(Star), R(12), |
| 479 /* 74 E> */ B(CallProperty), R(13), R(1), U8(1), U8(6), | 479 /* 74 E> */ B(CallProperty), R(12), R(1), U8(1), U8(6), |
| 480 B(Star), R(2), | 480 B(Star), R(2), |
| 481 /* 74 E> */ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(2), U8(1), | 481 /* 74 E> */ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(2), U8(1), |
| 482 B(ToBooleanLogicalNot), | 482 B(ToBooleanLogicalNot), |
| 483 B(JumpIfFalse), U8(7), | 483 B(JumpIfFalse), U8(7), |
| 484 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R
(2), U8(1), | 484 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R
(2), U8(1), |
| 485 B(LdaNamedProperty), R(2), U8(4), U8(10), | 485 B(LdaNamedProperty), R(2), U8(4), U8(10), |
| 486 B(JumpIfToBooleanTrue), U8(31), | 486 B(JumpIfToBooleanTrue), U8(31), |
| 487 /* 67 E> */ B(LdaNamedProperty), R(2), U8(5), U8(12), | 487 /* 67 E> */ B(LdaNamedProperty), R(2), U8(5), U8(12), |
| 488 B(Star), R(4), | 488 B(Star), R(4), |
| 489 B(LdaSmi), U8(2), | 489 B(LdaSmi), U8(2), |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 598 ONE_BYTE_INTERNALIZED_STRING_TYPE ["function"], | 598 ONE_BYTE_INTERNALIZED_STRING_TYPE ["function"], |
| 599 ONE_BYTE_INTERNALIZED_STRING_TYPE [""], | 599 ONE_BYTE_INTERNALIZED_STRING_TYPE [""], |
| 600 FIXED_ARRAY_TYPE, | 600 FIXED_ARRAY_TYPE, |
| 601 ] | 601 ] |
| 602 handlers: [ | 602 handlers: [ |
| 603 [15, 140, 146], | 603 [15, 140, 146], |
| 604 [18, 104, 106], | 604 [18, 104, 106], |
| 605 [214, 224, 226], | 605 [214, 224, 226], |
| 606 ] | 606 ] |
| 607 | 607 |
| OLD | NEW |