| 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: no | 8 wrap: no |
| 9 test function name: f | 9 test function name: f |
| 10 | 10 |
| 11 --- | 11 --- |
| 12 snippet: " | 12 snippet: " |
| 13 function* f() { } | 13 function* f() { } |
| 14 f(); | 14 f(); |
| 15 " | 15 " |
| 16 frame size: 11 | 16 frame size: 11 |
| 17 parameter count: 1 | 17 parameter count: 1 |
| 18 bytecode array length: 197 | 18 bytecode array length: 197 |
| 19 bytecodes: [ | 19 bytecodes: [ |
| 20 B(Ldar), R(new_target), | 20 B(Ldar), R(new_target), |
| 21 B(JumpIfUndefined), U8(20), | 21 B(JumpIfUndefined), U8(20), |
| 22 B(ResumeGenerator), R(new_target), | 22 B(ResumeGenerator), R(new_target), |
| 23 B(Star), R(1), | 23 B(Star), R(1), |
| 24 B(LdaZero), | 24 B(LdaZero), |
| 25 B(TestEqualStrict), R(1), | 25 B(TestEqualStrict), R(1), |
| 26 B(JumpIfTrue), U8(53), | 26 B(JumpIfTrue), U8(53), |
| 27 B(LdaSmi), U8(75), | 27 B(LdaSmi), U8(76), |
| 28 B(Star), R(2), | 28 B(Star), R(2), |
| 29 B(CallRuntime), U16(Runtime::kAbort), R(2), U8(1), | 29 B(CallRuntime), U16(Runtime::kAbort), R(2), U8(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(StaContextSlot), R(context), U8(4), | 33 B(StaContextSlot), R(context), 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), |
| 36 /* 11 E> */ B(LdrContextSlot), R(context), U8(4), R(6), | 36 /* 11 E> */ B(LdrContextSlot), R(context), U8(4), R(6), |
| 37 B(Ldar), R(6), | 37 B(Ldar), R(6), |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 B(Ldar), R(new_target), | 123 B(Ldar), R(new_target), |
| 124 B(JumpIfUndefined), U8(26), | 124 B(JumpIfUndefined), U8(26), |
| 125 B(ResumeGenerator), R(new_target), | 125 B(ResumeGenerator), R(new_target), |
| 126 B(Star), R(1), | 126 B(Star), R(1), |
| 127 B(LdaZero), | 127 B(LdaZero), |
| 128 B(TestEqualStrict), R(1), | 128 B(TestEqualStrict), R(1), |
| 129 B(JumpIfTrue), U8(59), | 129 B(JumpIfTrue), U8(59), |
| 130 B(LdaSmi), U8(1), | 130 B(LdaSmi), U8(1), |
| 131 B(TestEqualStrict), R(1), | 131 B(TestEqualStrict), R(1), |
| 132 B(JumpIfTrueConstant), U8(0), | 132 B(JumpIfTrueConstant), U8(0), |
| 133 B(LdaSmi), U8(75), | 133 B(LdaSmi), U8(76), |
| 134 B(Star), R(2), | 134 B(Star), R(2), |
| 135 B(CallRuntime), U16(Runtime::kAbort), R(2), U8(1), | 135 B(CallRuntime), U16(Runtime::kAbort), R(2), U8(1), |
| 136 B(CreateFunctionContext), U8(2), | 136 B(CreateFunctionContext), U8(2), |
| 137 B(PushContext), R(0), | 137 B(PushContext), R(0), |
| 138 B(Ldar), R(this), | 138 B(Ldar), R(this), |
| 139 B(StaContextSlot), R(context), U8(4), | 139 B(StaContextSlot), R(context), U8(4), |
| 140 /* 11 E> */ B(StackCheck), | 140 /* 11 E> */ B(StackCheck), |
| 141 B(Mov), R(context), R(4), | 141 B(Mov), R(context), R(4), |
| 142 /* 11 E> */ B(LdrContextSlot), R(context), U8(4), R(6), | 142 /* 11 E> */ B(LdrContextSlot), R(context), U8(4), R(6), |
| 143 B(Ldar), R(6), | 143 B(Ldar), R(6), |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 269 B(Ldar), R(new_target), | 269 B(Ldar), R(new_target), |
| 270 B(JumpIfUndefined), U8(26), | 270 B(JumpIfUndefined), U8(26), |
| 271 B(ResumeGenerator), R(new_target), | 271 B(ResumeGenerator), R(new_target), |
| 272 B(Star), R(4), | 272 B(Star), R(4), |
| 273 B(LdaZero), | 273 B(LdaZero), |
| 274 B(TestEqualStrict), R(4), | 274 B(TestEqualStrict), R(4), |
| 275 B(JumpIfTrue), U8(59), | 275 B(JumpIfTrue), U8(59), |
| 276 B(LdaSmi), U8(1), | 276 B(LdaSmi), U8(1), |
| 277 B(TestEqualStrict), R(4), | 277 B(TestEqualStrict), R(4), |
| 278 B(JumpIfTrueConstant), U8(3), | 278 B(JumpIfTrueConstant), U8(3), |
| 279 B(LdaSmi), U8(75), | 279 B(LdaSmi), U8(76), |
| 280 B(Star), R(5), | 280 B(Star), R(5), |
| 281 B(CallRuntime), U16(Runtime::kAbort), R(5), U8(1), | 281 B(CallRuntime), U16(Runtime::kAbort), R(5), U8(1), |
| 282 B(CreateFunctionContext), U8(9), | 282 B(CreateFunctionContext), U8(9), |
| 283 B(PushContext), R(0), | 283 B(PushContext), R(0), |
| 284 B(Ldar), R(this), | 284 B(Ldar), R(this), |
| 285 B(StaContextSlot), R(context), U8(4), | 285 B(StaContextSlot), R(context), U8(4), |
| 286 /* 11 E> */ B(StackCheck), | 286 /* 11 E> */ B(StackCheck), |
| 287 B(Mov), R(context), R(7), | 287 B(Mov), R(context), R(7), |
| 288 /* 11 E> */ B(LdrContextSlot), R(context), U8(4), R(9), | 288 /* 11 E> */ B(LdrContextSlot), R(context), U8(4), R(9), |
| 289 B(Ldar), R(9), | 289 B(Ldar), R(9), |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 335 B(LdaConstant), U8(2), | 335 B(LdaConstant), U8(2), |
| 336 /* 30 E> */ B(LdrKeyedProperty), R(13), U8(3), R(12), | 336 /* 30 E> */ B(LdrKeyedProperty), R(13), U8(3), R(12), |
| 337 /* 30 E> */ B(Call), R(12), R(13), U8(1), U8(1), | 337 /* 30 E> */ B(Call), R(12), R(13), U8(1), U8(1), |
| 338 /* 30 E> */ B(StaContextSlot), R(1), U8(7), | 338 /* 30 E> */ B(StaContextSlot), R(1), U8(7), |
| 339 B(LdaSmi), U8(-2), | 339 B(LdaSmi), U8(-2), |
| 340 B(TestEqual), R(4), | 340 B(TestEqual), R(4), |
| 341 B(JumpIfTrue), U8(17), | 341 B(JumpIfTrue), U8(17), |
| 342 B(LdaSmi), U8(1), | 342 B(LdaSmi), U8(1), |
| 343 B(TestEqualStrict), R(4), | 343 B(TestEqualStrict), R(4), |
| 344 B(JumpIfTrueConstant), U8(9), | 344 B(JumpIfTrueConstant), U8(9), |
| 345 B(LdaSmi), U8(75), | 345 B(LdaSmi), U8(76), |
| 346 B(Star), R(12), | 346 B(Star), R(12), |
| 347 B(CallRuntime), U16(Runtime::kAbort), R(12), U8(1), | 347 B(CallRuntime), U16(Runtime::kAbort), R(12), U8(1), |
| 348 /* 27 S> */ B(LdrContextSlot), R(1), U8(7), R(14), | 348 /* 27 S> */ B(LdrContextSlot), R(1), U8(7), R(14), |
| 349 B(LdrNamedProperty), R(14), U8(4), U8(7), R(13), | 349 B(LdrNamedProperty), R(14), U8(4), U8(7), R(13), |
| 350 /* 27 E> */ B(Call), R(13), R(14), U8(1), U8(5), | 350 /* 27 E> */ B(Call), R(13), R(14), U8(1), U8(5), |
| 351 /* 27 E> */ B(StaContextSlot), R(1), U8(8), | 351 /* 27 E> */ B(StaContextSlot), R(1), U8(8), |
| 352 B(Star), R(12), | 352 B(Star), R(12), |
| 353 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(12), U8(1), | 353 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(12), U8(1), |
| 354 B(ToBooleanLogicalNot), | 354 B(ToBooleanLogicalNot), |
| 355 B(JumpIfFalse), U8(11), | 355 B(JumpIfFalse), U8(11), |
| (...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 597 kInstanceTypeDontCare, | 597 kInstanceTypeDontCare, |
| 598 kInstanceTypeDontCare, | 598 kInstanceTypeDontCare, |
| 599 ] | 599 ] |
| 600 handlers: [ | 600 handlers: [ |
| 601 [41, 688, 694], | 601 [41, 688, 694], |
| 602 [147, 442, 448], | 602 [147, 442, 448], |
| 603 [150, 396, 398], | 603 [150, 396, 398], |
| 604 [545, 557, 559], | 604 [545, 557, 559], |
| 605 ] | 605 ] |
| 606 | 606 |
| OLD | NEW |