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: 12 | 14 frame size: 12 |
15 parameter count: 1 | 15 parameter count: 1 |
16 bytecode array length: 204 | 16 bytecode array length: 204 |
17 bytecodes: [ | 17 bytecodes: [ |
18 B(Ldar), R(new_target), | 18 B(Ldar), R(new_target), |
19 B(JumpIfUndefined), U8(28), | 19 B(JumpIfUndefined), U8(28), |
20 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe
t), U8(1), | 20 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe
t), U8(1), |
21 B(PushContext), R(2), | 21 B(PushContext), R(2), |
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), U8(0), | 25 B(TestEqualStrict), R(1), U8(0), |
26 B(JumpIfTrue), U8(53), | 26 B(JumpIfTrue), U8(53), |
27 B(LdaSmi), U8(77), | 27 B(LdaSmi), U8(78), |
28 B(Star), R(3), | 28 B(Star), R(3), |
29 B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1), | 29 B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1), |
30 B(LdaSmi), U8(-2), | 30 B(LdaSmi), U8(-2), |
31 B(Star), R(1), | 31 B(Star), R(1), |
32 B(CreateFunctionContext), U8(2), | 32 B(CreateFunctionContext), U8(2), |
33 B(PushContext), R(0), | 33 B(PushContext), R(0), |
34 B(Ldar), R(this), | 34 B(Ldar), R(this), |
35 B(StaCurrentContextSlot), U8(4), | 35 B(StaCurrentContextSlot), U8(4), |
36 /* 11 E> */ B(StackCheck), | 36 /* 11 E> */ B(StackCheck), |
37 B(Mov), R(context), R(5), | 37 B(Mov), R(context), R(5), |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe
t), U8(1), | 132 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe
t), U8(1), |
133 B(PushContext), R(2), | 133 B(PushContext), R(2), |
134 B(ResumeGenerator), R(new_target), | 134 B(ResumeGenerator), R(new_target), |
135 B(Star), R(1), | 135 B(Star), R(1), |
136 B(LdaZero), | 136 B(LdaZero), |
137 B(TestEqualStrict), R(1), U8(0), | 137 B(TestEqualStrict), R(1), U8(0), |
138 B(JumpIfTrue), U8(60), | 138 B(JumpIfTrue), U8(60), |
139 B(LdaSmi), U8(1), | 139 B(LdaSmi), U8(1), |
140 B(TestEqualStrict), R(1), U8(0), | 140 B(TestEqualStrict), R(1), U8(0), |
141 B(JumpIfTrueConstant), U8(0), | 141 B(JumpIfTrueConstant), U8(0), |
142 B(LdaSmi), U8(77), | 142 B(LdaSmi), U8(78), |
143 B(Star), R(3), | 143 B(Star), R(3), |
144 B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1), | 144 B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1), |
145 B(LdaSmi), U8(-2), | 145 B(LdaSmi), U8(-2), |
146 B(Star), R(1), | 146 B(Star), R(1), |
147 B(CreateFunctionContext), U8(2), | 147 B(CreateFunctionContext), U8(2), |
148 B(PushContext), R(0), | 148 B(PushContext), R(0), |
149 B(Ldar), R(this), | 149 B(Ldar), R(this), |
150 B(StaCurrentContextSlot), U8(4), | 150 B(StaCurrentContextSlot), U8(4), |
151 /* 11 E> */ B(StackCheck), | 151 /* 11 E> */ B(StackCheck), |
152 B(Mov), R(context), R(5), | 152 B(Mov), R(context), R(5), |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
288 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe
t), U8(1), | 288 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe
t), U8(1), |
289 B(PushContext), R(4), | 289 B(PushContext), R(4), |
290 B(ResumeGenerator), R(new_target), | 290 B(ResumeGenerator), R(new_target), |
291 B(Star), R(3), | 291 B(Star), R(3), |
292 B(LdaZero), | 292 B(LdaZero), |
293 B(TestEqualStrict), R(3), U8(0), | 293 B(TestEqualStrict), R(3), U8(0), |
294 B(JumpIfTrue), U8(60), | 294 B(JumpIfTrue), U8(60), |
295 B(LdaSmi), U8(1), | 295 B(LdaSmi), U8(1), |
296 B(TestEqualStrict), R(3), U8(0), | 296 B(TestEqualStrict), R(3), U8(0), |
297 B(JumpIfTrueConstant), U8(3), | 297 B(JumpIfTrueConstant), U8(3), |
298 B(LdaSmi), U8(77), | 298 B(LdaSmi), U8(78), |
299 B(Star), R(5), | 299 B(Star), R(5), |
300 B(CallRuntime), U16(Runtime::kAbort), R(5), U8(1), | 300 B(CallRuntime), U16(Runtime::kAbort), R(5), U8(1), |
301 B(LdaSmi), U8(-2), | 301 B(LdaSmi), U8(-2), |
302 B(Star), R(3), | 302 B(Star), R(3), |
303 B(CreateFunctionContext), U8(9), | 303 B(CreateFunctionContext), U8(9), |
304 B(PushContext), R(0), | 304 B(PushContext), R(0), |
305 B(Ldar), R(this), | 305 B(Ldar), R(this), |
306 B(StaCurrentContextSlot), U8(4), | 306 B(StaCurrentContextSlot), U8(4), |
307 /* 11 E> */ B(StackCheck), | 307 /* 11 E> */ B(StackCheck), |
308 B(Mov), R(context), R(7), | 308 B(Mov), R(context), R(7), |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
357 B(CallProperty), R(13), R(12), U8(1), U8(4), | 357 B(CallProperty), R(13), R(12), U8(1), U8(4), |
358 B(JumpIfJSReceiver), U8(7), | 358 B(JumpIfJSReceiver), U8(7), |
359 B(CallRuntime), U16(Runtime::kThrowSymbolIteratorInvalid), R(0),
U8(0), | 359 B(CallRuntime), U16(Runtime::kThrowSymbolIteratorInvalid), R(0),
U8(0), |
360 /* 30 E> */ B(StaContextSlot), R(1), U8(7), U8(0), | 360 /* 30 E> */ B(StaContextSlot), R(1), U8(7), U8(0), |
361 B(LdaSmi), U8(-2), | 361 B(LdaSmi), U8(-2), |
362 B(TestEqual), R(3), U8(0), | 362 B(TestEqual), R(3), U8(0), |
363 B(JumpIfTrue), U8(18), | 363 B(JumpIfTrue), U8(18), |
364 B(LdaSmi), U8(1), | 364 B(LdaSmi), U8(1), |
365 B(TestEqualStrict), R(3), U8(0), | 365 B(TestEqualStrict), R(3), U8(0), |
366 B(JumpIfTrueConstant), U8(8), | 366 B(JumpIfTrueConstant), U8(8), |
367 B(LdaSmi), U8(77), | 367 B(LdaSmi), U8(78), |
368 B(Star), R(12), | 368 B(Star), R(12), |
369 B(CallRuntime), U16(Runtime::kAbort), R(12), U8(1), | 369 B(CallRuntime), U16(Runtime::kAbort), R(12), U8(1), |
370 /* 27 S> */ B(LdaContextSlot), R(1), U8(7), U8(0), | 370 /* 27 S> */ B(LdaContextSlot), R(1), U8(7), U8(0), |
371 B(Star), R(13), | 371 B(Star), R(13), |
372 B(LdaNamedProperty), R(13), U8(4), U8(8), | 372 B(LdaNamedProperty), R(13), U8(4), U8(8), |
373 B(Star), R(12), | 373 B(Star), R(12), |
374 /* 27 E> */ B(CallProperty), R(12), R(13), U8(1), U8(6), | 374 /* 27 E> */ B(CallProperty), R(12), R(13), U8(1), U8(6), |
375 /* 27 E> */ B(StaContextSlot), R(1), U8(8), U8(0), | 375 /* 27 E> */ B(StaContextSlot), R(1), U8(8), U8(0), |
376 B(Star), R(12), | 376 B(Star), R(12), |
377 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(12), U8(1), | 377 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(12), U8(1), |
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
629 Smi [159], | 629 Smi [159], |
630 Smi [582], | 630 Smi [582], |
631 ] | 631 ] |
632 handlers: [ | 632 handlers: [ |
633 [53, 697, 703], | 633 [53, 697, 703], |
634 [149, 448, 454], | 634 [149, 448, 454], |
635 [152, 404, 406], | 635 [152, 404, 406], |
636 [550, 566, 568], | 636 [550, 566, 568], |
637 ] | 637 ] |
638 | 638 |
OLD | NEW |