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: 212 | 16 bytecode array length: 212 |
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(61), | 24 B(JumpIfTrue), U8(61), |
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(StaContextSlot), R(context), U8(4), U8(0), | 33 B(StaContextSlot), R(context), U8(4), U8(0), |
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 87 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(28), | 124 B(JumpIfUndefined), U8(28), |
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), U8(0), | 128 B(TestEqualStrict), R(1), U8(0), |
129 B(JumpIfTrue), U8(68), | 129 B(JumpIfTrue), U8(68), |
130 B(LdaSmi), U8(1), | 130 B(LdaSmi), U8(1), |
131 B(TestEqualStrict), R(1), U8(0), | 131 B(TestEqualStrict), R(1), U8(0), |
132 B(JumpIfTrueConstant), U8(0), | 132 B(JumpIfTrueConstant), U8(0), |
133 B(LdaSmi), U8(76), | 133 B(LdaSmi), U8(77), |
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(LdaSmi), U8(-2), | 136 B(LdaSmi), U8(-2), |
137 B(Star), R(1), | 137 B(Star), R(1), |
138 B(CreateFunctionContext), U8(2), | 138 B(CreateFunctionContext), U8(2), |
139 B(PushContext), R(0), | 139 B(PushContext), R(0), |
140 B(Ldar), R(this), | 140 B(Ldar), R(this), |
141 B(StaContextSlot), R(context), U8(4), U8(0), | 141 B(StaContextSlot), R(context), U8(4), U8(0), |
142 /* 11 E> */ B(StackCheck), | 142 /* 11 E> */ B(StackCheck), |
143 B(Mov), R(context), R(4), | 143 B(Mov), R(context), R(4), |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
271 B(Ldar), R(new_target), | 271 B(Ldar), R(new_target), |
272 B(JumpIfUndefined), U8(28), | 272 B(JumpIfUndefined), U8(28), |
273 B(ResumeGenerator), R(new_target), | 273 B(ResumeGenerator), R(new_target), |
274 B(Star), R(4), | 274 B(Star), R(4), |
275 B(LdaZero), | 275 B(LdaZero), |
276 B(TestEqualStrict), R(4), U8(0), | 276 B(TestEqualStrict), R(4), U8(0), |
277 B(JumpIfTrue), U8(68), | 277 B(JumpIfTrue), U8(68), |
278 B(LdaSmi), U8(1), | 278 B(LdaSmi), U8(1), |
279 B(TestEqualStrict), R(4), U8(0), | 279 B(TestEqualStrict), R(4), U8(0), |
280 B(JumpIfTrueConstant), U8(3), | 280 B(JumpIfTrueConstant), U8(3), |
281 B(LdaSmi), U8(76), | 281 B(LdaSmi), U8(77), |
282 B(Star), R(5), | 282 B(Star), R(5), |
283 B(CallRuntime), U16(Runtime::kAbort), R(5), U8(1), | 283 B(CallRuntime), U16(Runtime::kAbort), R(5), U8(1), |
284 B(LdaSmi), U8(-2), | 284 B(LdaSmi), U8(-2), |
285 B(Star), R(4), | 285 B(Star), R(4), |
286 B(CreateFunctionContext), U8(9), | 286 B(CreateFunctionContext), U8(9), |
287 B(PushContext), R(0), | 287 B(PushContext), R(0), |
288 B(Ldar), R(this), | 288 B(Ldar), R(this), |
289 B(StaContextSlot), R(context), U8(4), U8(0), | 289 B(StaContextSlot), R(context), U8(4), U8(0), |
290 /* 11 E> */ B(StackCheck), | 290 /* 11 E> */ B(StackCheck), |
291 B(Mov), R(context), R(7), | 291 B(Mov), R(context), R(7), |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
337 B(LdaConstant), U8(2), | 337 B(LdaConstant), U8(2), |
338 /* 30 E> */ B(LdrKeyedProperty), R(13), U8(4), R(12), | 338 /* 30 E> */ B(LdrKeyedProperty), R(13), U8(4), R(12), |
339 /* 30 E> */ B(Call), R(12), R(13), U8(1), U8(2), | 339 /* 30 E> */ B(Call), R(12), R(13), U8(1), U8(2), |
340 /* 30 E> */ B(StaContextSlot), R(1), U8(7), U8(0), | 340 /* 30 E> */ B(StaContextSlot), R(1), U8(7), U8(0), |
341 B(LdaSmi), U8(-2), | 341 B(LdaSmi), U8(-2), |
342 B(TestEqual), R(4), U8(0), | 342 B(TestEqual), R(4), U8(0), |
343 B(JumpIfTrue), U8(18), | 343 B(JumpIfTrue), U8(18), |
344 B(LdaSmi), U8(1), | 344 B(LdaSmi), U8(1), |
345 B(TestEqualStrict), R(4), U8(0), | 345 B(TestEqualStrict), R(4), U8(0), |
346 B(JumpIfTrueConstant), U8(9), | 346 B(JumpIfTrueConstant), U8(9), |
347 B(LdaSmi), U8(76), | 347 B(LdaSmi), U8(77), |
348 B(Star), R(12), | 348 B(Star), R(12), |
349 B(CallRuntime), U16(Runtime::kAbort), R(12), U8(1), | 349 B(CallRuntime), U16(Runtime::kAbort), R(12), U8(1), |
350 /* 27 S> */ B(LdrContextSlot), R(1), U8(7), U8(0), R(14), | 350 /* 27 S> */ B(LdrContextSlot), R(1), U8(7), U8(0), R(14), |
351 B(LdrNamedProperty), R(14), U8(4), U8(8), R(13), | 351 B(LdrNamedProperty), R(14), U8(4), U8(8), R(13), |
352 /* 27 E> */ B(Call), R(13), R(14), U8(1), U8(6), | 352 /* 27 E> */ B(Call), R(13), R(14), U8(1), U8(6), |
353 /* 27 E> */ B(StaContextSlot), R(1), U8(8), U8(0), | 353 /* 27 E> */ B(StaContextSlot), R(1), U8(8), U8(0), |
354 B(Star), R(12), | 354 B(Star), R(12), |
355 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(12), U8(1), | 355 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(12), U8(1), |
356 B(ToBooleanLogicalNot), | 356 B(ToBooleanLogicalNot), |
357 B(JumpIfFalse), U8(12), | 357 B(JumpIfFalse), U8(12), |
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
595 Smi [155], | 595 Smi [155], |
596 Smi [601], | 596 Smi [601], |
597 ] | 597 ] |
598 handlers: [ | 598 handlers: [ |
599 [48, 718, 724], | 599 [48, 718, 724], |
600 [153, 458, 464], | 600 [153, 458, 464], |
601 [156, 414, 416], | 601 [156, 414, 416], |
602 [572, 586, 588], | 602 [572, 586, 588], |
603 ] | 603 ] |
604 | 604 |
OLD | NEW |