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

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

Issue 2108193003: [modules] AST and parser rework. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@anonymous-declarations
Patch Set: Rebase. Created 4 years, 5 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
« no previous file with comments | « src/parsing/pattern-rewriter.cc ('k') | test/cctest/test-parsing.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 f(); 15 f();
16 " 16 "
17 frame size: 11 17 frame size: 11
18 parameter count: 1 18 parameter count: 1
19 bytecode array length: 200 19 bytecode array length: 200
20 bytecodes: [ 20 bytecodes: [
21 B(Ldar), R(new_target), 21 B(Ldar), R(new_target),
22 B(JumpIfUndefined), U8(20), 22 B(JumpIfUndefined), U8(20),
23 B(ResumeGenerator), R(new_target), 23 B(ResumeGenerator), R(new_target),
24 B(Star), R(1), 24 B(Star), R(1),
25 B(LdaZero), 25 B(LdaZero),
26 B(TestEqualStrict), R(1), 26 B(TestEqualStrict), R(1),
27 B(JumpIfTrue), U8(56), 27 B(JumpIfTrue), U8(56),
28 B(LdaSmi), U8(76), 28 B(LdaSmi), U8(75),
29 B(Star), R(2), 29 B(Star), R(2),
30 B(CallRuntime), U16(Runtime::kAbort), R(2), U8(1), 30 B(CallRuntime), U16(Runtime::kAbort), R(2), U8(1),
31 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U 8(1), 31 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U 8(1),
32 B(PushContext), R(0), 32 B(PushContext), R(0),
33 B(Ldar), R(this), 33 B(Ldar), R(this),
34 B(StaContextSlot), R(context), U8(4), 34 B(StaContextSlot), R(context), U8(4),
35 /* 11 E> */ B(StackCheck), 35 /* 11 E> */ B(StackCheck),
36 B(Mov), R(context), R(4), 36 B(Mov), R(context), R(4),
37 /* 11 E> */ B(LdrContextSlot), R(context), U8(4), R(6), 37 /* 11 E> */ B(LdrContextSlot), R(context), U8(4), R(6),
38 B(Ldar), R(6), 38 B(Ldar), R(6),
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 B(Ldar), R(new_target), 124 B(Ldar), R(new_target),
125 B(JumpIfUndefined), U8(26), 125 B(JumpIfUndefined), U8(26),
126 B(ResumeGenerator), R(new_target), 126 B(ResumeGenerator), R(new_target),
127 B(Star), R(1), 127 B(Star), R(1),
128 B(LdaZero), 128 B(LdaZero),
129 B(TestEqualStrict), R(1), 129 B(TestEqualStrict), R(1),
130 B(JumpIfTrue), U8(62), 130 B(JumpIfTrue), U8(62),
131 B(LdaSmi), U8(1), 131 B(LdaSmi), U8(1),
132 B(TestEqualStrict), R(1), 132 B(TestEqualStrict), R(1),
133 B(JumpIfTrueConstant), U8(0), 133 B(JumpIfTrueConstant), U8(0),
134 B(LdaSmi), U8(76), 134 B(LdaSmi), U8(75),
135 B(Star), R(2), 135 B(Star), R(2),
136 B(CallRuntime), U16(Runtime::kAbort), R(2), U8(1), 136 B(CallRuntime), U16(Runtime::kAbort), R(2), U8(1),
137 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U 8(1), 137 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U 8(1),
138 B(PushContext), R(0), 138 B(PushContext), R(0),
139 B(Ldar), R(this), 139 B(Ldar), R(this),
140 B(StaContextSlot), R(context), U8(4), 140 B(StaContextSlot), R(context), U8(4),
141 /* 11 E> */ B(StackCheck), 141 /* 11 E> */ B(StackCheck),
142 B(Mov), R(context), R(4), 142 B(Mov), R(context), R(4),
143 /* 11 E> */ B(LdrContextSlot), R(context), U8(4), R(6), 143 /* 11 E> */ B(LdrContextSlot), R(context), U8(4), R(6),
144 B(Ldar), R(6), 144 B(Ldar), R(6),
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 B(Ldar), R(new_target), 270 B(Ldar), R(new_target),
271 B(JumpIfUndefined), U8(26), 271 B(JumpIfUndefined), U8(26),
272 B(ResumeGenerator), R(new_target), 272 B(ResumeGenerator), R(new_target),
273 B(Star), R(4), 273 B(Star), R(4),
274 B(LdaZero), 274 B(LdaZero),
275 B(TestEqualStrict), R(4), 275 B(TestEqualStrict), R(4),
276 B(JumpIfTrue), U8(62), 276 B(JumpIfTrue), U8(62),
277 B(LdaSmi), U8(1), 277 B(LdaSmi), U8(1),
278 B(TestEqualStrict), R(4), 278 B(TestEqualStrict), R(4),
279 B(JumpIfTrueConstant), U8(3), 279 B(JumpIfTrueConstant), U8(3),
280 B(LdaSmi), U8(76), 280 B(LdaSmi), U8(75),
281 B(Star), R(5), 281 B(Star), R(5),
282 B(CallRuntime), U16(Runtime::kAbort), R(5), U8(1), 282 B(CallRuntime), U16(Runtime::kAbort), R(5), U8(1),
283 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U 8(1), 283 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U 8(1),
284 B(PushContext), R(0), 284 B(PushContext), R(0),
285 B(Ldar), R(this), 285 B(Ldar), R(this),
286 B(StaContextSlot), R(context), U8(4), 286 B(StaContextSlot), R(context), U8(4),
287 /* 11 E> */ B(StackCheck), 287 /* 11 E> */ B(StackCheck),
288 B(Mov), R(context), R(7), 288 B(Mov), R(context), R(7),
289 /* 11 E> */ B(LdrContextSlot), R(context), U8(4), R(9), 289 /* 11 E> */ B(LdrContextSlot), R(context), U8(4), R(9),
290 B(Ldar), R(9), 290 B(Ldar), R(9),
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
336 B(LdaConstant), U8(2), 336 B(LdaConstant), U8(2),
337 /* 30 E> */ B(LdrKeyedProperty), R(13), U8(3), R(12), 337 /* 30 E> */ B(LdrKeyedProperty), R(13), U8(3), R(12),
338 /* 30 E> */ B(Call), R(12), R(13), U8(1), U8(1), 338 /* 30 E> */ B(Call), R(12), R(13), U8(1), U8(1),
339 /* 30 E> */ B(StaContextSlot), R(1), U8(7), 339 /* 30 E> */ B(StaContextSlot), R(1), U8(7),
340 B(LdaSmi), U8(-2), 340 B(LdaSmi), U8(-2),
341 B(TestEqual), R(4), 341 B(TestEqual), R(4),
342 B(JumpIfTrue), U8(17), 342 B(JumpIfTrue), U8(17),
343 B(LdaSmi), U8(1), 343 B(LdaSmi), U8(1),
344 B(TestEqualStrict), R(4), 344 B(TestEqualStrict), R(4),
345 B(JumpIfTrueConstant), U8(9), 345 B(JumpIfTrueConstant), U8(9),
346 B(LdaSmi), U8(76), 346 B(LdaSmi), U8(75),
347 B(Star), R(12), 347 B(Star), R(12),
348 B(CallRuntime), U16(Runtime::kAbort), R(12), U8(1), 348 B(CallRuntime), U16(Runtime::kAbort), R(12), U8(1),
349 /* 27 S> */ B(LdrContextSlot), R(1), U8(7), R(14), 349 /* 27 S> */ B(LdrContextSlot), R(1), U8(7), R(14),
350 B(LdrNamedProperty), R(14), U8(4), U8(7), R(13), 350 B(LdrNamedProperty), R(14), U8(4), U8(7), R(13),
351 /* 27 E> */ B(Call), R(13), R(14), U8(1), U8(5), 351 /* 27 E> */ B(Call), R(13), R(14), U8(1), U8(5),
352 /* 27 E> */ B(StaContextSlot), R(1), U8(8), 352 /* 27 E> */ B(StaContextSlot), R(1), U8(8),
353 B(Star), R(12), 353 B(Star), R(12),
354 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(12), U8(1), 354 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(12), U8(1),
355 B(ToBooleanLogicalNot), 355 B(ToBooleanLogicalNot),
356 B(JumpIfFalse), U8(11), 356 B(JumpIfFalse), U8(11),
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
599 kInstanceTypeDontCare, 599 kInstanceTypeDontCare,
600 kInstanceTypeDontCare, 600 kInstanceTypeDontCare,
601 ] 601 ]
602 handlers: [ 602 handlers: [
603 [44, 693, 699], 603 [44, 693, 699],
604 [150, 447, 453], 604 [150, 447, 453],
605 [153, 401, 403], 605 [153, 401, 403],
606 [550, 562, 564], 606 [550, 562, 564],
607 ] 607 ]
608 608
OLDNEW
« no previous file with comments | « src/parsing/pattern-rewriter.cc ('k') | test/cctest/test-parsing.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698