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: 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(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(76), | 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 90 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(28), | 127 B(JumpIfUndefined), U8(28), |
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), U8(0), | 131 B(TestEqualStrict), R(1), U8(0), |
132 B(JumpIfTrue), U8(60), | 132 B(JumpIfTrue), U8(60), |
133 B(LdaSmi), U8(1), | 133 B(LdaSmi), U8(1), |
134 B(TestEqualStrict), R(1), U8(0), | 134 B(TestEqualStrict), R(1), U8(0), |
135 B(JumpIfTrueConstant), U8(0), | 135 B(JumpIfTrueConstant), U8(0), |
136 B(LdaSmi), U8(76), | 136 B(LdaSmi), U8(77), |
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(LdaSmi), U8(-2), | 139 B(LdaSmi), U8(-2), |
140 B(Star), R(1), | 140 B(Star), R(1), |
141 B(CreateFunctionContext), U8(2), | 141 B(CreateFunctionContext), U8(2), |
142 B(PushContext), R(0), | 142 B(PushContext), R(0), |
143 B(Ldar), R(this), | 143 B(Ldar), R(this), |
144 B(StaCurrentContextSlot), U8(4), | 144 B(StaCurrentContextSlot), U8(4), |
145 /* 11 E> */ B(StackCheck), | 145 /* 11 E> */ B(StackCheck), |
146 B(Mov), R(context), R(4), | 146 B(Mov), R(context), R(4), |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
278 B(Ldar), R(new_target), | 278 B(Ldar), R(new_target), |
279 B(JumpIfUndefined), U8(28), | 279 B(JumpIfUndefined), U8(28), |
280 B(ResumeGenerator), R(new_target), | 280 B(ResumeGenerator), R(new_target), |
281 B(Star), R(4), | 281 B(Star), R(4), |
282 B(LdaZero), | 282 B(LdaZero), |
283 B(TestEqualStrict), R(4), U8(0), | 283 B(TestEqualStrict), R(4), U8(0), |
284 B(JumpIfTrue), U8(60), | 284 B(JumpIfTrue), U8(60), |
285 B(LdaSmi), U8(1), | 285 B(LdaSmi), U8(1), |
286 B(TestEqualStrict), R(4), U8(0), | 286 B(TestEqualStrict), R(4), U8(0), |
287 B(JumpIfTrueConstant), U8(3), | 287 B(JumpIfTrueConstant), U8(3), |
288 B(LdaSmi), U8(76), | 288 B(LdaSmi), U8(77), |
289 B(Star), R(5), | 289 B(Star), R(5), |
290 B(CallRuntime), U16(Runtime::kAbort), R(5), U8(1), | 290 B(CallRuntime), U16(Runtime::kAbort), R(5), U8(1), |
291 B(LdaSmi), U8(-2), | 291 B(LdaSmi), U8(-2), |
292 B(Star), R(4), | 292 B(Star), R(4), |
293 B(CreateFunctionContext), U8(9), | 293 B(CreateFunctionContext), U8(9), |
294 B(PushContext), R(0), | 294 B(PushContext), R(0), |
295 B(Ldar), R(this), | 295 B(Ldar), R(this), |
296 B(StaCurrentContextSlot), U8(4), | 296 B(StaCurrentContextSlot), U8(4), |
297 /* 11 E> */ B(StackCheck), | 297 /* 11 E> */ B(StackCheck), |
298 B(Mov), R(context), R(7), | 298 B(Mov), R(context), R(7), |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
346 /* 30 E> */ B(LdaKeyedProperty), R(13), U8(4), | 346 /* 30 E> */ B(LdaKeyedProperty), R(13), U8(4), |
347 B(Star), R(12), | 347 B(Star), R(12), |
348 /* 30 E> */ B(CallProperty), R(12), R(13), U8(1), U8(2), | 348 /* 30 E> */ B(CallProperty), R(12), R(13), U8(1), U8(2), |
349 /* 30 E> */ B(StaContextSlot), R(1), U8(7), U8(0), | 349 /* 30 E> */ B(StaContextSlot), R(1), U8(7), U8(0), |
350 B(LdaSmi), U8(-2), | 350 B(LdaSmi), U8(-2), |
351 B(TestEqual), R(4), U8(0), | 351 B(TestEqual), R(4), U8(0), |
352 B(JumpIfTrue), U8(18), | 352 B(JumpIfTrue), U8(18), |
353 B(LdaSmi), U8(1), | 353 B(LdaSmi), U8(1), |
354 B(TestEqualStrict), R(4), U8(0), | 354 B(TestEqualStrict), R(4), U8(0), |
355 B(JumpIfTrueConstant), U8(8), | 355 B(JumpIfTrueConstant), U8(8), |
356 B(LdaSmi), U8(76), | 356 B(LdaSmi), U8(77), |
357 B(Star), R(12), | 357 B(Star), R(12), |
358 B(CallRuntime), U16(Runtime::kAbort), R(12), U8(1), | 358 B(CallRuntime), U16(Runtime::kAbort), R(12), U8(1), |
359 /* 27 S> */ B(LdaContextSlot), R(1), U8(7), U8(0), | 359 /* 27 S> */ B(LdaContextSlot), R(1), U8(7), U8(0), |
360 B(Star), R(14), | 360 B(Star), R(14), |
361 B(LdaNamedProperty), R(14), U8(4), U8(8), | 361 B(LdaNamedProperty), R(14), U8(4), U8(8), |
362 B(Star), R(13), | 362 B(Star), R(13), |
363 /* 27 E> */ B(CallProperty), R(13), R(14), U8(1), U8(6), | 363 /* 27 E> */ B(CallProperty), R(13), R(14), U8(1), U8(6), |
364 /* 27 E> */ B(StaContextSlot), R(1), U8(8), U8(0), | 364 /* 27 E> */ B(StaContextSlot), R(1), U8(8), U8(0), |
365 B(Star), R(12), | 365 B(Star), R(12), |
366 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(12), U8(1), | 366 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(12), U8(1), |
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
620 Smi [164], | 620 Smi [164], |
621 Smi [601], | 621 Smi [601], |
622 ] | 622 ] |
623 handlers: [ | 623 handlers: [ |
624 [46, 710, 716], | 624 [46, 710, 716], |
625 [143, 438, 444], | 625 [143, 438, 444], |
626 [146, 394, 396], | 626 [146, 394, 396], |
627 [557, 573, 575], | 627 [557, 573, 575], |
628 ] | 628 ] |
629 | 629 |
OLD | NEW |