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 ignition generators: yes | 10 ignition generators: yes |
11 | 11 |
12 --- | 12 --- |
13 snippet: " | 13 snippet: " |
14 function* f() { } | 14 function* f() { } |
15 " | 15 " |
16 frame size: 11 | 16 frame size: 11 |
17 parameter count: 1 | 17 parameter count: 1 |
18 bytecode array length: 203 | 18 bytecode array length: 203 |
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(57), | 26 B(JumpIfTrue), U8(57), |
27 B(LdaSmi), U8(80), | 27 B(LdaSmi), U8(79), |
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(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U
8(1), | 30 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U
8(1), |
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 B(Ldar), R(closure), | 36 B(Ldar), R(closure), |
37 B(Star), R(5), | 37 B(Star), R(5), |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 B(Ldar), R(new_target), | 126 B(Ldar), R(new_target), |
127 B(JumpIfUndefined), U8(26), | 127 B(JumpIfUndefined), U8(26), |
128 B(ResumeGenerator), R(new_target), | 128 B(ResumeGenerator), R(new_target), |
129 B(Star), R(1), | 129 B(Star), R(1), |
130 B(LdaZero), | 130 B(LdaZero), |
131 B(TestEqualStrict), R(1), | 131 B(TestEqualStrict), R(1), |
132 B(JumpIfTrue), U8(63), | 132 B(JumpIfTrue), U8(63), |
133 B(LdaSmi), U8(1), | 133 B(LdaSmi), U8(1), |
134 B(TestEqualStrict), R(1), | 134 B(TestEqualStrict), R(1), |
135 B(JumpIfTrueConstant), U8(0), | 135 B(JumpIfTrueConstant), U8(0), |
136 B(LdaSmi), U8(80), | 136 B(LdaSmi), U8(79), |
137 B(Star), R(2), | 137 B(Star), R(2), |
138 B(CallRuntime), U16(Runtime::kAbort), R(2), U8(1), | 138 B(CallRuntime), U16(Runtime::kAbort), R(2), U8(1), |
139 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U
8(1), | 139 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U
8(1), |
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), | 142 B(StaContextSlot), R(context), U8(4), |
143 /* 11 E> */ B(StackCheck), | 143 /* 11 E> */ B(StackCheck), |
144 B(Mov), R(context), R(4), | 144 B(Mov), R(context), R(4), |
145 B(Ldar), R(closure), | 145 B(Ldar), R(closure), |
146 B(Star), R(5), | 146 B(Star), R(5), |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
276 B(Ldar), R(new_target), | 276 B(Ldar), R(new_target), |
277 B(JumpIfUndefined), U8(26), | 277 B(JumpIfUndefined), U8(26), |
278 B(ResumeGenerator), R(new_target), | 278 B(ResumeGenerator), R(new_target), |
279 B(Star), R(3), | 279 B(Star), R(3), |
280 B(LdaZero), | 280 B(LdaZero), |
281 B(TestEqualStrict), R(3), | 281 B(TestEqualStrict), R(3), |
282 B(JumpIfTrue), U8(63), | 282 B(JumpIfTrue), U8(63), |
283 B(LdaSmi), U8(1), | 283 B(LdaSmi), U8(1), |
284 B(TestEqualStrict), R(3), | 284 B(TestEqualStrict), R(3), |
285 B(JumpIfTrueConstant), U8(3), | 285 B(JumpIfTrueConstant), U8(3), |
286 B(LdaSmi), U8(80), | 286 B(LdaSmi), U8(79), |
287 B(Star), R(4), | 287 B(Star), R(4), |
288 B(CallRuntime), U16(Runtime::kAbort), R(4), U8(1), | 288 B(CallRuntime), U16(Runtime::kAbort), R(4), U8(1), |
289 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U
8(1), | 289 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U
8(1), |
290 B(PushContext), R(0), | 290 B(PushContext), R(0), |
291 B(Ldar), R(this), | 291 B(Ldar), R(this), |
292 B(StaContextSlot), R(context), U8(4), | 292 B(StaContextSlot), R(context), U8(4), |
293 /* 11 E> */ B(StackCheck), | 293 /* 11 E> */ B(StackCheck), |
294 B(Mov), R(context), R(6), | 294 B(Mov), R(context), R(6), |
295 B(Ldar), R(closure), | 295 B(Ldar), R(closure), |
296 B(Star), R(7), | 296 B(Star), R(7), |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
348 B(KeyedLoadIC), R(12), U8(3), | 348 B(KeyedLoadIC), R(12), U8(3), |
349 B(Star), R(11), | 349 B(Star), R(11), |
350 /* 30 E> */ B(Call), R(11), R(12), U8(1), U8(1), | 350 /* 30 E> */ B(Call), R(11), R(12), U8(1), U8(1), |
351 /* 30 E> */ B(StaContextSlot), R(1), U8(7), | 351 /* 30 E> */ B(StaContextSlot), R(1), U8(7), |
352 B(LdaSmi), U8(-2), | 352 B(LdaSmi), U8(-2), |
353 B(TestEqual), R(3), | 353 B(TestEqual), R(3), |
354 B(JumpIfTrue), U8(17), | 354 B(JumpIfTrue), U8(17), |
355 B(LdaSmi), U8(1), | 355 B(LdaSmi), U8(1), |
356 B(TestEqualStrict), R(3), | 356 B(TestEqualStrict), R(3), |
357 B(JumpIfTrueConstant), U8(9), | 357 B(JumpIfTrueConstant), U8(9), |
358 B(LdaSmi), U8(80), | 358 B(LdaSmi), U8(79), |
359 B(Star), R(11), | 359 B(Star), R(11), |
360 B(CallRuntime), U16(Runtime::kAbort), R(11), U8(1), | 360 B(CallRuntime), U16(Runtime::kAbort), R(11), U8(1), |
361 /* 27 S> */ B(LdaContextSlot), R(1), U8(7), | 361 /* 27 S> */ B(LdaContextSlot), R(1), U8(7), |
362 B(Star), R(13), | 362 B(Star), R(13), |
363 B(LoadIC), R(13), U8(4), U8(7), | 363 B(LoadIC), R(13), U8(4), U8(7), |
364 B(Star), R(12), | 364 B(Star), R(12), |
365 /* 27 E> */ B(Call), R(12), R(13), U8(1), U8(5), | 365 /* 27 E> */ B(Call), R(12), R(13), U8(1), U8(5), |
366 /* 27 E> */ B(StaContextSlot), R(1), U8(8), | 366 /* 27 E> */ B(StaContextSlot), R(1), U8(8), |
367 B(Star), R(11), | 367 B(Star), R(11), |
368 B(InvokeIntrinsic), U16(Runtime::k_IsJSReceiver), R(11), U8(1), | 368 B(InvokeIntrinsic), U16(Runtime::k_IsJSReceiver), R(11), U8(1), |
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
637 kInstanceTypeDontCare, | 637 kInstanceTypeDontCare, |
638 kInstanceTypeDontCare, | 638 kInstanceTypeDontCare, |
639 ] | 639 ] |
640 handlers: [ | 640 handlers: [ |
641 [44, 726, 732], | 641 [44, 726, 732], |
642 [156, 462, 468], | 642 [156, 462, 468], |
643 [159, 413, 415], | 643 [159, 413, 415], |
644 [570, 585, 587], | 644 [570, 585, 587], |
645 ] | 645 ] |
646 | 646 |
OLD | NEW |