| OLD | NEW |
| 1 # | 1 # |
| 2 # Autogenerated by generate-bytecode-expectations. | 2 # Autogenerated by generate-bytecode-expectations. |
| 3 # | 3 # |
| 4 | 4 |
| 5 --- | 5 --- |
| 6 wrap: no | 6 wrap: no |
| 7 test function name: f | 7 test function name: f |
| 8 | 8 |
| 9 --- | 9 --- |
| 10 snippet: " | 10 snippet: " |
| 11 function* f() { } | 11 function* f() { } |
| 12 f(); | 12 f(); |
| 13 " | 13 " |
| 14 frame size: 11 | 14 frame size: 11 |
| 15 parameter count: 1 | 15 parameter count: 1 |
| 16 bytecode array length: 199 | 16 bytecode array length: 199 |
| 17 bytecodes: [ | 17 bytecodes: [ |
| 18 B(Ldar), R(new_target), | 18 B(Ldar), R(new_target), |
| 19 B(JumpIfUndefined), U8(21), | 19 B(JumpIfUndefined), U8(21), |
| 20 B(ResumeGenerator), R(new_target), | 20 B(ResumeGenerator), R(new_target), |
| 21 B(Star), R(1), | 21 B(Star), R(1), |
| 22 B(LdaZero), | 22 B(LdaZero), |
| 23 B(TestEqualStrict), R(1), U8(0), | 23 B(TestEqualStrict), R(1), U8(0), |
| 24 B(JumpIfTrue), U8(53), | 24 B(JumpIfTrue), U8(53), |
| 25 B(LdaSmi), U8(78), | 25 B(LdaSmi), U8(77), |
| 26 B(Star), R(2), | 26 B(Star), R(2), |
| 27 B(CallRuntime), U16(Runtime::kAbort), R(2), U8(1), | 27 B(CallRuntime), U16(Runtime::kAbort), R(2), U8(1), |
| 28 B(LdaSmi), U8(-2), | 28 B(LdaSmi), U8(-2), |
| 29 B(Star), R(1), | 29 B(Star), R(1), |
| 30 B(CreateFunctionContext), U8(2), | 30 B(CreateFunctionContext), U8(2), |
| 31 B(PushContext), R(0), | 31 B(PushContext), R(0), |
| 32 B(Ldar), R(this), | 32 B(Ldar), R(this), |
| 33 B(StaCurrentContextSlot), U8(4), | 33 B(StaCurrentContextSlot), U8(4), |
| 34 /* 11 E> */ B(StackCheck), | 34 /* 11 E> */ B(StackCheck), |
| 35 B(Mov), R(context), R(4), | 35 B(Mov), R(context), R(4), |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 B(Ldar), R(new_target), | 128 B(Ldar), R(new_target), |
| 129 B(JumpIfUndefined), U8(28), | 129 B(JumpIfUndefined), U8(28), |
| 130 B(ResumeGenerator), R(new_target), | 130 B(ResumeGenerator), R(new_target), |
| 131 B(Star), R(1), | 131 B(Star), R(1), |
| 132 B(LdaZero), | 132 B(LdaZero), |
| 133 B(TestEqualStrict), R(1), U8(0), | 133 B(TestEqualStrict), R(1), U8(0), |
| 134 B(JumpIfTrue), U8(60), | 134 B(JumpIfTrue), U8(60), |
| 135 B(LdaSmi), U8(1), | 135 B(LdaSmi), U8(1), |
| 136 B(TestEqualStrict), R(1), U8(0), | 136 B(TestEqualStrict), R(1), U8(0), |
| 137 B(JumpIfTrueConstant), U8(0), | 137 B(JumpIfTrueConstant), U8(0), |
| 138 B(LdaSmi), U8(78), | 138 B(LdaSmi), U8(77), |
| 139 B(Star), R(2), | 139 B(Star), R(2), |
| 140 B(CallRuntime), U16(Runtime::kAbort), R(2), U8(1), | 140 B(CallRuntime), U16(Runtime::kAbort), R(2), U8(1), |
| 141 B(LdaSmi), U8(-2), | 141 B(LdaSmi), U8(-2), |
| 142 B(Star), R(1), | 142 B(Star), R(1), |
| 143 B(CreateFunctionContext), U8(2), | 143 B(CreateFunctionContext), U8(2), |
| 144 B(PushContext), R(0), | 144 B(PushContext), R(0), |
| 145 B(Ldar), R(this), | 145 B(Ldar), R(this), |
| 146 B(StaCurrentContextSlot), U8(4), | 146 B(StaCurrentContextSlot), U8(4), |
| 147 /* 11 E> */ B(StackCheck), | 147 /* 11 E> */ B(StackCheck), |
| 148 B(Mov), R(context), R(4), | 148 B(Mov), R(context), R(4), |
| (...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 282 B(Ldar), R(new_target), | 282 B(Ldar), R(new_target), |
| 283 B(JumpIfUndefined), U8(28), | 283 B(JumpIfUndefined), U8(28), |
| 284 B(ResumeGenerator), R(new_target), | 284 B(ResumeGenerator), R(new_target), |
| 285 B(Star), R(3), | 285 B(Star), R(3), |
| 286 B(LdaZero), | 286 B(LdaZero), |
| 287 B(TestEqualStrict), R(3), U8(0), | 287 B(TestEqualStrict), R(3), U8(0), |
| 288 B(JumpIfTrue), U8(60), | 288 B(JumpIfTrue), U8(60), |
| 289 B(LdaSmi), U8(1), | 289 B(LdaSmi), U8(1), |
| 290 B(TestEqualStrict), R(3), U8(0), | 290 B(TestEqualStrict), R(3), U8(0), |
| 291 B(JumpIfTrueConstant), U8(3), | 291 B(JumpIfTrueConstant), U8(3), |
| 292 B(LdaSmi), U8(78), | 292 B(LdaSmi), U8(77), |
| 293 B(Star), R(4), | 293 B(Star), R(4), |
| 294 B(CallRuntime), U16(Runtime::kAbort), R(4), U8(1), | 294 B(CallRuntime), U16(Runtime::kAbort), R(4), U8(1), |
| 295 B(LdaSmi), U8(-2), | 295 B(LdaSmi), U8(-2), |
| 296 B(Star), R(3), | 296 B(Star), R(3), |
| 297 B(CreateFunctionContext), U8(9), | 297 B(CreateFunctionContext), U8(9), |
| 298 B(PushContext), R(0), | 298 B(PushContext), R(0), |
| 299 B(Ldar), R(this), | 299 B(Ldar), R(this), |
| 300 B(StaCurrentContextSlot), U8(4), | 300 B(StaCurrentContextSlot), U8(4), |
| 301 /* 11 E> */ B(StackCheck), | 301 /* 11 E> */ B(StackCheck), |
| 302 B(Mov), R(context), R(6), | 302 B(Mov), R(context), R(6), |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 351 B(CallProperty), R(12), R(11), U8(1), U8(4), | 351 B(CallProperty), R(12), R(11), U8(1), U8(4), |
| 352 B(JumpIfJSReceiver), U8(7), | 352 B(JumpIfJSReceiver), U8(7), |
| 353 B(CallRuntime), U16(Runtime::kThrowSymbolIteratorInvalid), R(0),
U8(0), | 353 B(CallRuntime), U16(Runtime::kThrowSymbolIteratorInvalid), R(0),
U8(0), |
| 354 /* 30 E> */ B(StaContextSlot), R(1), U8(7), U8(0), | 354 /* 30 E> */ B(StaContextSlot), R(1), U8(7), U8(0), |
| 355 B(LdaSmi), U8(-2), | 355 B(LdaSmi), U8(-2), |
| 356 B(TestEqual), R(3), U8(0), | 356 B(TestEqual), R(3), U8(0), |
| 357 B(JumpIfTrue), U8(18), | 357 B(JumpIfTrue), U8(18), |
| 358 B(LdaSmi), U8(1), | 358 B(LdaSmi), U8(1), |
| 359 B(TestEqualStrict), R(3), U8(0), | 359 B(TestEqualStrict), R(3), U8(0), |
| 360 B(JumpIfTrueConstant), U8(8), | 360 B(JumpIfTrueConstant), U8(8), |
| 361 B(LdaSmi), U8(78), | 361 B(LdaSmi), U8(77), |
| 362 B(Star), R(11), | 362 B(Star), R(11), |
| 363 B(CallRuntime), U16(Runtime::kAbort), R(11), U8(1), | 363 B(CallRuntime), U16(Runtime::kAbort), R(11), U8(1), |
| 364 /* 27 S> */ B(LdaContextSlot), R(1), U8(7), U8(0), | 364 /* 27 S> */ B(LdaContextSlot), R(1), U8(7), U8(0), |
| 365 B(Star), R(12), | 365 B(Star), R(12), |
| 366 B(LdaNamedProperty), R(12), U8(4), U8(8), | 366 B(LdaNamedProperty), R(12), U8(4), U8(8), |
| 367 B(Star), R(11), | 367 B(Star), R(11), |
| 368 /* 27 E> */ B(CallProperty), R(11), R(12), U8(1), U8(6), | 368 /* 27 E> */ B(CallProperty), R(11), R(12), U8(1), U8(6), |
| 369 /* 27 E> */ B(StaContextSlot), R(1), U8(8), U8(0), | 369 /* 27 E> */ B(StaContextSlot), R(1), U8(8), U8(0), |
| 370 B(Star), R(11), | 370 B(Star), R(11), |
| 371 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(11), U8(1), | 371 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(11), U8(1), |
| (...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 623 Smi [159], | 623 Smi [159], |
| 624 Smi [585], | 624 Smi [585], |
| 625 ] | 625 ] |
| 626 handlers: [ | 626 handlers: [ |
| 627 [46, 694, 700], | 627 [46, 694, 700], |
| 628 [143, 444, 450], | 628 [143, 444, 450], |
| 629 [146, 400, 402], | 629 [146, 400, 402], |
| 630 [546, 562, 564], | 630 [546, 562, 564], |
| 631 ] | 631 ] |
| 632 | 632 |
| OLD | NEW |