| 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: no | 7 wrap: no | 
| 8 test function name: f | 8 test function name: f | 
| 9 | 9 | 
| 10 --- | 10 --- | 
| 11 snippet: " | 11 snippet: " | 
| 12   function* f() { } | 12   function* f() { } | 
| 13   f(); | 13   f(); | 
| 14 " | 14 " | 
| 15 frame size: 11 | 15 frame size: 11 | 
| 16 parameter count: 1 | 16 parameter count: 1 | 
| 17 bytecode array length: 212 | 17 bytecode array length: 212 | 
| 18 bytecodes: [ | 18 bytecodes: [ | 
| 19                 B(Ldar), R(new_target), | 19                 B(Ldar), R(new_target), | 
| 20                 B(JumpIfUndefined), U8(21), | 20                 B(JumpIfUndefined), U8(21), | 
| 21                 B(ResumeGenerator), R(new_target), | 21                 B(ResumeGenerator), R(new_target), | 
| 22                 B(Star), R(1), | 22                 B(Star), R(1), | 
| 23                 B(LdaZero), | 23                 B(LdaZero), | 
| 24                 B(TestEqualStrict), R(1), U8(0), | 24                 B(TestEqualStrict), R(1), U8(0), | 
| 25                 B(JumpIfTrue), U8(61), | 25                 B(JumpIfTrue), U8(61), | 
| 26                 B(LdaSmi), U8(77), | 26                 B(LdaSmi), U8(76), | 
| 27                 B(Star), R(2), | 27                 B(Star), R(2), | 
| 28                 B(CallRuntime), U16(Runtime::kAbort), R(2), U8(1), | 28                 B(CallRuntime), U16(Runtime::kAbort), R(2), U8(1), | 
| 29                 B(LdaSmi), U8(-2), | 29                 B(LdaSmi), U8(-2), | 
| 30                 B(Star), R(1), | 30                 B(Star), R(1), | 
| 31                 B(CreateFunctionContext), U8(2), | 31                 B(CreateFunctionContext), U8(2), | 
| 32                 B(PushContext), R(0), | 32                 B(PushContext), R(0), | 
| 33                 B(Ldar), R(this), | 33                 B(Ldar), R(this), | 
| 34                 B(StaContextSlot), R(context), U8(4), U8(0), | 34                 B(StaContextSlot), R(context), U8(4), U8(0), | 
| 35   /*   11 E> */ B(StackCheck), | 35   /*   11 E> */ B(StackCheck), | 
| 36                 B(Mov), R(context), R(4), | 36                 B(Mov), R(context), R(4), | 
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 124                 B(Ldar), R(new_target), | 124                 B(Ldar), R(new_target), | 
| 125                 B(JumpIfUndefined), U8(28), | 125                 B(JumpIfUndefined), U8(28), | 
| 126                 B(ResumeGenerator), R(new_target), | 126                 B(ResumeGenerator), R(new_target), | 
| 127                 B(Star), R(1), | 127                 B(Star), R(1), | 
| 128                 B(LdaZero), | 128                 B(LdaZero), | 
| 129                 B(TestEqualStrict), R(1), U8(0), | 129                 B(TestEqualStrict), R(1), U8(0), | 
| 130                 B(JumpIfTrue), U8(68), | 130                 B(JumpIfTrue), U8(68), | 
| 131                 B(LdaSmi), U8(1), | 131                 B(LdaSmi), U8(1), | 
| 132                 B(TestEqualStrict), R(1), U8(0), | 132                 B(TestEqualStrict), R(1), U8(0), | 
| 133                 B(JumpIfTrueConstant), U8(0), | 133                 B(JumpIfTrueConstant), U8(0), | 
| 134                 B(LdaSmi), U8(77), | 134                 B(LdaSmi), U8(76), | 
| 135                 B(Star), R(2), | 135                 B(Star), R(2), | 
| 136                 B(CallRuntime), U16(Runtime::kAbort), R(2), U8(1), | 136                 B(CallRuntime), U16(Runtime::kAbort), R(2), U8(1), | 
| 137                 B(LdaSmi), U8(-2), | 137                 B(LdaSmi), U8(-2), | 
| 138                 B(Star), R(1), | 138                 B(Star), R(1), | 
| 139                 B(CreateFunctionContext), U8(2), | 139                 B(CreateFunctionContext), U8(2), | 
| 140                 B(PushContext), R(0), | 140                 B(PushContext), R(0), | 
| 141                 B(Ldar), R(this), | 141                 B(Ldar), R(this), | 
| 142                 B(StaContextSlot), R(context), U8(4), U8(0), | 142                 B(StaContextSlot), R(context), U8(4), U8(0), | 
| 143   /*   11 E> */ B(StackCheck), | 143   /*   11 E> */ B(StackCheck), | 
| 144                 B(Mov), R(context), R(4), | 144                 B(Mov), R(context), R(4), | 
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 272                 B(Ldar), R(new_target), | 272                 B(Ldar), R(new_target), | 
| 273                 B(JumpIfUndefined), U8(28), | 273                 B(JumpIfUndefined), U8(28), | 
| 274                 B(ResumeGenerator), R(new_target), | 274                 B(ResumeGenerator), R(new_target), | 
| 275                 B(Star), R(4), | 275                 B(Star), R(4), | 
| 276                 B(LdaZero), | 276                 B(LdaZero), | 
| 277                 B(TestEqualStrict), R(4), U8(0), | 277                 B(TestEqualStrict), R(4), U8(0), | 
| 278                 B(JumpIfTrue), U8(68), | 278                 B(JumpIfTrue), U8(68), | 
| 279                 B(LdaSmi), U8(1), | 279                 B(LdaSmi), U8(1), | 
| 280                 B(TestEqualStrict), R(4), U8(0), | 280                 B(TestEqualStrict), R(4), U8(0), | 
| 281                 B(JumpIfTrueConstant), U8(3), | 281                 B(JumpIfTrueConstant), U8(3), | 
| 282                 B(LdaSmi), U8(77), | 282                 B(LdaSmi), U8(76), | 
| 283                 B(Star), R(5), | 283                 B(Star), R(5), | 
| 284                 B(CallRuntime), U16(Runtime::kAbort), R(5), U8(1), | 284                 B(CallRuntime), U16(Runtime::kAbort), R(5), U8(1), | 
| 285                 B(LdaSmi), U8(-2), | 285                 B(LdaSmi), U8(-2), | 
| 286                 B(Star), R(4), | 286                 B(Star), R(4), | 
| 287                 B(CreateFunctionContext), U8(9), | 287                 B(CreateFunctionContext), U8(9), | 
| 288                 B(PushContext), R(0), | 288                 B(PushContext), R(0), | 
| 289                 B(Ldar), R(this), | 289                 B(Ldar), R(this), | 
| 290                 B(StaContextSlot), R(context), U8(4), U8(0), | 290                 B(StaContextSlot), R(context), U8(4), U8(0), | 
| 291   /*   11 E> */ B(StackCheck), | 291   /*   11 E> */ B(StackCheck), | 
| 292                 B(Mov), R(context), R(7), | 292                 B(Mov), R(context), R(7), | 
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 338                 B(LdaConstant), U8(2), | 338                 B(LdaConstant), U8(2), | 
| 339   /*   30 E> */ B(LdrKeyedProperty), R(13), U8(4), R(12), | 339   /*   30 E> */ B(LdrKeyedProperty), R(13), U8(4), R(12), | 
| 340   /*   30 E> */ B(Call), R(12), R(13), U8(1), U8(2), | 340   /*   30 E> */ B(Call), R(12), R(13), U8(1), U8(2), | 
| 341   /*   30 E> */ B(StaContextSlot), R(1), U8(7), U8(0), | 341   /*   30 E> */ B(StaContextSlot), R(1), U8(7), U8(0), | 
| 342                 B(LdaSmi), U8(-2), | 342                 B(LdaSmi), U8(-2), | 
| 343                 B(TestEqual), R(4), U8(0), | 343                 B(TestEqual), R(4), U8(0), | 
| 344                 B(JumpIfTrue), U8(18), | 344                 B(JumpIfTrue), U8(18), | 
| 345                 B(LdaSmi), U8(1), | 345                 B(LdaSmi), U8(1), | 
| 346                 B(TestEqualStrict), R(4), U8(0), | 346                 B(TestEqualStrict), R(4), U8(0), | 
| 347                 B(JumpIfTrueConstant), U8(9), | 347                 B(JumpIfTrueConstant), U8(9), | 
| 348                 B(LdaSmi), U8(77), | 348                 B(LdaSmi), U8(76), | 
| 349                 B(Star), R(12), | 349                 B(Star), R(12), | 
| 350                 B(CallRuntime), U16(Runtime::kAbort), R(12), U8(1), | 350                 B(CallRuntime), U16(Runtime::kAbort), R(12), U8(1), | 
| 351   /*   27 S> */ B(LdrContextSlot), R(1), U8(7), U8(0), R(14), | 351   /*   27 S> */ B(LdrContextSlot), R(1), U8(7), U8(0), R(14), | 
| 352                 B(LdrNamedProperty), R(14), U8(4), U8(8), R(13), | 352                 B(LdrNamedProperty), R(14), U8(4), U8(8), R(13), | 
| 353   /*   27 E> */ B(Call), R(13), R(14), U8(1), U8(6), | 353   /*   27 E> */ B(Call), R(13), R(14), U8(1), U8(6), | 
| 354   /*   27 E> */ B(StaContextSlot), R(1), U8(8), U8(0), | 354   /*   27 E> */ B(StaContextSlot), R(1), U8(8), U8(0), | 
| 355                 B(Star), R(12), | 355                 B(Star), R(12), | 
| 356                 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(12), U8(1), | 356                 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(12), U8(1), | 
| 357                 B(ToBooleanLogicalNot), | 357                 B(ToBooleanLogicalNot), | 
| 358                 B(JumpIfFalse), U8(12), | 358                 B(JumpIfFalse), U8(12), | 
| (...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 597   Smi [155], | 597   Smi [155], | 
| 598   Smi [603], | 598   Smi [603], | 
| 599 ] | 599 ] | 
| 600 handlers: [ | 600 handlers: [ | 
| 601   [48, 720, 726], | 601   [48, 720, 726], | 
| 602   [153, 460, 466], | 602   [153, 460, 466], | 
| 603   [156, 416, 418], | 603   [156, 416, 418], | 
| 604   [574, 588, 590], | 604   [574, 588, 590], | 
| 605 ] | 605 ] | 
| 606 | 606 | 
| OLD | NEW | 
|---|