Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(643)

Side by Side Diff: test/cctest/interpreter/bytecode_expectations/Generators.golden

Issue 2703563002: [ESNext] Implement DynamicImportCall (Closed)
Patch Set: use function_closure Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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), I8(78), 27 B(LdaSmi), I8(79),
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), I8(-2), 30 B(LdaSmi), I8(-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
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), I8(1), 139 B(LdaSmi), I8(1),
140 B(TestEqualStrict), R(1), U8(0), 140 B(TestEqualStrict), R(1), U8(0),
141 B(JumpIfTrue), U8(130), 141 B(JumpIfTrue), U8(130),
142 B(LdaSmi), I8(78), 142 B(LdaSmi), I8(79),
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), I8(-2), 145 B(LdaSmi), I8(-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 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe t), U8(1), 287 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe t), U8(1),
288 B(PushContext), R(4), 288 B(PushContext), R(4),
289 B(ResumeGenerator), R(new_target), 289 B(ResumeGenerator), R(new_target),
290 B(Star), R(3), 290 B(Star), R(3),
291 B(LdaZero), 291 B(LdaZero),
292 B(TestEqualStrict), R(3), U8(0), 292 B(TestEqualStrict), R(3), U8(0),
293 B(JumpIfTrue), U8(60), 293 B(JumpIfTrue), U8(60),
294 B(LdaSmi), I8(1), 294 B(LdaSmi), I8(1),
295 B(TestEqualStrict), R(3), U8(0), 295 B(TestEqualStrict), R(3), U8(0),
296 B(JumpIfTrue), U8(153), 296 B(JumpIfTrue), U8(153),
297 B(LdaSmi), I8(78), 297 B(LdaSmi), I8(79),
298 B(Star), R(5), 298 B(Star), R(5),
299 B(CallRuntime), U16(Runtime::kAbort), R(5), U8(1), 299 B(CallRuntime), U16(Runtime::kAbort), R(5), U8(1),
300 B(LdaSmi), I8(-2), 300 B(LdaSmi), I8(-2),
301 B(Star), R(3), 301 B(Star), R(3),
302 B(CreateFunctionContext), U8(9), 302 B(CreateFunctionContext), U8(9),
303 B(PushContext), R(0), 303 B(PushContext), R(0),
304 B(Ldar), R(this), 304 B(Ldar), R(this),
305 B(StaCurrentContextSlot), U8(4), 305 B(StaCurrentContextSlot), U8(4),
306 /* 11 E> */ B(StackCheck), 306 /* 11 E> */ B(StackCheck),
307 B(Mov), R(context), R(7), 307 B(Mov), R(context), R(7),
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
356 B(CallProperty0), R(13), R(12), U8(5), 356 B(CallProperty0), R(13), R(12), U8(5),
357 B(JumpIfJSReceiver), U8(7), 357 B(JumpIfJSReceiver), U8(7),
358 B(CallRuntime), U16(Runtime::kThrowSymbolIteratorInvalid), R(0), U8(0), 358 B(CallRuntime), U16(Runtime::kThrowSymbolIteratorInvalid), R(0), U8(0),
359 /* 30 E> */ B(StaContextSlot), R(1), U8(7), U8(0), 359 /* 30 E> */ B(StaContextSlot), R(1), U8(7), U8(0),
360 B(LdaSmi), I8(-2), 360 B(LdaSmi), I8(-2),
361 B(TestEqual), R(3), U8(0), 361 B(TestEqual), R(3), U8(0),
362 B(JumpIfTrue), U8(18), 362 B(JumpIfTrue), U8(18),
363 B(LdaSmi), I8(1), 363 B(LdaSmi), I8(1),
364 B(TestEqualStrict), R(3), U8(0), 364 B(TestEqualStrict), R(3), U8(0),
365 B(JumpIfTrue), U8(133), 365 B(JumpIfTrue), U8(133),
366 B(LdaSmi), I8(78), 366 B(LdaSmi), I8(79),
367 B(Star), R(12), 367 B(Star), R(12),
368 B(CallRuntime), U16(Runtime::kAbort), R(12), U8(1), 368 B(CallRuntime), U16(Runtime::kAbort), R(12), U8(1),
369 /* 27 S> */ B(LdaContextSlot), R(1), U8(7), U8(0), 369 /* 27 S> */ B(LdaContextSlot), R(1), U8(7), U8(0),
370 B(Star), R(13), 370 B(Star), R(13),
371 B(LdaNamedProperty), R(13), U8(3), U8(9), 371 B(LdaNamedProperty), R(13), U8(3), U8(9),
372 B(Star), R(12), 372 B(Star), R(12),
373 /* 27 E> */ B(CallProperty0), R(12), R(13), U8(7), 373 /* 27 E> */ B(CallProperty0), R(12), R(13), U8(7),
374 /* 27 E> */ B(StaContextSlot), R(1), U8(8), U8(0), 374 /* 27 E> */ B(StaContextSlot), R(1), U8(8), U8(0),
375 B(Star), R(12), 375 B(Star), R(12),
376 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(12), U8(1), 376 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(12), U8(1),
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
619 FIXED_ARRAY_TYPE, 619 FIXED_ARRAY_TYPE,
620 Smi [571], 620 Smi [571],
621 ] 621 ]
622 handlers: [ 622 handlers: [
623 [53, 686, 692], 623 [53, 686, 692],
624 [149, 443, 449], 624 [149, 443, 449],
625 [152, 399, 401], 625 [152, 399, 401],
626 [539, 555, 557], 626 [539, 555, 557],
627 ] 627 ]
628 628
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698