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

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

Issue 2898163002: Make non-Module generators only context allocate parameters. (Closed)
Patch Set: Fix comment Created 3 years, 7 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 async iteration: yes 8 async iteration: yes
9 9
10 --- 10 ---
11 snippet: " 11 snippet: "
12 async function f() { 12 async function f() {
13 for await (let x of [1, 2, 3]) {} 13 for await (let x of [1, 2, 3]) {}
14 } 14 }
15 f(); 15 f();
16 " 16 "
17 frame size: 18 17 frame size: 30
18 parameter count: 1 18 parameter count: 1
19 bytecode array length: 946 19 bytecode array length: 727
20 bytecodes: [ 20 bytecodes: [
21 B(Ldar), R(new_target), 21 B(Ldar), R(new_target),
22 B(JumpIfUndefined), U8(25), 22 B(JumpIfUndefined), U8(25),
23 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetContext), R(new_ta rget), U8(1), 23 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetContext), R(new_ta rget), U8(1),
24 B(PushContext), R(4), 24 B(PushContext), R(16),
25 B(ResumeGenerator), R(new_target), 25 B(ResumeGenerator), R(new_target),
26 B(Star), R(3), 26 B(Star), R(15),
27 B(SwitchOnSmiNoFeedback), U8(0), U8(3), I8(0), 27 B(SwitchOnSmiNoFeedback), U8(0), U8(3), I8(0),
28 B(LdaSmi), I8(79), 28 B(LdaSmi), I8(79),
29 B(Star), R(5), 29 B(Star), R(17),
30 B(CallRuntime), U16(Runtime::kAbort), R(5), U8(1), 30 B(CallRuntime), U16(Runtime::kAbort), R(17), U8(1),
31 B(LdaSmi), I8(-2), 31 B(LdaSmi), I8(-2),
32 B(Star), R(3), 32 B(Star), R(15),
33 B(CreateFunctionContext), U8(12), 33 B(Mov), R(closure), R(17),
34 B(PushContext), R(0), 34 B(Mov), R(this), R(18),
35 B(Mov), R(closure), R(5), 35 B(InvokeIntrinsic), U8(Runtime::k_CreateJSGeneratorObject), R(17 ), U8(2),
36 B(Mov), R(this), R(6), 36 B(Star), R(2),
37 B(InvokeIntrinsic), U8(Runtime::k_CreateJSGeneratorObject), R(5) , U8(2),
38 B(StaCurrentContextSlot), U8(4),
39 /* 16 E> */ B(StackCheck), 37 /* 16 E> */ B(StackCheck),
40 B(LdaUndefined), 38 B(LdaUndefined),
41 B(Star), R(5), 39 B(Star), R(17),
42 B(CallJSRuntime), U8(%async_function_promise_create), R(5), U8(1 ), 40 B(CallJSRuntime), U8(%async_function_promise_create), R(17), U8( 1),
43 B(StaCurrentContextSlot), U8(10), 41 B(Star), R(8),
44 B(Mov), R(context), R(7), 42 B(Mov), R(context), R(19),
45 B(Mov), R(context), R(8), 43 B(Mov), R(context), R(20),
46 B(Ldar), R(closure), 44 B(LdaZero),
47 B(CreateBlockContext), U8(3), 45 B(Star), R(6),
48 B(PushContext), R(1), 46 B(Mov), R(context), R(23),
49 B(LdaTheHole), 47 B(Mov), R(context), R(24),
50 B(StaCurrentContextSlot), U8(4), 48 /* 43 S> */ B(CreateArrayLiteral), U8(3), U8(3), U8(17),
51 B(LdaZero), 49 B(Star), R(25),
52 B(StaContextSlot), R(1), U8(8), U8(0), 50 B(LdaNamedProperty), R(25), U8(4), U8(8),
53 B(Mov), R(context), R(11),
54 B(Mov), R(context), R(12),
55 /* 43 S> */ B(CreateArrayLiteral), U8(4), U8(3), U8(17),
56 B(Star), R(13),
57 B(LdaNamedProperty), R(13), U8(5), U8(8),
58 B(JumpIfUndefined), U8(17), 51 B(JumpIfUndefined), U8(17),
59 B(JumpIfNull), U8(15), 52 B(JumpIfNull), U8(15),
60 B(Star), R(14), 53 B(Star), R(26),
61 B(CallProperty0), R(14), R(13), U8(10), 54 B(CallProperty0), R(26), R(25), U8(10),
62 B(JumpIfJSReceiver), U8(23), 55 B(JumpIfJSReceiver), U8(23),
63 B(CallRuntime), U16(Runtime::kThrowSymbolAsyncIteratorInvalid), R(0), U8(0), 56 B(CallRuntime), U16(Runtime::kThrowSymbolAsyncIteratorInvalid), R(0), U8(0),
64 B(LdaNamedProperty), R(13), U8(6), U8(4), 57 B(LdaNamedProperty), R(25), U8(5), U8(4),
65 B(Star), R(14), 58 B(Star), R(26),
66 B(CallProperty0), R(14), R(13), U8(6), 59 B(CallProperty0), R(26), R(25), U8(6),
67 B(Star), R(14), 60 B(Star), R(26),
68 B(InvokeIntrinsic), U8(Runtime::k_CreateAsyncFromSyncIterator), R(14), U8(1), 61 B(InvokeIntrinsic), U8(Runtime::k_CreateAsyncFromSyncIterator), R(26), U8(1),
69 /* 43 E> */ B(StaContextSlot), R(1), U8(6), U8(0), 62 B(Star), R(4),
70 B(Ldar), R(3), 63 B(Ldar), R(15),
71 B(SwitchOnSmiNoFeedback), U8(7), U8(1), I8(0), 64 B(SwitchOnSmiNoFeedback), U8(6), U8(1), I8(0),
72 B(LdaSmi), I8(-2), 65 B(LdaSmi), I8(-2),
73 B(TestEqualStrictNoFeedback), R(3), 66 /* 43 E> */ B(TestEqualStrictNoFeedback), R(15),
74 B(JumpIfTrue), U8(11), 67 B(JumpIfTrue), U8(11),
75 B(LdaSmi), I8(79), 68 B(LdaSmi), I8(79),
76 B(Star), R(13), 69 B(Star), R(25),
77 B(CallRuntime), U16(Runtime::kAbort), R(13), U8(1), 70 B(CallRuntime), U16(Runtime::kAbort), R(25), U8(1),
78 /* 40 S> */ B(LdaImmutableContextSlot), R(1), U8(4), U8(0), 71 /* 40 S> */ B(Nop),
79 B(Star), R(13), 72 /* 40 S> */ B(LdaNamedProperty), R(4), U8(7), U8(14),
80 /* 40 S> */ B(LdaContextSlot), R(1), U8(6), U8(0), 73 B(Star), R(26),
81 B(Star), R(15), 74 /* 40 E> */ B(CallProperty0), R(26), R(4), U8(12),
82 B(LdaNamedProperty), R(15), U8(8), U8(14), 75 B(Star), R(7),
83 B(Star), R(14),
84 /* 40 E> */ B(CallProperty0), R(14), R(15), U8(12),
85 B(StaContextSlot), R(1), U8(9), U8(0),
86 /* 40 S> */ B(LdaUndefined), 76 /* 40 S> */ B(LdaUndefined),
87 B(Star), R(14), 77 B(Star), R(26),
88 B(LdaImmutableContextSlot), R(1), U8(4), U8(0), 78 B(Mov), R(2), R(27),
89 B(Star), R(15), 79 B(Mov), R(7), R(28),
90 B(LdaContextSlot), R(1), U8(9), U8(0), 80 B(Mov), R(8), R(29),
91 B(Star), R(16), 81 B(CallJSRuntime), U8(%async_function_await_uncaught), R(26), U8( 4),
92 B(LdaContextSlot), R(1), U8(10), U8(0), 82 B(LdaZero),
93 B(Star), R(17), 83 B(Mov), R(2), R(25),
94 B(CallJSRuntime), U8(%async_function_await_uncaught), R(14), U8( 4), 84 B(Mov), R(8), R(26),
95 B(LdaContextSlot), R(1), U8(10), U8(0), 85 B(SuspendGenerator), R(25), U8(2),
96 B(Star), R(14), 86 B(Ldar), R(26),
97 B(LdaZero), 87 /* 57 S> */ B(Return),
98 B(SuspendGenerator), R(13), U8(2), 88 B(LdaSmi), I8(-2),
99 B(Ldar), R(14), 89 B(Star), R(15),
100 /* 57 S> */ B(Return), 90 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos), R(25), U8(1),
101 B(LdaSmi), I8(-2), 91 B(Star), R(26),
102 B(Star), R(3), 92 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(25) , U8(1),
103 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos), R(13), U8(1), 93 B(Star), R(27),
104 B(Star), R(14), 94 B(LdaZero),
105 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(13) , U8(1), 95 B(TestEqualStrictNoFeedback), R(27),
106 B(Star), R(15),
107 B(LdaZero),
108 B(TestEqualStrictNoFeedback), R(15),
109 B(JumpIfTrue), U8(28), 96 B(JumpIfTrue), U8(28),
110 B(LdaSmi), I8(2), 97 B(LdaSmi), I8(2),
111 B(TestEqualStrictNoFeedback), R(15), 98 B(TestEqualStrictNoFeedback), R(27),
112 B(JumpIfTrue), U8(19), 99 B(JumpIfTrue), U8(19),
113 B(LdaTrue), 100 B(LdaTrue),
114 B(Star), R(17), 101 B(Star), R(29),
115 B(Mov), R(14), R(16), 102 B(Mov), R(26), R(28),
116 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(16) , U8(2), 103 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(28) , U8(2),
104 B(Star), R(22),
105 B(LdaZero),
106 B(Star), R(21),
107 B(Jump), U8(101),
108 B(Ldar), R(26),
109 B(ReThrow),
110 B(Mov), R(26), R(5),
111 /* 40 E> */ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(5), U8(1),
112 B(ToBooleanLogicalNot),
113 B(JumpIfFalse), U8(7),
114 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (5), U8(1),
115 B(LdaNamedProperty), R(5), U8(8), U8(16),
116 B(JumpIfToBooleanTrue), U8(25),
117 B(LdaNamedProperty), R(5), U8(9), U8(18),
118 B(Star), R(9),
119 B(LdaSmi), I8(2),
120 B(Star), R(6),
121 B(Mov), R(9), R(3),
122 /* 23 E> */ B(StackCheck),
123 B(Mov), R(3), R(0),
124 B(LdaZero),
125 B(Star), R(6),
126 B(JumpLoop), U8(151), I8(0),
127 B(Jump), U8(40),
128 B(Star), R(25),
129 B(Ldar), R(closure),
130 B(CreateCatchContext), R(25), U8(10), U8(11),
131 B(Star), R(24),
132 B(LdaTheHole),
133 B(SetPendingMessage),
134 B(Ldar), R(24),
135 B(PushContext), R(14),
136 B(LdaSmi), I8(2),
137 B(TestEqualStrict), R(6), U8(20),
138 B(JumpIfFalse), U8(6),
139 B(LdaSmi), I8(1),
140 B(Star), R(6),
141 B(LdaImmutableCurrentContextSlot), U8(4),
142 B(Star), R(25),
143 B(CallRuntime), U16(Runtime::kReThrow), R(25), U8(1),
144 B(PopContext), R(14),
145 B(LdaSmi), I8(-1),
146 B(Star), R(21),
147 B(Jump), U8(8),
148 B(Star), R(22),
149 B(LdaSmi), I8(1),
150 B(Star), R(21),
151 B(LdaTheHole),
152 B(SetPendingMessage),
153 B(Star), R(23),
154 B(LdaZero),
155 B(TestEqualStrict), R(6), U8(21),
156 B(JumpIfTrueConstant), U8(15),
157 B(LdaNamedProperty), R(4), U8(12), U8(22),
117 B(Star), R(10), 158 B(Star), R(10),
118 B(LdaZero),
119 B(Star), R(9),
120 B(Jump), U8(155),
121 B(Ldar), R(14),
122 B(ReThrow),
123 B(Ldar), R(14),
124 /* 40 E> */ B(StaContextSlot), R(1), U8(7), U8(0),
125 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(14), U8(1),
126 B(ToBooleanLogicalNot),
127 B(JumpIfFalse), U8(13),
128 B(LdaContextSlot), R(1), U8(7), U8(0),
129 B(Star), R(13),
130 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (13), U8(1),
131 B(LdaContextSlot), R(1), U8(7), U8(0),
132 B(Star), R(13),
133 B(LdaNamedProperty), R(13), U8(9), U8(16),
134 B(JumpIfToBooleanTrue), U8(56),
135 B(LdaContextSlot), R(1), U8(7), U8(0),
136 B(Star), R(13),
137 B(LdaNamedProperty), R(13), U8(10), U8(18),
138 B(StaContextSlot), R(1), U8(11), U8(0),
139 B(LdaSmi), I8(2),
140 B(StaContextSlot), R(1), U8(8), U8(0),
141 B(LdaContextSlot), R(1), U8(11), U8(0),
142 B(StaContextSlot), R(1), U8(5), U8(0),
143 /* 23 E> */ B(StackCheck),
144 B(Ldar), R(closure),
145 B(CreateBlockContext), U8(11),
146 B(PushContext), R(2),
147 B(LdaTheHole),
148 B(StaCurrentContextSlot), U8(4),
149 B(LdaContextSlot), R(1), U8(5), U8(0),
150 B(StaCurrentContextSlot), U8(4),
151 B(PopContext), R(2),
152 B(LdaZero),
153 B(StaContextSlot), R(1), U8(8), U8(0),
154 B(JumpLoop), U8(219), I8(0),
155 B(Jump), U8(48),
156 B(Star), R(13),
157 B(Ldar), R(closure),
158 B(CreateCatchContext), R(13), U8(12), U8(13),
159 B(Star), R(12),
160 B(LdaTheHole),
161 B(SetPendingMessage),
162 B(Ldar), R(12),
163 B(PushContext), R(2),
164 B(LdaContextSlot), R(1), U8(8), U8(0),
165 B(Star), R(13),
166 B(LdaSmi), I8(2),
167 B(TestEqualStrict), R(13), U8(20),
168 B(JumpIfFalse), U8(8),
169 B(LdaSmi), I8(1),
170 B(StaContextSlot), R(1), U8(8), U8(0),
171 B(LdaImmutableCurrentContextSlot), U8(4),
172 B(Star), R(13),
173 B(CallRuntime), U16(Runtime::kReThrow), R(13), U8(1),
174 B(PopContext), R(2),
175 B(LdaSmi), I8(-1),
176 B(Star), R(9),
177 B(Jump), U8(8),
178 B(Star), R(10),
179 B(LdaSmi), I8(1),
180 B(Star), R(9),
181 B(LdaTheHole),
182 B(SetPendingMessage),
183 B(Star), R(11),
184 B(LdaContextSlot), R(1), U8(8), U8(0),
185 B(Star), R(12),
186 B(LdaZero),
187 B(TestEqualStrict), R(12), U8(21),
188 B(JumpIfTrueConstant), U8(18),
189 B(LdaContextSlot), R(1), U8(6), U8(0),
190 B(Star), R(12),
191 B(LdaNamedProperty), R(12), U8(14), U8(22),
192 B(StaContextSlot), R(1), U8(12), U8(0),
193 B(LdaContextSlot), R(1), U8(12), U8(0),
194 B(TestUndetectable), 159 B(TestUndetectable),
195 B(JumpIfFalse), U8(4), 160 B(JumpIfFalse), U8(4),
196 B(JumpConstant), U8(17), 161 B(Jump), U8(254),
197 B(LdaContextSlot), R(1), U8(8), U8(0), 162 B(LdaSmi), I8(1),
198 B(Star), R(12), 163 B(TestEqualStrict), R(6), U8(25),
199 B(LdaSmi), I8(1), 164 B(JumpIfFalse), U8(142),
200 B(TestEqualStrict), R(12), U8(25), 165 B(Ldar), R(10),
201 B(JumpIfFalse), U8(175),
202 B(LdaContextSlot), R(1), U8(12), U8(0),
203 B(TestTypeOf), U8(5), 166 B(TestTypeOf), U8(5),
204 B(JumpIfFalse), U8(4), 167 B(JumpIfFalse), U8(4),
205 B(Jump), U8(18), 168 B(Jump), U8(18),
206 B(Wide), B(LdaSmi), I16(130), 169 B(Wide), B(LdaSmi), I16(130),
207 B(Star), R(12), 170 B(Star), R(24),
208 B(LdaConstant), U8(15), 171 B(LdaConstant), U8(13),
172 B(Star), R(25),
173 B(CallRuntime), U16(Runtime::kNewTypeError), R(24), U8(2),
174 B(Throw),
175 B(Mov), R(context), R(24),
176 B(Mov), R(10), R(26),
177 B(Mov), R(4), R(27),
178 B(InvokeIntrinsic), U8(Runtime::k_Call), R(26), U8(2),
179 B(Star), R(11),
180 B(LdaUndefined),
181 B(Star), R(26),
182 B(Mov), R(2), R(27),
183 B(Mov), R(11), R(28),
184 B(Mov), R(8), R(29),
185 B(CallJSRuntime), U8(%async_function_await_caught), R(26), U8(4) ,
186 B(LdaSmi), I8(1),
187 B(Mov), R(2), R(25),
188 B(Mov), R(8), R(26),
189 B(SuspendGenerator), R(25), U8(2),
190 B(Ldar), R(26),
191 /* 57 S> */ B(Return),
192 B(LdaSmi), I8(-2),
193 B(Star), R(15),
194 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos), R(25), U8(1),
195 B(Star), R(26),
196 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(25) , U8(1),
197 B(Star), R(27),
198 B(LdaZero),
199 B(TestEqualStrictNoFeedback), R(27),
200 B(JumpIfTrue), U8(28),
201 B(LdaSmi), I8(2),
202 B(TestEqualStrictNoFeedback), R(27),
203 B(JumpIfTrue), U8(19),
204 B(LdaTrue),
205 B(Star), R(29),
206 B(Mov), R(26), R(28),
207 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(28) , U8(2),
208 B(Star), R(18),
209 B(LdaZero),
210 B(Star), R(17),
211 B(Jump), U8(236),
212 B(Ldar), R(26),
213 B(ReThrow),
214 B(Ldar), R(26),
215 B(Jump), U8(20),
216 B(Star), R(25),
217 B(Ldar), R(closure),
218 B(CreateCatchContext), R(25), U8(10), U8(14),
219 B(Star), R(24),
220 B(LdaTheHole),
221 B(SetPendingMessage),
222 B(Ldar), R(24),
223 B(PushContext), R(14),
224 B(PopContext), R(14),
225 B(Jump), U8(107),
226 B(Mov), R(10), R(25),
227 B(Mov), R(4), R(26),
228 B(InvokeIntrinsic), U8(Runtime::k_Call), R(25), U8(2),
209 B(Star), R(13), 229 B(Star), R(13),
210 B(CallRuntime), U16(Runtime::kNewTypeError), R(12), U8(2), 230 B(LdaUndefined),
211 B(Throw), 231 B(Star), R(25),
212 B(Mov), R(context), R(12), 232 B(Mov), R(2), R(26),
213 B(LdaImmutableContextSlot), R(1), U8(4), U8(0), 233 B(Mov), R(13), R(27),
214 B(Star), R(13), 234 B(Mov), R(8), R(28),
215 B(LdaContextSlot), R(1), U8(12), U8(0), 235 B(CallJSRuntime), U8(%async_function_await_uncaught), R(25), U8( 4),
216 B(Star), R(14), 236 B(LdaSmi), I8(2),
217 B(LdaContextSlot), R(1), U8(6), U8(0), 237 B(Mov), R(2), R(24),
218 B(Star), R(15), 238 B(Mov), R(8), R(25),
219 B(InvokeIntrinsic), U8(Runtime::k_Call), R(14), U8(2), 239 B(SuspendGenerator), R(24), U8(2),
220 B(StaContextSlot), R(1), U8(13), U8(0), 240 B(Ldar), R(25),
221 B(LdaUndefined), 241 /* 57 S> */ B(Return),
222 B(Star), R(14), 242 B(LdaSmi), I8(-2),
223 B(LdaImmutableContextSlot), R(1), U8(4), U8(0), 243 B(Star), R(15),
224 B(Star), R(15), 244 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos), R(24), U8(1),
225 B(LdaContextSlot), R(1), U8(13), U8(0), 245 B(Star), R(25),
226 B(Star), R(16), 246 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(24) , U8(1),
227 B(LdaContextSlot), R(1), U8(10), U8(0), 247 B(Star), R(26),
228 B(Star), R(17), 248 B(LdaZero),
229 B(CallJSRuntime), U8(%async_function_await_caught), R(14), U8(4) , 249 B(TestEqualStrictNoFeedback), R(26),
230 B(LdaContextSlot), R(1), U8(10), U8(0), 250 B(JumpIfTrue), U8(28),
231 B(Star), R(14), 251 B(LdaSmi), I8(2),
232 B(LdaSmi), I8(1), 252 B(TestEqualStrictNoFeedback), R(26),
233 B(SuspendGenerator), R(13), U8(2), 253 B(JumpIfTrue), U8(19),
234 B(Ldar), R(14),
235 /* 57 S> */ B(Return),
236 B(LdaSmi), I8(-2),
237 B(Star), R(3),
238 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos), R(13), U8(1),
239 B(Star), R(14),
240 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(13) , U8(1),
241 B(Star), R(15),
242 B(LdaZero),
243 B(TestEqualStrictNoFeedback), R(15),
244 B(JumpIfTrue), U8(36),
245 B(LdaSmi), I8(2),
246 B(TestEqualStrictNoFeedback), R(15),
247 B(JumpIfTrue), U8(27),
248 B(LdaTrue), 254 B(LdaTrue),
249 B(Star), R(17), 255 B(Star), R(28),
250 B(Mov), R(14), R(16), 256 B(Mov), R(25), R(27),
251 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(16) , U8(2), 257 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(27) , U8(2),
252 B(PopContext), R(1), 258 B(Star), R(18),
253 B(PopContext), R(1), 259 B(LdaZero),
254 B(PopContext), R(1), 260 B(Star), R(17),
255 B(PopContext), R(1), 261 B(Jump), U8(123),
256 B(Star), R(6), 262 B(Ldar), R(25),
257 B(LdaZero), 263 B(ReThrow),
258 B(Star), R(5), 264 B(Mov), R(25), R(12),
259 B(JumpConstant), U8(22),
260 B(Ldar), R(14),
261 B(ReThrow),
262 B(Ldar), R(14),
263 B(Jump), U8(20),
264 B(Star), R(13),
265 B(Ldar), R(closure),
266 B(CreateCatchContext), R(13), U8(12), U8(16),
267 B(Star), R(12),
268 B(LdaTheHole),
269 B(SetPendingMessage),
270 B(Ldar), R(12),
271 B(PushContext), R(2),
272 B(PopContext), R(2),
273 B(Jump), U8(153),
274 B(LdaImmutableContextSlot), R(1), U8(4), U8(0),
275 B(Star), R(12),
276 B(LdaContextSlot), R(1), U8(12), U8(0),
277 B(Star), R(13),
278 B(LdaContextSlot), R(1), U8(6), U8(0),
279 B(Star), R(14),
280 B(InvokeIntrinsic), U8(Runtime::k_Call), R(13), U8(2),
281 B(StaContextSlot), R(1), U8(15), U8(0),
282 B(LdaUndefined),
283 B(Star), R(13),
284 B(LdaImmutableContextSlot), R(1), U8(4), U8(0),
285 B(Star), R(14),
286 B(LdaContextSlot), R(1), U8(15), U8(0),
287 B(Star), R(15),
288 B(LdaContextSlot), R(1), U8(10), U8(0),
289 B(Star), R(16),
290 B(CallJSRuntime), U8(%async_function_await_uncaught), R(13), U8( 4),
291 B(LdaContextSlot), R(1), U8(10), U8(0),
292 B(Star), R(13),
293 B(LdaSmi), I8(2),
294 B(SuspendGenerator), R(12), U8(2),
295 B(Ldar), R(13),
296 /* 57 S> */ B(Return),
297 B(LdaSmi), I8(-2),
298 B(Star), R(3),
299 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos), R(12), U8(1),
300 B(Star), R(13),
301 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(12) , U8(1),
302 B(Star), R(14),
303 B(LdaZero),
304 B(TestEqualStrictNoFeedback), R(14),
305 B(JumpIfTrue), U8(36),
306 B(LdaSmi), I8(2),
307 B(TestEqualStrictNoFeedback), R(14),
308 B(JumpIfTrue), U8(27),
309 B(LdaTrue),
310 B(Star), R(16),
311 B(Mov), R(13), R(15),
312 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(15) , U8(2),
313 B(PopContext), R(1),
314 B(PopContext), R(1),
315 B(PopContext), R(1),
316 B(PopContext), R(1),
317 B(Star), R(6),
318 B(LdaZero),
319 B(Star), R(5),
320 B(Jump), U8(160),
321 B(Ldar), R(13),
322 B(ReThrow),
323 B(Ldar), R(13),
324 B(StaContextSlot), R(1), U8(14), U8(0),
325 B(LdaContextSlot), R(1), U8(14), U8(0),
326 B(Star), R(12),
327 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(12), U8(1), 265 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(12), U8(1),
328 B(JumpIfToBooleanFalse), U8(4), 266 B(JumpIfToBooleanFalse), U8(4),
267 B(Jump), U8(7),
268 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (12), U8(1),
269 B(Ldar), R(23),
270 B(SetPendingMessage),
271 B(Ldar), R(21),
272 B(SwitchOnSmiNoFeedback), U8(16), U8(2), I8(0),
329 B(Jump), U8(13), 273 B(Jump), U8(13),
330 B(LdaContextSlot), R(1), U8(14), U8(0), 274 B(LdaZero),
331 B(Star), R(12), 275 B(Star), R(17),
332 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (12), U8(1), 276 B(Mov), R(22), R(18),
333 B(Ldar), R(11), 277 B(Jump), U8(85),
334 B(SetPendingMessage), 278 B(Ldar), R(22),
335 B(Ldar), R(9), 279 B(ReThrow),
336 B(SwitchOnSmiNoFeedback), U8(19), U8(2), I8(0), 280 B(LdaUndefined),
337 B(Jump), U8(25), 281 B(Star), R(21),
338 B(PopContext), R(1), 282 B(LdaUndefined),
339 B(PopContext), R(1), 283 B(Star), R(23),
340 B(PopContext), R(1), 284 B(Mov), R(8), R(22),
341 B(PopContext), R(1), 285 B(CallJSRuntime), U8(%promise_resolve), R(21), U8(3),
342 B(LdaZero), 286 B(LdaZero),
343 B(Star), R(5), 287 B(Star), R(17),
344 B(Mov), R(10), R(6), 288 B(Mov), R(8), R(18),
345 B(Jump), U8(99), 289 B(Jump), U8(61),
346 B(PopContext), R(1), 290 B(Jump), U8(47),
347 B(PopContext), R(1), 291 B(Star), R(21),
348 B(Ldar), R(10),
349 B(ReThrow),
350 B(PopContext), R(1),
351 B(LdaUndefined),
352 B(Star), R(9),
353 B(LdaCurrentContextSlot), U8(10),
354 B(Star), R(10),
355 B(LdaUndefined),
356 B(Star), R(11),
357 B(CallJSRuntime), U8(%promise_resolve), R(9), U8(3),
358 B(LdaCurrentContextSlot), U8(10),
359 B(Star), R(6),
360 B(LdaZero),
361 B(Star), R(5),
362 B(Jump), U8(67),
363 B(Jump), U8(53),
364 B(Star), R(9),
365 B(Ldar), R(closure), 292 B(Ldar), R(closure),
366 B(CreateCatchContext), R(9), U8(12), U8(21), 293 B(CreateCatchContext), R(21), U8(10), U8(18),
367 B(Star), R(8), 294 B(Star), R(20),
368 B(LdaTheHole), 295 B(LdaTheHole),
369 B(SetPendingMessage), 296 B(SetPendingMessage),
370 B(Ldar), R(8), 297 B(Ldar), R(20),
371 B(PushContext), R(1), 298 B(PushContext), R(14),
372 B(LdaUndefined), 299 B(LdaUndefined),
373 B(Star), R(9), 300 B(Star), R(21),
374 B(LdaContextSlot), R(1), U8(10), U8(0),
375 B(Star), R(10),
376 B(LdaImmutableCurrentContextSlot), U8(4), 301 B(LdaImmutableCurrentContextSlot), U8(4),
377 B(Star), R(11), 302 B(Star), R(23),
378 B(LdaFalse), 303 B(LdaFalse),
379 B(Star), R(12), 304 B(Star), R(24),
380 B(CallJSRuntime), U8(%promise_internal_reject), R(9), U8(4), 305 B(Mov), R(8), R(22),
381 B(LdaContextSlot), R(1), U8(10), U8(0), 306 B(CallJSRuntime), U8(%promise_internal_reject), R(21), U8(4),
382 B(PopContext), R(1), 307 B(PopContext), R(14),
383 B(PopContext), R(1), 308 B(PopContext), R(14),
384 B(Star), R(6), 309 B(LdaZero),
385 B(LdaZero), 310 B(Star), R(17),
386 B(Star), R(5), 311 B(Mov), R(8), R(18),
387 B(Jump), U8(14), 312 B(Jump), U8(14),
388 B(LdaSmi), I8(-1), 313 B(LdaSmi), I8(-1),
389 B(Star), R(5), 314 B(Star), R(17),
390 B(Jump), U8(8), 315 B(Jump), U8(8),
391 B(Star), R(6), 316 B(Star), R(18),
392 B(LdaSmi), I8(1), 317 B(LdaSmi), I8(1),
393 B(Star), R(5), 318 B(Star), R(17),
394 B(LdaTheHole), 319 B(LdaTheHole),
395 B(SetPendingMessage), 320 B(SetPendingMessage),
396 B(Star), R(7), 321 B(Star), R(19),
397 B(LdaUndefined), 322 B(LdaUndefined),
398 B(Star), R(8), 323 B(Star), R(20),
399 B(LdaCurrentContextSlot), U8(10), 324 B(Mov), R(8), R(21),
400 B(Star), R(9), 325 B(CallJSRuntime), U8(%async_function_promise_release), R(20), U8 (2),
401 B(CallJSRuntime), U8(%async_function_promise_release), R(8), U8( 2), 326 B(Ldar), R(19),
402 B(Ldar), R(7), 327 B(SetPendingMessage),
403 B(SetPendingMessage), 328 B(Ldar), R(17),
404 B(Ldar), R(5), 329 B(SwitchOnSmiNoFeedback), U8(19), U8(2), I8(0),
405 B(SwitchOnSmiNoFeedback), U8(23), U8(2), I8(0),
406 B(Jump), U8(8), 330 B(Jump), U8(8),
407 B(Ldar), R(6), 331 B(Ldar), R(18),
408 /* 57 S> */ B(Return), 332 /* 57 S> */ B(Return),
409 B(Ldar), R(6), 333 B(Ldar), R(18),
410 B(ReThrow), 334 B(ReThrow),
411 B(LdaUndefined), 335 B(LdaUndefined),
412 /* 57 S> */ B(Return), 336 /* 57 S> */ B(Return),
413 ] 337 ]
414 constant pool: [ 338 constant pool: [
415 Smi [116], 339 Smi [99],
416 Smi [544], 340 Smi [402],
417 Smi [688], 341 Smi [515],
418 FIXED_ARRAY_TYPE,
419 TUPLE2_TYPE, 342 TUPLE2_TYPE,
420 SYMBOL_TYPE, 343 SYMBOL_TYPE,
421 SYMBOL_TYPE, 344 SYMBOL_TYPE,
422 Smi [83], 345 Smi [61],
423 ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"], 346 ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"],
424 ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"], 347 ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"],
425 ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"], 348 ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"],
426 FIXED_ARRAY_TYPE,
427 ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"], 349 ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"],
428 FIXED_ARRAY_TYPE, 350 FIXED_ARRAY_TYPE,
429 ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"], 351 ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"],
430 ONE_BYTE_INTERNALIZED_STRING_TYPE [""], 352 ONE_BYTE_INTERNALIZED_STRING_TYPE [""],
431 FIXED_ARRAY_TYPE, 353 FIXED_ARRAY_TYPE,
432 Smi [339], 354 Smi [265],
433 Smi [362],
434 Smi [6], 355 Smi [6],
435 Smi [22], 356 Smi [14],
436 FIXED_ARRAY_TYPE, 357 FIXED_ARRAY_TYPE,
437 Smi [304],
438 Smi [6], 358 Smi [6],
439 Smi [9], 359 Smi [9],
440 ] 360 ]
441 handlers: [ 361 handlers: [
442 [60, 900, 906], 362 [56, 682, 688],
443 [63, 847, 849], 363 [59, 635, 637],
444 [80, 400, 406], 364 [65, 307, 313],
445 [83, 352, 354], 365 [68, 267, 269],
446 [493, 615, 617], 366 [374, 465, 467],
447 ] 367 ]
448 368
449 --- 369 ---
450 snippet: " 370 snippet: "
451 async function f() { 371 async function f() {
452 for await (let x of [1, 2, 3]) { return x; } 372 for await (let x of [1, 2, 3]) { return x; }
453 } 373 }
454 f(); 374 f();
455 " 375 "
456 frame size: 18 376 frame size: 30
457 parameter count: 1 377 parameter count: 1
458 bytecode array length: 992 378 bytecode array length: 755
459 bytecodes: [ 379 bytecodes: [
460 B(Ldar), R(new_target), 380 B(Ldar), R(new_target),
461 B(JumpIfUndefined), U8(25), 381 B(JumpIfUndefined), U8(25),
462 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetContext), R(new_ta rget), U8(1), 382 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetContext), R(new_ta rget), U8(1),
463 B(PushContext), R(4), 383 B(PushContext), R(16),
464 B(ResumeGenerator), R(new_target), 384 B(ResumeGenerator), R(new_target),
465 B(Star), R(3), 385 B(Star), R(15),
466 B(SwitchOnSmiNoFeedback), U8(0), U8(3), I8(0), 386 B(SwitchOnSmiNoFeedback), U8(0), U8(3), I8(0),
467 B(LdaSmi), I8(79), 387 B(LdaSmi), I8(79),
468 B(Star), R(5), 388 B(Star), R(17),
469 B(CallRuntime), U16(Runtime::kAbort), R(5), U8(1), 389 B(CallRuntime), U16(Runtime::kAbort), R(17), U8(1),
470 B(LdaSmi), I8(-2), 390 B(LdaSmi), I8(-2),
471 B(Star), R(3), 391 B(Star), R(15),
472 B(CreateFunctionContext), U8(12), 392 B(Mov), R(closure), R(17),
473 B(PushContext), R(0), 393 B(Mov), R(this), R(18),
474 B(Mov), R(closure), R(5), 394 B(InvokeIntrinsic), U8(Runtime::k_CreateJSGeneratorObject), R(17 ), U8(2),
475 B(Mov), R(this), R(6), 395 B(Star), R(2),
476 B(InvokeIntrinsic), U8(Runtime::k_CreateJSGeneratorObject), R(5) , U8(2),
477 B(StaCurrentContextSlot), U8(4),
478 /* 16 E> */ B(StackCheck), 396 /* 16 E> */ B(StackCheck),
479 B(LdaUndefined), 397 B(LdaUndefined),
480 B(Star), R(5), 398 B(Star), R(17),
481 B(CallJSRuntime), U8(%async_function_promise_create), R(5), U8(1 ), 399 B(CallJSRuntime), U8(%async_function_promise_create), R(17), U8( 1),
482 B(StaCurrentContextSlot), U8(10), 400 B(Star), R(8),
483 B(Mov), R(context), R(7), 401 B(Mov), R(context), R(19),
484 B(Mov), R(context), R(8), 402 B(Mov), R(context), R(20),
485 B(Ldar), R(closure), 403 B(LdaZero),
486 B(CreateBlockContext), U8(3), 404 B(Star), R(6),
487 B(PushContext), R(1), 405 B(Mov), R(context), R(23),
488 B(LdaTheHole), 406 B(Mov), R(context), R(24),
489 B(StaCurrentContextSlot), U8(4), 407 /* 43 S> */ B(CreateArrayLiteral), U8(3), U8(3), U8(17),
490 B(LdaZero), 408 B(Star), R(25),
491 B(StaContextSlot), R(1), U8(8), U8(0), 409 B(LdaNamedProperty), R(25), U8(4), U8(8),
492 B(Mov), R(context), R(11),
493 B(Mov), R(context), R(12),
494 /* 43 S> */ B(CreateArrayLiteral), U8(4), U8(3), U8(17),
495 B(Star), R(13),
496 B(LdaNamedProperty), R(13), U8(5), U8(8),
497 B(JumpIfUndefined), U8(17), 410 B(JumpIfUndefined), U8(17),
498 B(JumpIfNull), U8(15), 411 B(JumpIfNull), U8(15),
499 B(Star), R(14), 412 B(Star), R(26),
500 B(CallProperty0), R(14), R(13), U8(10), 413 B(CallProperty0), R(26), R(25), U8(10),
501 B(JumpIfJSReceiver), U8(23), 414 B(JumpIfJSReceiver), U8(23),
502 B(CallRuntime), U16(Runtime::kThrowSymbolAsyncIteratorInvalid), R(0), U8(0), 415 B(CallRuntime), U16(Runtime::kThrowSymbolAsyncIteratorInvalid), R(0), U8(0),
503 B(LdaNamedProperty), R(13), U8(6), U8(4), 416 B(LdaNamedProperty), R(25), U8(5), U8(4),
504 B(Star), R(14), 417 B(Star), R(26),
505 B(CallProperty0), R(14), R(13), U8(6), 418 B(CallProperty0), R(26), R(25), U8(6),
506 B(Star), R(14), 419 B(Star), R(26),
507 B(InvokeIntrinsic), U8(Runtime::k_CreateAsyncFromSyncIterator), R(14), U8(1), 420 B(InvokeIntrinsic), U8(Runtime::k_CreateAsyncFromSyncIterator), R(26), U8(1),
508 /* 43 E> */ B(StaContextSlot), R(1), U8(6), U8(0), 421 B(Star), R(4),
509 B(Ldar), R(3), 422 B(Ldar), R(15),
510 B(SwitchOnSmiNoFeedback), U8(7), U8(1), I8(0), 423 B(SwitchOnSmiNoFeedback), U8(6), U8(1), I8(0),
511 B(LdaSmi), I8(-2), 424 B(LdaSmi), I8(-2),
512 B(TestEqualStrictNoFeedback), R(3), 425 /* 43 E> */ B(TestEqualStrictNoFeedback), R(15),
513 B(JumpIfTrue), U8(11), 426 B(JumpIfTrue), U8(11),
514 B(LdaSmi), I8(79), 427 B(LdaSmi), I8(79),
515 B(Star), R(13), 428 B(Star), R(25),
516 B(CallRuntime), U16(Runtime::kAbort), R(13), U8(1), 429 B(CallRuntime), U16(Runtime::kAbort), R(25), U8(1),
517 /* 40 S> */ B(LdaImmutableContextSlot), R(1), U8(4), U8(0), 430 /* 40 S> */ B(Nop),
518 B(Star), R(13), 431 /* 40 S> */ B(LdaNamedProperty), R(4), U8(7), U8(14),
519 /* 40 S> */ B(LdaContextSlot), R(1), U8(6), U8(0), 432 B(Star), R(26),
520 B(Star), R(15), 433 /* 40 E> */ B(CallProperty0), R(26), R(4), U8(12),
521 B(LdaNamedProperty), R(15), U8(8), U8(14), 434 B(Star), R(7),
522 B(Star), R(14),
523 /* 40 E> */ B(CallProperty0), R(14), R(15), U8(12),
524 B(StaContextSlot), R(1), U8(9), U8(0),
525 /* 40 S> */ B(LdaUndefined), 435 /* 40 S> */ B(LdaUndefined),
526 B(Star), R(14), 436 B(Star), R(26),
527 B(LdaImmutableContextSlot), R(1), U8(4), U8(0), 437 B(Mov), R(2), R(27),
528 B(Star), R(15), 438 B(Mov), R(7), R(28),
529 B(LdaContextSlot), R(1), U8(9), U8(0), 439 B(Mov), R(8), R(29),
530 B(Star), R(16), 440 B(CallJSRuntime), U8(%async_function_await_uncaught), R(26), U8( 4),
531 B(LdaContextSlot), R(1), U8(10), U8(0), 441 B(LdaZero),
532 B(Star), R(17), 442 B(Mov), R(2), R(25),
533 B(CallJSRuntime), U8(%async_function_await_uncaught), R(14), U8( 4), 443 B(Mov), R(8), R(26),
534 B(LdaContextSlot), R(1), U8(10), U8(0), 444 B(SuspendGenerator), R(25), U8(2),
535 B(Star), R(14), 445 B(Ldar), R(26),
536 B(LdaZero), 446 /* 68 S> */ B(Return),
537 B(SuspendGenerator), R(13), U8(2), 447 B(LdaSmi), I8(-2),
538 B(Ldar), R(14), 448 B(Star), R(15),
539 /* 68 S> */ B(Return), 449 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos), R(25), U8(1),
540 B(LdaSmi), I8(-2), 450 B(Star), R(26),
541 B(Star), R(3), 451 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(25) , U8(1),
542 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos), R(13), U8(1), 452 B(Star), R(27),
543 B(Star), R(14), 453 B(LdaZero),
544 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(13) , U8(1), 454 B(TestEqualStrictNoFeedback), R(27),
545 B(Star), R(15),
546 B(LdaZero),
547 B(TestEqualStrictNoFeedback), R(15),
548 B(JumpIfTrue), U8(28), 455 B(JumpIfTrue), U8(28),
549 B(LdaSmi), I8(2), 456 B(LdaSmi), I8(2),
550 B(TestEqualStrictNoFeedback), R(15), 457 B(TestEqualStrictNoFeedback), R(27),
551 B(JumpIfTrue), U8(19), 458 B(JumpIfTrue), U8(19),
552 B(LdaTrue), 459 B(LdaTrue),
553 B(Star), R(17), 460 B(Star), R(29),
554 B(Mov), R(14), R(16), 461 B(Mov), R(26), R(28),
555 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(16) , U8(2), 462 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(28) , U8(2),
463 B(Star), R(22),
464 B(LdaZero),
465 B(Star), R(21),
466 B(Jump), U8(104),
467 B(Ldar), R(26),
468 B(ReThrow),
469 B(Mov), R(26), R(5),
470 /* 40 E> */ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(5), U8(1),
471 B(ToBooleanLogicalNot),
472 B(JumpIfFalse), U8(7),
473 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (5), U8(1),
474 B(LdaNamedProperty), R(5), U8(8), U8(16),
475 B(JumpIfToBooleanTrue), U8(28),
476 B(LdaNamedProperty), R(5), U8(9), U8(18),
477 B(Star), R(9),
478 B(LdaSmi), I8(2),
479 B(Star), R(6),
480 B(Mov), R(9), R(3),
481 /* 23 E> */ B(StackCheck),
482 B(Mov), R(3), R(0),
483 /* 56 S> */ B(LdaSmi), I8(1),
484 B(Star), R(21),
485 B(Mov), R(0), R(22),
486 B(Jump), U8(54),
487 B(Jump), U8(40),
488 B(Star), R(25),
489 B(Ldar), R(closure),
490 B(CreateCatchContext), R(25), U8(10), U8(11),
491 B(Star), R(24),
492 B(LdaTheHole),
493 B(SetPendingMessage),
494 B(Ldar), R(24),
495 B(PushContext), R(14),
496 B(LdaSmi), I8(2),
497 B(TestEqualStrict), R(6), U8(20),
498 B(JumpIfFalse), U8(6),
499 B(LdaSmi), I8(1),
500 B(Star), R(6),
501 B(LdaImmutableCurrentContextSlot), U8(4),
502 B(Star), R(25),
503 B(CallRuntime), U16(Runtime::kReThrow), R(25), U8(1),
504 B(PopContext), R(14),
505 B(LdaSmi), I8(-1),
506 B(Star), R(21),
507 B(Jump), U8(8),
508 B(Star), R(22),
509 B(LdaSmi), I8(2),
510 B(Star), R(21),
511 B(LdaTheHole),
512 B(SetPendingMessage),
513 B(Star), R(23),
514 B(LdaZero),
515 B(TestEqualStrict), R(6), U8(21),
516 B(JumpIfTrueConstant), U8(15),
517 B(LdaNamedProperty), R(4), U8(12), U8(22),
556 B(Star), R(10), 518 B(Star), R(10),
557 B(LdaZero),
558 B(Star), R(9),
559 B(Jump), U8(167),
560 B(Ldar), R(14),
561 B(ReThrow),
562 B(Ldar), R(14),
563 /* 40 E> */ B(StaContextSlot), R(1), U8(7), U8(0),
564 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(14), U8(1),
565 B(ToBooleanLogicalNot),
566 B(JumpIfFalse), U8(13),
567 B(LdaContextSlot), R(1), U8(7), U8(0),
568 B(Star), R(13),
569 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (13), U8(1),
570 B(LdaContextSlot), R(1), U8(7), U8(0),
571 B(Star), R(13),
572 B(LdaNamedProperty), R(13), U8(9), U8(16),
573 B(JumpIfToBooleanTrue), U8(68),
574 B(LdaContextSlot), R(1), U8(7), U8(0),
575 B(Star), R(13),
576 B(LdaNamedProperty), R(13), U8(10), U8(18),
577 B(StaContextSlot), R(1), U8(11), U8(0),
578 B(LdaSmi), I8(2),
579 B(StaContextSlot), R(1), U8(8), U8(0),
580 B(LdaContextSlot), R(1), U8(11), U8(0),
581 B(StaContextSlot), R(1), U8(5), U8(0),
582 /* 23 E> */ B(StackCheck),
583 B(Ldar), R(closure),
584 B(CreateBlockContext), U8(11),
585 B(PushContext), R(2),
586 B(LdaTheHole),
587 B(StaCurrentContextSlot), U8(4),
588 B(LdaContextSlot), R(1), U8(5), U8(0),
589 B(StaCurrentContextSlot), U8(4),
590 /* 56 S> */ B(LdaImmutableCurrentContextSlot), U8(4),
591 B(PopContext), R(2),
592 B(PopContext), R(2),
593 B(PopContext), R(2),
594 B(PopContext), R(2),
595 B(PopContext), R(2),
596 B(PopContext), R(2),
597 B(Star), R(10),
598 B(LdaSmi), I8(1),
599 B(Star), R(9),
600 B(Jump), U8(62),
601 B(Jump), U8(48),
602 B(Star), R(13),
603 B(Ldar), R(closure),
604 B(CreateCatchContext), R(13), U8(12), U8(13),
605 B(Star), R(12),
606 B(LdaTheHole),
607 B(SetPendingMessage),
608 B(Ldar), R(12),
609 B(PushContext), R(2),
610 B(LdaContextSlot), R(1), U8(8), U8(0),
611 B(Star), R(13),
612 B(LdaSmi), I8(2),
613 B(TestEqualStrict), R(13), U8(20),
614 B(JumpIfFalse), U8(8),
615 B(LdaSmi), I8(1),
616 B(StaContextSlot), R(1), U8(8), U8(0),
617 B(LdaImmutableCurrentContextSlot), U8(4),
618 B(Star), R(13),
619 B(CallRuntime), U16(Runtime::kReThrow), R(13), U8(1),
620 B(PopContext), R(2),
621 B(LdaSmi), I8(-1),
622 B(Star), R(9),
623 B(Jump), U8(8),
624 B(Star), R(10),
625 B(LdaSmi), I8(2),
626 B(Star), R(9),
627 B(LdaTheHole),
628 B(SetPendingMessage),
629 B(Star), R(11),
630 B(LdaContextSlot), R(1), U8(8), U8(0),
631 B(Star), R(12),
632 B(LdaZero),
633 B(TestEqualStrict), R(12), U8(21),
634 B(JumpIfTrueConstant), U8(18),
635 B(LdaContextSlot), R(1), U8(6), U8(0),
636 B(Star), R(12),
637 B(LdaNamedProperty), R(12), U8(14), U8(22),
638 B(StaContextSlot), R(1), U8(12), U8(0),
639 B(LdaContextSlot), R(1), U8(12), U8(0),
640 B(TestUndetectable), 519 B(TestUndetectable),
641 B(JumpIfFalse), U8(4), 520 B(JumpIfFalse), U8(4),
642 B(JumpConstant), U8(17), 521 B(Jump), U8(254),
643 B(LdaContextSlot), R(1), U8(8), U8(0),
644 B(Star), R(12),
645 B(LdaSmi), I8(1), 522 B(LdaSmi), I8(1),
646 B(TestEqualStrict), R(12), U8(25), 523 B(TestEqualStrict), R(6), U8(25),
647 B(JumpIfFalse), U8(175), 524 B(JumpIfFalse), U8(142),
648 B(LdaContextSlot), R(1), U8(12), U8(0), 525 B(Ldar), R(10),
649 B(TestTypeOf), U8(5), 526 B(TestTypeOf), U8(5),
650 B(JumpIfFalse), U8(4), 527 B(JumpIfFalse), U8(4),
651 B(Jump), U8(18), 528 B(Jump), U8(18),
652 B(Wide), B(LdaSmi), I16(130), 529 B(Wide), B(LdaSmi), I16(130),
653 B(Star), R(12), 530 B(Star), R(24),
654 B(LdaConstant), U8(15), 531 B(LdaConstant), U8(13),
532 B(Star), R(25),
533 B(CallRuntime), U16(Runtime::kNewTypeError), R(24), U8(2),
534 B(Throw),
535 B(Mov), R(context), R(24),
536 B(Mov), R(10), R(26),
537 B(Mov), R(4), R(27),
538 B(InvokeIntrinsic), U8(Runtime::k_Call), R(26), U8(2),
539 B(Star), R(11),
540 B(LdaUndefined),
541 B(Star), R(26),
542 B(Mov), R(2), R(27),
543 B(Mov), R(11), R(28),
544 B(Mov), R(8), R(29),
545 B(CallJSRuntime), U8(%async_function_await_caught), R(26), U8(4) ,
546 B(LdaSmi), I8(1),
547 B(Mov), R(2), R(25),
548 B(Mov), R(8), R(26),
549 B(SuspendGenerator), R(25), U8(2),
550 B(Ldar), R(26),
551 /* 68 S> */ B(Return),
552 B(LdaSmi), I8(-2),
553 B(Star), R(15),
554 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos), R(25), U8(1),
555 B(Star), R(26),
556 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(25) , U8(1),
557 B(Star), R(27),
558 B(LdaZero),
559 B(TestEqualStrictNoFeedback), R(27),
560 B(JumpIfTrue), U8(28),
561 B(LdaSmi), I8(2),
562 B(TestEqualStrictNoFeedback), R(27),
563 B(JumpIfTrue), U8(19),
564 B(LdaTrue),
565 B(Star), R(29),
566 B(Mov), R(26), R(28),
567 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(28) , U8(2),
568 B(Star), R(18),
569 B(LdaZero),
570 B(Star), R(17),
571 B(Jump), U8(245),
572 B(Ldar), R(26),
573 B(ReThrow),
574 B(Ldar), R(26),
575 B(Jump), U8(20),
576 B(Star), R(25),
577 B(Ldar), R(closure),
578 B(CreateCatchContext), R(25), U8(10), U8(14),
579 B(Star), R(24),
580 B(LdaTheHole),
581 B(SetPendingMessage),
582 B(Ldar), R(24),
583 B(PushContext), R(14),
584 B(PopContext), R(14),
585 B(Jump), U8(107),
586 B(Mov), R(10), R(25),
587 B(Mov), R(4), R(26),
588 B(InvokeIntrinsic), U8(Runtime::k_Call), R(25), U8(2),
655 B(Star), R(13), 589 B(Star), R(13),
656 B(CallRuntime), U16(Runtime::kNewTypeError), R(12), U8(2), 590 B(LdaUndefined),
657 B(Throw), 591 B(Star), R(25),
658 B(Mov), R(context), R(12), 592 B(Mov), R(2), R(26),
659 B(LdaImmutableContextSlot), R(1), U8(4), U8(0), 593 B(Mov), R(13), R(27),
660 B(Star), R(13), 594 B(Mov), R(8), R(28),
661 B(LdaContextSlot), R(1), U8(12), U8(0), 595 B(CallJSRuntime), U8(%async_function_await_uncaught), R(25), U8( 4),
662 B(Star), R(14), 596 B(LdaSmi), I8(2),
663 B(LdaContextSlot), R(1), U8(6), U8(0), 597 B(Mov), R(2), R(24),
664 B(Star), R(15), 598 B(Mov), R(8), R(25),
665 B(InvokeIntrinsic), U8(Runtime::k_Call), R(14), U8(2), 599 B(SuspendGenerator), R(24), U8(2),
666 B(StaContextSlot), R(1), U8(13), U8(0), 600 B(Ldar), R(25),
667 B(LdaUndefined), 601 /* 68 S> */ B(Return),
668 B(Star), R(14), 602 B(LdaSmi), I8(-2),
669 B(LdaImmutableContextSlot), R(1), U8(4), U8(0), 603 B(Star), R(15),
670 B(Star), R(15), 604 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos), R(24), U8(1),
671 B(LdaContextSlot), R(1), U8(13), U8(0), 605 B(Star), R(25),
672 B(Star), R(16), 606 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(24) , U8(1),
673 B(LdaContextSlot), R(1), U8(10), U8(0), 607 B(Star), R(26),
674 B(Star), R(17), 608 B(LdaZero),
675 B(CallJSRuntime), U8(%async_function_await_caught), R(14), U8(4) , 609 B(TestEqualStrictNoFeedback), R(26),
676 B(LdaContextSlot), R(1), U8(10), U8(0), 610 B(JumpIfTrue), U8(28),
677 B(Star), R(14), 611 B(LdaSmi), I8(2),
678 B(LdaSmi), I8(1), 612 B(TestEqualStrictNoFeedback), R(26),
679 B(SuspendGenerator), R(13), U8(2), 613 B(JumpIfTrue), U8(19),
680 B(Ldar), R(14),
681 /* 68 S> */ B(Return),
682 B(LdaSmi), I8(-2),
683 B(Star), R(3),
684 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos), R(13), U8(1),
685 B(Star), R(14),
686 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(13) , U8(1),
687 B(Star), R(15),
688 B(LdaZero),
689 B(TestEqualStrictNoFeedback), R(15),
690 B(JumpIfTrue), U8(36),
691 B(LdaSmi), I8(2),
692 B(TestEqualStrictNoFeedback), R(15),
693 B(JumpIfTrue), U8(27),
694 B(LdaTrue), 614 B(LdaTrue),
695 B(Star), R(17), 615 B(Star), R(28),
696 B(Mov), R(14), R(16), 616 B(Mov), R(25), R(27),
697 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(16) , U8(2), 617 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(27) , U8(2),
698 B(PopContext), R(1), 618 B(Star), R(18),
699 B(PopContext), R(1), 619 B(LdaZero),
700 B(PopContext), R(1), 620 B(Star), R(17),
701 B(PopContext), R(1), 621 B(Jump), U8(132),
702 B(Star), R(6), 622 B(Ldar), R(25),
703 B(LdaZero), 623 B(ReThrow),
704 B(Star), R(5), 624 B(Mov), R(25), R(12),
705 B(JumpConstant), U8(23),
706 B(Ldar), R(14),
707 B(ReThrow),
708 B(Ldar), R(14),
709 B(Jump), U8(20),
710 B(Star), R(13),
711 B(Ldar), R(closure),
712 B(CreateCatchContext), R(13), U8(12), U8(16),
713 B(Star), R(12),
714 B(LdaTheHole),
715 B(SetPendingMessage),
716 B(Ldar), R(12),
717 B(PushContext), R(2),
718 B(PopContext), R(2),
719 B(Jump), U8(153),
720 B(LdaImmutableContextSlot), R(1), U8(4), U8(0),
721 B(Star), R(12),
722 B(LdaContextSlot), R(1), U8(12), U8(0),
723 B(Star), R(13),
724 B(LdaContextSlot), R(1), U8(6), U8(0),
725 B(Star), R(14),
726 B(InvokeIntrinsic), U8(Runtime::k_Call), R(13), U8(2),
727 B(StaContextSlot), R(1), U8(15), U8(0),
728 B(LdaUndefined),
729 B(Star), R(13),
730 B(LdaImmutableContextSlot), R(1), U8(4), U8(0),
731 B(Star), R(14),
732 B(LdaContextSlot), R(1), U8(15), U8(0),
733 B(Star), R(15),
734 B(LdaContextSlot), R(1), U8(10), U8(0),
735 B(Star), R(16),
736 B(CallJSRuntime), U8(%async_function_await_uncaught), R(13), U8( 4),
737 B(LdaContextSlot), R(1), U8(10), U8(0),
738 B(Star), R(13),
739 B(LdaSmi), I8(2),
740 B(SuspendGenerator), R(12), U8(2),
741 B(Ldar), R(13),
742 /* 68 S> */ B(Return),
743 B(LdaSmi), I8(-2),
744 B(Star), R(3),
745 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos), R(12), U8(1),
746 B(Star), R(13),
747 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(12) , U8(1),
748 B(Star), R(14),
749 B(LdaZero),
750 B(TestEqualStrictNoFeedback), R(14),
751 B(JumpIfTrue), U8(36),
752 B(LdaSmi), I8(2),
753 B(TestEqualStrictNoFeedback), R(14),
754 B(JumpIfTrue), U8(27),
755 B(LdaTrue),
756 B(Star), R(16),
757 B(Mov), R(13), R(15),
758 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(15) , U8(2),
759 B(PopContext), R(1),
760 B(PopContext), R(1),
761 B(PopContext), R(1),
762 B(PopContext), R(1),
763 B(Star), R(6),
764 B(LdaZero),
765 B(Star), R(5),
766 B(Jump), U8(177),
767 B(Ldar), R(13),
768 B(ReThrow),
769 B(Ldar), R(13),
770 B(StaContextSlot), R(1), U8(14), U8(0),
771 B(LdaContextSlot), R(1), U8(14), U8(0),
772 B(Star), R(12),
773 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(12), U8(1), 625 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(12), U8(1),
774 B(JumpIfToBooleanFalse), U8(4), 626 B(JumpIfToBooleanFalse), U8(4),
775 B(Jump), U8(13), 627 B(Jump), U8(7),
776 B(LdaContextSlot), R(1), U8(14), U8(0),
777 B(Star), R(12),
778 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (12), U8(1), 628 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (12), U8(1),
779 B(Ldar), R(11), 629 B(Ldar), R(23),
780 B(SetPendingMessage), 630 B(SetPendingMessage),
781 B(Ldar), R(9), 631 B(Ldar), R(21),
782 B(SwitchOnSmiNoFeedback), U8(19), U8(3), I8(0), 632 B(SwitchOnSmiNoFeedback), U8(16), U8(3), I8(0),
783 B(Jump), U8(42), 633 B(Jump), U8(22),
784 B(PopContext), R(1), 634 B(LdaZero),
785 B(PopContext), R(1), 635 B(Star), R(17),
786 B(PopContext), R(1), 636 B(Mov), R(22), R(18),
787 B(PopContext), R(1), 637 B(Jump), U8(94),
788 B(LdaZero),
789 B(Star), R(5),
790 B(Mov), R(10), R(6),
791 B(Jump), U8(116),
792 B(PopContext), R(1),
793 B(PopContext), R(1),
794 B(PopContext), R(1),
795 B(PopContext), R(1),
796 B(LdaSmi), I8(1), 638 B(LdaSmi), I8(1),
797 B(Star), R(5), 639 B(Star), R(17),
798 B(Mov), R(10), R(6), 640 B(Mov), R(22), R(18),
799 B(Jump), U8(99), 641 B(Jump), U8(85),
800 B(PopContext), R(1), 642 B(Ldar), R(22),
801 B(PopContext), R(1), 643 B(ReThrow),
802 B(Ldar), R(10), 644 B(LdaUndefined),
803 B(ReThrow), 645 B(Star), R(21),
804 B(PopContext), R(1), 646 B(LdaUndefined),
805 B(LdaUndefined), 647 B(Star), R(23),
806 B(Star), R(9), 648 B(Mov), R(8), R(22),
807 B(LdaCurrentContextSlot), U8(10), 649 B(CallJSRuntime), U8(%promise_resolve), R(21), U8(3),
808 B(Star), R(10), 650 B(LdaZero),
809 B(LdaUndefined), 651 B(Star), R(17),
810 B(Star), R(11), 652 B(Mov), R(8), R(18),
811 B(CallJSRuntime), U8(%promise_resolve), R(9), U8(3), 653 B(Jump), U8(61),
812 B(LdaCurrentContextSlot), U8(10), 654 B(Jump), U8(47),
813 B(Star), R(6), 655 B(Star), R(21),
814 B(LdaZero),
815 B(Star), R(5),
816 B(Jump), U8(67),
817 B(Jump), U8(53),
818 B(Star), R(9),
819 B(Ldar), R(closure), 656 B(Ldar), R(closure),
820 B(CreateCatchContext), R(9), U8(12), U8(22), 657 B(CreateCatchContext), R(21), U8(10), U8(19),
821 B(Star), R(8), 658 B(Star), R(20),
822 B(LdaTheHole), 659 B(LdaTheHole),
823 B(SetPendingMessage), 660 B(SetPendingMessage),
824 B(Ldar), R(8), 661 B(Ldar), R(20),
825 B(PushContext), R(1), 662 B(PushContext), R(14),
826 B(LdaUndefined), 663 B(LdaUndefined),
827 B(Star), R(9), 664 B(Star), R(21),
828 B(LdaContextSlot), R(1), U8(10), U8(0),
829 B(Star), R(10),
830 B(LdaImmutableCurrentContextSlot), U8(4), 665 B(LdaImmutableCurrentContextSlot), U8(4),
831 B(Star), R(11), 666 B(Star), R(23),
832 B(LdaFalse), 667 B(LdaFalse),
833 B(Star), R(12), 668 B(Star), R(24),
834 B(CallJSRuntime), U8(%promise_internal_reject), R(9), U8(4), 669 B(Mov), R(8), R(22),
835 B(LdaContextSlot), R(1), U8(10), U8(0), 670 B(CallJSRuntime), U8(%promise_internal_reject), R(21), U8(4),
836 B(PopContext), R(1), 671 B(PopContext), R(14),
837 B(PopContext), R(1), 672 B(PopContext), R(14),
838 B(Star), R(6), 673 B(LdaZero),
839 B(LdaZero), 674 B(Star), R(17),
840 B(Star), R(5), 675 B(Mov), R(8), R(18),
841 B(Jump), U8(14), 676 B(Jump), U8(14),
842 B(LdaSmi), I8(-1), 677 B(LdaSmi), I8(-1),
843 B(Star), R(5), 678 B(Star), R(17),
844 B(Jump), U8(8), 679 B(Jump), U8(8),
845 B(Star), R(6), 680 B(Star), R(18),
846 B(LdaSmi), I8(2), 681 B(LdaSmi), I8(2),
847 B(Star), R(5), 682 B(Star), R(17),
848 B(LdaTheHole), 683 B(LdaTheHole),
849 B(SetPendingMessage), 684 B(SetPendingMessage),
850 B(Star), R(7), 685 B(Star), R(19),
851 B(LdaUndefined), 686 B(LdaUndefined),
852 B(Star), R(8), 687 B(Star), R(20),
853 B(LdaCurrentContextSlot), U8(10), 688 B(Mov), R(8), R(21),
854 B(Star), R(9), 689 B(CallJSRuntime), U8(%async_function_promise_release), R(20), U8 (2),
855 B(CallJSRuntime), U8(%async_function_promise_release), R(8), U8( 2), 690 B(Ldar), R(19),
856 B(Ldar), R(7), 691 B(SetPendingMessage),
857 B(SetPendingMessage), 692 B(Ldar), R(17),
858 B(Ldar), R(5), 693 B(SwitchOnSmiNoFeedback), U8(20), U8(3), I8(0),
859 B(SwitchOnSmiNoFeedback), U8(24), U8(3), I8(0), 694 B(Jump), U8(24),
860 B(Jump), U8(25), 695 B(Ldar), R(18),
861 B(Ldar), R(6), 696 /* 68 S> */ B(Return),
862 /* 68 S> */ B(Return), 697 B(LdaUndefined),
863 B(LdaCurrentContextSlot), U8(10), 698 B(Star), R(20),
864 B(Star), R(9), 699 B(Mov), R(8), R(21),
865 B(LdaUndefined), 700 B(Mov), R(18), R(22),
866 B(Star), R(8), 701 B(CallJSRuntime), U8(%promise_resolve), R(20), U8(3),
867 B(Mov), R(6), R(10), 702 B(Ldar), R(8),
868 B(CallJSRuntime), U8(%promise_resolve), R(8), U8(3), 703 /* 68 S> */ B(Return),
869 B(Ldar), R(9), 704 B(Ldar), R(18),
870 /* 68 S> */ B(Return),
871 B(Ldar), R(6),
872 B(ReThrow), 705 B(ReThrow),
873 B(LdaUndefined), 706 B(LdaUndefined),
874 /* 68 S> */ B(Return), 707 /* 68 S> */ B(Return),
875 ] 708 ]
876 constant pool: [ 709 constant pool: [
877 Smi [116], 710 Smi [99],
878 Smi [556], 711 Smi [405],
879 Smi [700], 712 Smi [518],
880 FIXED_ARRAY_TYPE,
881 TUPLE2_TYPE, 713 TUPLE2_TYPE,
882 SYMBOL_TYPE, 714 SYMBOL_TYPE,
883 SYMBOL_TYPE, 715 SYMBOL_TYPE,
884 Smi [83], 716 Smi [61],
885 ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"], 717 ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"],
886 ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"], 718 ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"],
887 ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"], 719 ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"],
888 FIXED_ARRAY_TYPE,
889 ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"], 720 ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"],
890 FIXED_ARRAY_TYPE, 721 FIXED_ARRAY_TYPE,
891 ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"], 722 ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"],
892 ONE_BYTE_INTERNALIZED_STRING_TYPE [""], 723 ONE_BYTE_INTERNALIZED_STRING_TYPE [""],
893 FIXED_ARRAY_TYPE, 724 FIXED_ARRAY_TYPE,
894 Smi [339], 725 Smi [265],
895 Smi [362],
896 Smi [6], 726 Smi [6],
897 Smi [22], 727 Smi [14],
898 Smi [39], 728 Smi [23],
899 FIXED_ARRAY_TYPE, 729 FIXED_ARRAY_TYPE,
900 Smi [321],
901 Smi [6], 730 Smi [6],
902 Smi [9], 731 Smi [9],
903 Smi [26], 732 Smi [25],
904 ] 733 ]
905 handlers: [ 734 handlers: [
906 [60, 929, 935], 735 [56, 694, 700],
907 [63, 876, 878], 736 [59, 647, 649],
908 [80, 412, 418], 737 [65, 310, 316],
909 [83, 364, 366], 738 [68, 270, 272],
910 [505, 627, 629], 739 [377, 468, 470],
911 ] 740 ]
912 741
913 --- 742 ---
914 snippet: " 743 snippet: "
915 async function f() { 744 async function f() {
916 for await (let x of [10, 20, 30]) { 745 for await (let x of [10, 20, 30]) {
917 if (x == 10) continue; 746 if (x == 10) continue;
918 if (x == 20) break; 747 if (x == 20) break;
919 } 748 }
920 } 749 }
921 f(); 750 f();
922 " 751 "
923 frame size: 18 752 frame size: 30
924 parameter count: 1 753 parameter count: 1
925 bytecode array length: 980 754 bytecode array length: 745
926 bytecodes: [ 755 bytecodes: [
927 B(Ldar), R(new_target), 756 B(Ldar), R(new_target),
928 B(JumpIfUndefined), U8(25), 757 B(JumpIfUndefined), U8(25),
929 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetContext), R(new_ta rget), U8(1), 758 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetContext), R(new_ta rget), U8(1),
930 B(PushContext), R(4), 759 B(PushContext), R(16),
931 B(ResumeGenerator), R(new_target), 760 B(ResumeGenerator), R(new_target),
932 B(Star), R(3), 761 B(Star), R(15),
933 B(SwitchOnSmiNoFeedback), U8(0), U8(3), I8(0), 762 B(SwitchOnSmiNoFeedback), U8(0), U8(3), I8(0),
934 B(LdaSmi), I8(79), 763 B(LdaSmi), I8(79),
935 B(Star), R(5), 764 B(Star), R(17),
936 B(CallRuntime), U16(Runtime::kAbort), R(5), U8(1), 765 B(CallRuntime), U16(Runtime::kAbort), R(17), U8(1),
937 B(LdaSmi), I8(-2), 766 B(LdaSmi), I8(-2),
938 B(Star), R(3), 767 B(Star), R(15),
939 B(CreateFunctionContext), U8(12), 768 B(Mov), R(closure), R(17),
940 B(PushContext), R(0), 769 B(Mov), R(this), R(18),
941 B(Mov), R(closure), R(5), 770 B(InvokeIntrinsic), U8(Runtime::k_CreateJSGeneratorObject), R(17 ), U8(2),
942 B(Mov), R(this), R(6), 771 B(Star), R(2),
943 B(InvokeIntrinsic), U8(Runtime::k_CreateJSGeneratorObject), R(5) , U8(2),
944 B(StaCurrentContextSlot), U8(4),
945 /* 16 E> */ B(StackCheck), 772 /* 16 E> */ B(StackCheck),
946 B(LdaUndefined), 773 B(LdaUndefined),
947 B(Star), R(5), 774 B(Star), R(17),
948 B(CallJSRuntime), U8(%async_function_promise_create), R(5), U8(1 ), 775 B(CallJSRuntime), U8(%async_function_promise_create), R(17), U8( 1),
949 B(StaCurrentContextSlot), U8(10), 776 B(Star), R(8),
950 B(Mov), R(context), R(7), 777 B(Mov), R(context), R(19),
951 B(Mov), R(context), R(8), 778 B(Mov), R(context), R(20),
952 B(Ldar), R(closure), 779 B(LdaZero),
953 B(CreateBlockContext), U8(3), 780 B(Star), R(6),
954 B(PushContext), R(1), 781 B(Mov), R(context), R(23),
955 B(LdaTheHole), 782 B(Mov), R(context), R(24),
956 B(StaCurrentContextSlot), U8(4), 783 /* 43 S> */ B(CreateArrayLiteral), U8(3), U8(3), U8(17),
957 B(LdaZero), 784 B(Star), R(25),
958 B(StaContextSlot), R(1), U8(8), U8(0), 785 B(LdaNamedProperty), R(25), U8(4), U8(8),
959 B(Mov), R(context), R(11),
960 B(Mov), R(context), R(12),
961 /* 43 S> */ B(CreateArrayLiteral), U8(4), U8(3), U8(17),
962 B(Star), R(13),
963 B(LdaNamedProperty), R(13), U8(5), U8(8),
964 B(JumpIfUndefined), U8(17), 786 B(JumpIfUndefined), U8(17),
965 B(JumpIfNull), U8(15), 787 B(JumpIfNull), U8(15),
966 B(Star), R(14), 788 B(Star), R(26),
967 B(CallProperty0), R(14), R(13), U8(10), 789 B(CallProperty0), R(26), R(25), U8(10),
968 B(JumpIfJSReceiver), U8(23), 790 B(JumpIfJSReceiver), U8(23),
969 B(CallRuntime), U16(Runtime::kThrowSymbolAsyncIteratorInvalid), R(0), U8(0), 791 B(CallRuntime), U16(Runtime::kThrowSymbolAsyncIteratorInvalid), R(0), U8(0),
970 B(LdaNamedProperty), R(13), U8(6), U8(4), 792 B(LdaNamedProperty), R(25), U8(5), U8(4),
971 B(Star), R(14), 793 B(Star), R(26),
972 B(CallProperty0), R(14), R(13), U8(6), 794 B(CallProperty0), R(26), R(25), U8(6),
973 B(Star), R(14), 795 B(Star), R(26),
974 B(InvokeIntrinsic), U8(Runtime::k_CreateAsyncFromSyncIterator), R(14), U8(1), 796 B(InvokeIntrinsic), U8(Runtime::k_CreateAsyncFromSyncIterator), R(26), U8(1),
975 /* 43 E> */ B(StaContextSlot), R(1), U8(6), U8(0), 797 B(Star), R(4),
976 B(Ldar), R(3), 798 B(Ldar), R(15),
977 B(SwitchOnSmiNoFeedback), U8(7), U8(1), I8(0), 799 B(SwitchOnSmiNoFeedback), U8(6), U8(1), I8(0),
978 B(LdaSmi), I8(-2), 800 B(LdaSmi), I8(-2),
979 B(TestEqualStrictNoFeedback), R(3), 801 /* 43 E> */ B(TestEqualStrictNoFeedback), R(15),
980 B(JumpIfTrue), U8(11), 802 B(JumpIfTrue), U8(11),
981 B(LdaSmi), I8(79), 803 B(LdaSmi), I8(79),
982 B(Star), R(13), 804 B(Star), R(25),
983 B(CallRuntime), U16(Runtime::kAbort), R(13), U8(1), 805 B(CallRuntime), U16(Runtime::kAbort), R(25), U8(1),
984 /* 40 S> */ B(LdaImmutableContextSlot), R(1), U8(4), U8(0), 806 /* 40 S> */ B(Nop),
985 B(Star), R(13), 807 /* 40 S> */ B(LdaNamedProperty), R(4), U8(7), U8(14),
986 /* 40 S> */ B(LdaContextSlot), R(1), U8(6), U8(0), 808 B(Star), R(26),
987 B(Star), R(15), 809 /* 40 E> */ B(CallProperty0), R(26), R(4), U8(12),
988 B(LdaNamedProperty), R(15), U8(8), U8(14), 810 B(Star), R(7),
989 B(Star), R(14),
990 /* 40 E> */ B(CallProperty0), R(14), R(15), U8(12),
991 B(StaContextSlot), R(1), U8(9), U8(0),
992 /* 40 S> */ B(LdaUndefined), 811 /* 40 S> */ B(LdaUndefined),
993 B(Star), R(14), 812 B(Star), R(26),
994 B(LdaImmutableContextSlot), R(1), U8(4), U8(0), 813 B(Mov), R(2), R(27),
995 B(Star), R(15), 814 B(Mov), R(7), R(28),
996 B(LdaContextSlot), R(1), U8(9), U8(0), 815 B(Mov), R(8), R(29),
997 B(Star), R(16), 816 B(CallJSRuntime), U8(%async_function_await_uncaught), R(26), U8( 4),
998 B(LdaContextSlot), R(1), U8(10), U8(0), 817 B(LdaZero),
999 B(Star), R(17), 818 B(Mov), R(2), R(25),
1000 B(CallJSRuntime), U8(%async_function_await_uncaught), R(14), U8( 4), 819 B(Mov), R(8), R(26),
1001 B(LdaContextSlot), R(1), U8(10), U8(0), 820 B(SuspendGenerator), R(25), U8(2),
1002 B(Star), R(14), 821 B(Ldar), R(26),
1003 B(LdaZero), 822 /* 114 S> */ B(Return),
1004 B(SuspendGenerator), R(13), U8(2), 823 B(LdaSmi), I8(-2),
1005 B(Ldar), R(14), 824 B(Star), R(15),
1006 /* 114 S> */ B(Return), 825 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos), R(25), U8(1),
1007 B(LdaSmi), I8(-2), 826 B(Star), R(26),
1008 B(Star), R(3), 827 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(25) , U8(1),
1009 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos), R(13), U8(1), 828 B(Star), R(27),
1010 B(Star), R(14), 829 B(LdaZero),
1011 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(13) , U8(1), 830 B(TestEqualStrictNoFeedback), R(27),
1012 B(Star), R(15),
1013 B(LdaZero),
1014 B(TestEqualStrictNoFeedback), R(15),
1015 B(JumpIfTrue), U8(28), 831 B(JumpIfTrue), U8(28),
1016 B(LdaSmi), I8(2), 832 B(LdaSmi), I8(2),
1017 B(TestEqualStrictNoFeedback), R(15), 833 B(TestEqualStrictNoFeedback), R(27),
1018 B(JumpIfTrue), U8(19), 834 B(JumpIfTrue), U8(19),
1019 B(LdaTrue), 835 B(LdaTrue),
1020 B(Star), R(17), 836 B(Star), R(29),
1021 B(Mov), R(14), R(16), 837 B(Mov), R(26), R(28),
1022 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(16) , U8(2), 838 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(28) , U8(2),
839 B(Star), R(22),
840 B(LdaZero),
841 B(Star), R(21),
842 B(Jump), U8(119),
843 B(Ldar), R(26),
844 B(ReThrow),
845 B(Mov), R(26), R(5),
846 /* 40 E> */ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(5), U8(1),
847 B(ToBooleanLogicalNot),
848 B(JumpIfFalse), U8(7),
849 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (5), U8(1),
850 B(LdaNamedProperty), R(5), U8(8), U8(16),
851 B(JumpIfToBooleanTrue), U8(43),
852 B(LdaNamedProperty), R(5), U8(9), U8(18),
853 B(Star), R(9),
854 B(LdaSmi), I8(2),
855 B(Star), R(6),
856 B(Mov), R(9), R(3),
857 /* 23 E> */ B(StackCheck),
858 B(Mov), R(3), R(0),
859 /* 63 S> */ B(LdaSmi), I8(10),
860 /* 69 E> */ B(TestEqual), R(0), U8(20),
861 B(JumpIfFalse), U8(4),
862 /* 76 S> */ B(Jump), U8(14),
863 /* 90 S> */ B(LdaSmi), I8(20),
864 /* 96 E> */ B(TestEqual), R(0), U8(21),
865 B(JumpIfFalse), U8(4),
866 /* 103 S> */ B(Jump), U8(8),
867 B(LdaZero),
868 B(Star), R(6),
869 B(JumpLoop), U8(169), I8(0),
870 B(Jump), U8(40),
871 B(Star), R(25),
872 B(Ldar), R(closure),
873 B(CreateCatchContext), R(25), U8(10), U8(11),
874 B(Star), R(24),
875 B(LdaTheHole),
876 B(SetPendingMessage),
877 B(Ldar), R(24),
878 B(PushContext), R(14),
879 B(LdaSmi), I8(2),
880 B(TestEqualStrict), R(6), U8(22),
881 B(JumpIfFalse), U8(6),
882 B(LdaSmi), I8(1),
883 B(Star), R(6),
884 B(LdaImmutableCurrentContextSlot), U8(4),
885 B(Star), R(25),
886 B(CallRuntime), U16(Runtime::kReThrow), R(25), U8(1),
887 B(PopContext), R(14),
888 B(LdaSmi), I8(-1),
889 B(Star), R(21),
890 B(Jump), U8(8),
891 B(Star), R(22),
892 B(LdaSmi), I8(1),
893 B(Star), R(21),
894 B(LdaTheHole),
895 B(SetPendingMessage),
896 B(Star), R(23),
897 B(LdaZero),
898 B(TestEqualStrict), R(6), U8(23),
899 B(JumpIfTrueConstant), U8(15),
900 B(LdaNamedProperty), R(4), U8(12), U8(24),
1023 B(Star), R(10), 901 B(Star), R(10),
1024 B(LdaZero),
1025 B(Star), R(9),
1026 B(Jump), U8(189),
1027 B(Ldar), R(14),
1028 B(ReThrow),
1029 B(Ldar), R(14),
1030 /* 40 E> */ B(StaContextSlot), R(1), U8(7), U8(0),
1031 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(14), U8(1),
1032 B(ToBooleanLogicalNot),
1033 B(JumpIfFalse), U8(13),
1034 B(LdaContextSlot), R(1), U8(7), U8(0),
1035 B(Star), R(13),
1036 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (13), U8(1),
1037 B(LdaContextSlot), R(1), U8(7), U8(0),
1038 B(Star), R(13),
1039 B(LdaNamedProperty), R(13), U8(9), U8(16),
1040 B(JumpIfToBooleanTrue), U8(90),
1041 B(LdaContextSlot), R(1), U8(7), U8(0),
1042 B(Star), R(13),
1043 B(LdaNamedProperty), R(13), U8(10), U8(18),
1044 B(StaContextSlot), R(1), U8(11), U8(0),
1045 B(LdaSmi), I8(2),
1046 B(StaContextSlot), R(1), U8(8), U8(0),
1047 B(LdaContextSlot), R(1), U8(11), U8(0),
1048 B(StaContextSlot), R(1), U8(5), U8(0),
1049 /* 23 E> */ B(StackCheck),
1050 B(Ldar), R(closure),
1051 B(CreateBlockContext), U8(11),
1052 B(PushContext), R(2),
1053 B(LdaTheHole),
1054 B(StaCurrentContextSlot), U8(4),
1055 B(LdaContextSlot), R(1), U8(5), U8(0),
1056 B(StaCurrentContextSlot), U8(4),
1057 /* 63 S> */ B(LdaImmutableCurrentContextSlot), U8(4),
1058 B(Star), R(13),
1059 B(LdaSmi), I8(10),
1060 /* 69 E> */ B(TestEqual), R(13), U8(20),
1061 B(JumpIfFalse), U8(8),
1062 /* 76 S> */ B(PopContext), R(2),
1063 B(PopContext), R(2),
1064 B(Jump), U8(26),
1065 /* 90 S> */ B(LdaImmutableCurrentContextSlot), U8(4),
1066 B(Star), R(13),
1067 B(LdaSmi), I8(20),
1068 /* 96 E> */ B(TestEqual), R(13), U8(21),
1069 B(JumpIfFalse), U8(8),
1070 /* 103 S> */ B(PopContext), R(2),
1071 B(PopContext), R(2),
1072 B(Jump), U8(12),
1073 B(PopContext), R(2),
1074 B(LdaZero),
1075 B(StaContextSlot), R(1), U8(8), U8(0),
1076 B(JumpLoop), U8(253), I8(0),
1077 B(Jump), U8(48),
1078 B(Star), R(13),
1079 B(Ldar), R(closure),
1080 B(CreateCatchContext), R(13), U8(12), U8(13),
1081 B(Star), R(12),
1082 B(LdaTheHole),
1083 B(SetPendingMessage),
1084 B(Ldar), R(12),
1085 B(PushContext), R(2),
1086 B(LdaContextSlot), R(1), U8(8), U8(0),
1087 B(Star), R(13),
1088 B(LdaSmi), I8(2),
1089 B(TestEqualStrict), R(13), U8(22),
1090 B(JumpIfFalse), U8(8),
1091 B(LdaSmi), I8(1),
1092 B(StaContextSlot), R(1), U8(8), U8(0),
1093 B(LdaImmutableCurrentContextSlot), U8(4),
1094 B(Star), R(13),
1095 B(CallRuntime), U16(Runtime::kReThrow), R(13), U8(1),
1096 B(PopContext), R(2),
1097 B(LdaSmi), I8(-1),
1098 B(Star), R(9),
1099 B(Jump), U8(8),
1100 B(Star), R(10),
1101 B(LdaSmi), I8(1),
1102 B(Star), R(9),
1103 B(LdaTheHole),
1104 B(SetPendingMessage),
1105 B(Star), R(11),
1106 B(LdaContextSlot), R(1), U8(8), U8(0),
1107 B(Star), R(12),
1108 B(LdaZero),
1109 B(TestEqualStrict), R(12), U8(23),
1110 B(JumpIfTrueConstant), U8(18),
1111 B(LdaContextSlot), R(1), U8(6), U8(0),
1112 B(Star), R(12),
1113 B(LdaNamedProperty), R(12), U8(14), U8(24),
1114 B(StaContextSlot), R(1), U8(12), U8(0),
1115 B(LdaContextSlot), R(1), U8(12), U8(0),
1116 B(TestUndetectable), 902 B(TestUndetectable),
1117 B(JumpIfFalse), U8(4), 903 B(JumpIfFalse), U8(4),
1118 B(JumpConstant), U8(17), 904 B(Jump), U8(254),
1119 B(LdaContextSlot), R(1), U8(8), U8(0), 905 B(LdaSmi), I8(1),
1120 B(Star), R(12), 906 B(TestEqualStrict), R(6), U8(27),
1121 B(LdaSmi), I8(1), 907 B(JumpIfFalse), U8(142),
1122 B(TestEqualStrict), R(12), U8(27), 908 B(Ldar), R(10),
1123 B(JumpIfFalse), U8(175),
1124 B(LdaContextSlot), R(1), U8(12), U8(0),
1125 B(TestTypeOf), U8(5), 909 B(TestTypeOf), U8(5),
1126 B(JumpIfFalse), U8(4), 910 B(JumpIfFalse), U8(4),
1127 B(Jump), U8(18), 911 B(Jump), U8(18),
1128 B(Wide), B(LdaSmi), I16(130), 912 B(Wide), B(LdaSmi), I16(130),
1129 B(Star), R(12), 913 B(Star), R(24),
1130 B(LdaConstant), U8(15), 914 B(LdaConstant), U8(13),
915 B(Star), R(25),
916 B(CallRuntime), U16(Runtime::kNewTypeError), R(24), U8(2),
917 B(Throw),
918 B(Mov), R(context), R(24),
919 B(Mov), R(10), R(26),
920 B(Mov), R(4), R(27),
921 B(InvokeIntrinsic), U8(Runtime::k_Call), R(26), U8(2),
922 B(Star), R(11),
923 B(LdaUndefined),
924 B(Star), R(26),
925 B(Mov), R(2), R(27),
926 B(Mov), R(11), R(28),
927 B(Mov), R(8), R(29),
928 B(CallJSRuntime), U8(%async_function_await_caught), R(26), U8(4) ,
929 B(LdaSmi), I8(1),
930 B(Mov), R(2), R(25),
931 B(Mov), R(8), R(26),
932 B(SuspendGenerator), R(25), U8(2),
933 B(Ldar), R(26),
934 /* 114 S> */ B(Return),
935 B(LdaSmi), I8(-2),
936 B(Star), R(15),
937 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos), R(25), U8(1),
938 B(Star), R(26),
939 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(25) , U8(1),
940 B(Star), R(27),
941 B(LdaZero),
942 B(TestEqualStrictNoFeedback), R(27),
943 B(JumpIfTrue), U8(28),
944 B(LdaSmi), I8(2),
945 B(TestEqualStrictNoFeedback), R(27),
946 B(JumpIfTrue), U8(19),
947 B(LdaTrue),
948 B(Star), R(29),
949 B(Mov), R(26), R(28),
950 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(28) , U8(2),
951 B(Star), R(18),
952 B(LdaZero),
953 B(Star), R(17),
954 B(Jump), U8(236),
955 B(Ldar), R(26),
956 B(ReThrow),
957 B(Ldar), R(26),
958 B(Jump), U8(20),
959 B(Star), R(25),
960 B(Ldar), R(closure),
961 B(CreateCatchContext), R(25), U8(10), U8(14),
962 B(Star), R(24),
963 B(LdaTheHole),
964 B(SetPendingMessage),
965 B(Ldar), R(24),
966 B(PushContext), R(14),
967 B(PopContext), R(14),
968 B(Jump), U8(107),
969 B(Mov), R(10), R(25),
970 B(Mov), R(4), R(26),
971 B(InvokeIntrinsic), U8(Runtime::k_Call), R(25), U8(2),
1131 B(Star), R(13), 972 B(Star), R(13),
1132 B(CallRuntime), U16(Runtime::kNewTypeError), R(12), U8(2), 973 B(LdaUndefined),
1133 B(Throw), 974 B(Star), R(25),
1134 B(Mov), R(context), R(12), 975 B(Mov), R(2), R(26),
1135 B(LdaImmutableContextSlot), R(1), U8(4), U8(0), 976 B(Mov), R(13), R(27),
1136 B(Star), R(13), 977 B(Mov), R(8), R(28),
1137 B(LdaContextSlot), R(1), U8(12), U8(0), 978 B(CallJSRuntime), U8(%async_function_await_uncaught), R(25), U8( 4),
1138 B(Star), R(14), 979 B(LdaSmi), I8(2),
1139 B(LdaContextSlot), R(1), U8(6), U8(0), 980 B(Mov), R(2), R(24),
1140 B(Star), R(15), 981 B(Mov), R(8), R(25),
1141 B(InvokeIntrinsic), U8(Runtime::k_Call), R(14), U8(2), 982 B(SuspendGenerator), R(24), U8(2),
1142 B(StaContextSlot), R(1), U8(13), U8(0), 983 B(Ldar), R(25),
1143 B(LdaUndefined), 984 /* 114 S> */ B(Return),
1144 B(Star), R(14), 985 B(LdaSmi), I8(-2),
1145 B(LdaImmutableContextSlot), R(1), U8(4), U8(0), 986 B(Star), R(15),
1146 B(Star), R(15), 987 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos), R(24), U8(1),
1147 B(LdaContextSlot), R(1), U8(13), U8(0), 988 B(Star), R(25),
1148 B(Star), R(16), 989 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(24) , U8(1),
1149 B(LdaContextSlot), R(1), U8(10), U8(0), 990 B(Star), R(26),
1150 B(Star), R(17), 991 B(LdaZero),
1151 B(CallJSRuntime), U8(%async_function_await_caught), R(14), U8(4) , 992 B(TestEqualStrictNoFeedback), R(26),
1152 B(LdaContextSlot), R(1), U8(10), U8(0), 993 B(JumpIfTrue), U8(28),
1153 B(Star), R(14), 994 B(LdaSmi), I8(2),
1154 B(LdaSmi), I8(1), 995 B(TestEqualStrictNoFeedback), R(26),
1155 B(SuspendGenerator), R(13), U8(2), 996 B(JumpIfTrue), U8(19),
1156 B(Ldar), R(14),
1157 /* 114 S> */ B(Return),
1158 B(LdaSmi), I8(-2),
1159 B(Star), R(3),
1160 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos), R(13), U8(1),
1161 B(Star), R(14),
1162 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(13) , U8(1),
1163 B(Star), R(15),
1164 B(LdaZero),
1165 B(TestEqualStrictNoFeedback), R(15),
1166 B(JumpIfTrue), U8(36),
1167 B(LdaSmi), I8(2),
1168 B(TestEqualStrictNoFeedback), R(15),
1169 B(JumpIfTrue), U8(27),
1170 B(LdaTrue), 997 B(LdaTrue),
1171 B(Star), R(17), 998 B(Star), R(28),
1172 B(Mov), R(14), R(16), 999 B(Mov), R(25), R(27),
1173 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(16) , U8(2), 1000 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(27) , U8(2),
1174 B(PopContext), R(1), 1001 B(Star), R(18),
1175 B(PopContext), R(1), 1002 B(LdaZero),
1176 B(PopContext), R(1), 1003 B(Star), R(17),
1177 B(PopContext), R(1), 1004 B(Jump), U8(123),
1178 B(Star), R(6), 1005 B(Ldar), R(25),
1179 B(LdaZero), 1006 B(ReThrow),
1180 B(Star), R(5), 1007 B(Mov), R(25), R(12),
1181 B(JumpConstant), U8(22),
1182 B(Ldar), R(14),
1183 B(ReThrow),
1184 B(Ldar), R(14),
1185 B(Jump), U8(20),
1186 B(Star), R(13),
1187 B(Ldar), R(closure),
1188 B(CreateCatchContext), R(13), U8(12), U8(16),
1189 B(Star), R(12),
1190 B(LdaTheHole),
1191 B(SetPendingMessage),
1192 B(Ldar), R(12),
1193 B(PushContext), R(2),
1194 B(PopContext), R(2),
1195 B(Jump), U8(153),
1196 B(LdaImmutableContextSlot), R(1), U8(4), U8(0),
1197 B(Star), R(12),
1198 B(LdaContextSlot), R(1), U8(12), U8(0),
1199 B(Star), R(13),
1200 B(LdaContextSlot), R(1), U8(6), U8(0),
1201 B(Star), R(14),
1202 B(InvokeIntrinsic), U8(Runtime::k_Call), R(13), U8(2),
1203 B(StaContextSlot), R(1), U8(15), U8(0),
1204 B(LdaUndefined),
1205 B(Star), R(13),
1206 B(LdaImmutableContextSlot), R(1), U8(4), U8(0),
1207 B(Star), R(14),
1208 B(LdaContextSlot), R(1), U8(15), U8(0),
1209 B(Star), R(15),
1210 B(LdaContextSlot), R(1), U8(10), U8(0),
1211 B(Star), R(16),
1212 B(CallJSRuntime), U8(%async_function_await_uncaught), R(13), U8( 4),
1213 B(LdaContextSlot), R(1), U8(10), U8(0),
1214 B(Star), R(13),
1215 B(LdaSmi), I8(2),
1216 B(SuspendGenerator), R(12), U8(2),
1217 B(Ldar), R(13),
1218 /* 114 S> */ B(Return),
1219 B(LdaSmi), I8(-2),
1220 B(Star), R(3),
1221 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos), R(12), U8(1),
1222 B(Star), R(13),
1223 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(12) , U8(1),
1224 B(Star), R(14),
1225 B(LdaZero),
1226 B(TestEqualStrictNoFeedback), R(14),
1227 B(JumpIfTrue), U8(36),
1228 B(LdaSmi), I8(2),
1229 B(TestEqualStrictNoFeedback), R(14),
1230 B(JumpIfTrue), U8(27),
1231 B(LdaTrue),
1232 B(Star), R(16),
1233 B(Mov), R(13), R(15),
1234 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(15) , U8(2),
1235 B(PopContext), R(1),
1236 B(PopContext), R(1),
1237 B(PopContext), R(1),
1238 B(PopContext), R(1),
1239 B(Star), R(6),
1240 B(LdaZero),
1241 B(Star), R(5),
1242 B(Jump), U8(160),
1243 B(Ldar), R(13),
1244 B(ReThrow),
1245 B(Ldar), R(13),
1246 B(StaContextSlot), R(1), U8(14), U8(0),
1247 B(LdaContextSlot), R(1), U8(14), U8(0),
1248 B(Star), R(12),
1249 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(12), U8(1), 1008 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(12), U8(1),
1250 B(JumpIfToBooleanFalse), U8(4), 1009 B(JumpIfToBooleanFalse), U8(4),
1010 B(Jump), U8(7),
1011 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (12), U8(1),
1012 B(Ldar), R(23),
1013 B(SetPendingMessage),
1014 B(Ldar), R(21),
1015 B(SwitchOnSmiNoFeedback), U8(16), U8(2), I8(0),
1251 B(Jump), U8(13), 1016 B(Jump), U8(13),
1252 B(LdaContextSlot), R(1), U8(14), U8(0), 1017 B(LdaZero),
1253 B(Star), R(12), 1018 B(Star), R(17),
1254 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (12), U8(1), 1019 B(Mov), R(22), R(18),
1255 B(Ldar), R(11), 1020 B(Jump), U8(85),
1256 B(SetPendingMessage), 1021 B(Ldar), R(22),
1257 B(Ldar), R(9), 1022 B(ReThrow),
1258 B(SwitchOnSmiNoFeedback), U8(19), U8(2), I8(0), 1023 B(LdaUndefined),
1259 B(Jump), U8(25), 1024 B(Star), R(21),
1260 B(PopContext), R(1), 1025 B(LdaUndefined),
1261 B(PopContext), R(1), 1026 B(Star), R(23),
1262 B(PopContext), R(1), 1027 B(Mov), R(8), R(22),
1263 B(PopContext), R(1), 1028 B(CallJSRuntime), U8(%promise_resolve), R(21), U8(3),
1264 B(LdaZero), 1029 B(LdaZero),
1265 B(Star), R(5), 1030 B(Star), R(17),
1266 B(Mov), R(10), R(6), 1031 B(Mov), R(8), R(18),
1267 B(Jump), U8(99), 1032 B(Jump), U8(61),
1268 B(PopContext), R(1), 1033 B(Jump), U8(47),
1269 B(PopContext), R(1), 1034 B(Star), R(21),
1270 B(Ldar), R(10),
1271 B(ReThrow),
1272 B(PopContext), R(1),
1273 B(LdaUndefined),
1274 B(Star), R(9),
1275 B(LdaCurrentContextSlot), U8(10),
1276 B(Star), R(10),
1277 B(LdaUndefined),
1278 B(Star), R(11),
1279 B(CallJSRuntime), U8(%promise_resolve), R(9), U8(3),
1280 B(LdaCurrentContextSlot), U8(10),
1281 B(Star), R(6),
1282 B(LdaZero),
1283 B(Star), R(5),
1284 B(Jump), U8(67),
1285 B(Jump), U8(53),
1286 B(Star), R(9),
1287 B(Ldar), R(closure), 1035 B(Ldar), R(closure),
1288 B(CreateCatchContext), R(9), U8(12), U8(21), 1036 B(CreateCatchContext), R(21), U8(10), U8(18),
1289 B(Star), R(8), 1037 B(Star), R(20),
1290 B(LdaTheHole), 1038 B(LdaTheHole),
1291 B(SetPendingMessage), 1039 B(SetPendingMessage),
1292 B(Ldar), R(8), 1040 B(Ldar), R(20),
1293 B(PushContext), R(1), 1041 B(PushContext), R(14),
1294 B(LdaUndefined), 1042 B(LdaUndefined),
1295 B(Star), R(9), 1043 B(Star), R(21),
1296 B(LdaContextSlot), R(1), U8(10), U8(0),
1297 B(Star), R(10),
1298 B(LdaImmutableCurrentContextSlot), U8(4), 1044 B(LdaImmutableCurrentContextSlot), U8(4),
1299 B(Star), R(11), 1045 B(Star), R(23),
1300 B(LdaFalse), 1046 B(LdaFalse),
1301 B(Star), R(12), 1047 B(Star), R(24),
1302 B(CallJSRuntime), U8(%promise_internal_reject), R(9), U8(4), 1048 B(Mov), R(8), R(22),
1303 B(LdaContextSlot), R(1), U8(10), U8(0), 1049 B(CallJSRuntime), U8(%promise_internal_reject), R(21), U8(4),
1304 B(PopContext), R(1), 1050 B(PopContext), R(14),
1305 B(PopContext), R(1), 1051 B(PopContext), R(14),
1306 B(Star), R(6), 1052 B(LdaZero),
1307 B(LdaZero), 1053 B(Star), R(17),
1308 B(Star), R(5), 1054 B(Mov), R(8), R(18),
1309 B(Jump), U8(14), 1055 B(Jump), U8(14),
1310 B(LdaSmi), I8(-1), 1056 B(LdaSmi), I8(-1),
1311 B(Star), R(5), 1057 B(Star), R(17),
1312 B(Jump), U8(8), 1058 B(Jump), U8(8),
1313 B(Star), R(6), 1059 B(Star), R(18),
1314 B(LdaSmi), I8(1), 1060 B(LdaSmi), I8(1),
1315 B(Star), R(5), 1061 B(Star), R(17),
1316 B(LdaTheHole), 1062 B(LdaTheHole),
1317 B(SetPendingMessage), 1063 B(SetPendingMessage),
1318 B(Star), R(7), 1064 B(Star), R(19),
1319 B(LdaUndefined), 1065 B(LdaUndefined),
1320 B(Star), R(8), 1066 B(Star), R(20),
1321 B(LdaCurrentContextSlot), U8(10), 1067 B(Mov), R(8), R(21),
1322 B(Star), R(9), 1068 B(CallJSRuntime), U8(%async_function_promise_release), R(20), U8 (2),
1323 B(CallJSRuntime), U8(%async_function_promise_release), R(8), U8( 2), 1069 B(Ldar), R(19),
1324 B(Ldar), R(7), 1070 B(SetPendingMessage),
1325 B(SetPendingMessage), 1071 B(Ldar), R(17),
1326 B(Ldar), R(5), 1072 B(SwitchOnSmiNoFeedback), U8(19), U8(2), I8(0),
1327 B(SwitchOnSmiNoFeedback), U8(23), U8(2), I8(0),
1328 B(Jump), U8(8), 1073 B(Jump), U8(8),
1329 B(Ldar), R(6), 1074 B(Ldar), R(18),
1330 /* 114 S> */ B(Return), 1075 /* 114 S> */ B(Return),
1331 B(Ldar), R(6), 1076 B(Ldar), R(18),
1332 B(ReThrow), 1077 B(ReThrow),
1333 B(LdaUndefined), 1078 B(LdaUndefined),
1334 /* 114 S> */ B(Return), 1079 /* 114 S> */ B(Return),
1335 ] 1080 ]
1336 constant pool: [ 1081 constant pool: [
1337 Smi [116], 1082 Smi [99],
1338 Smi [578], 1083 Smi [420],
1339 Smi [722], 1084 Smi [533],
1340 FIXED_ARRAY_TYPE,
1341 TUPLE2_TYPE, 1085 TUPLE2_TYPE,
1342 SYMBOL_TYPE, 1086 SYMBOL_TYPE,
1343 SYMBOL_TYPE, 1087 SYMBOL_TYPE,
1344 Smi [83], 1088 Smi [61],
1345 ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"], 1089 ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"],
1346 ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"], 1090 ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"],
1347 ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"], 1091 ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"],
1348 FIXED_ARRAY_TYPE,
1349 ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"], 1092 ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"],
1350 FIXED_ARRAY_TYPE, 1093 FIXED_ARRAY_TYPE,
1351 ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"], 1094 ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"],
1352 ONE_BYTE_INTERNALIZED_STRING_TYPE [""], 1095 ONE_BYTE_INTERNALIZED_STRING_TYPE [""],
1353 FIXED_ARRAY_TYPE, 1096 FIXED_ARRAY_TYPE,
1354 Smi [339], 1097 Smi [265],
1355 Smi [362],
1356 Smi [6], 1098 Smi [6],
1357 Smi [22], 1099 Smi [14],
1358 FIXED_ARRAY_TYPE, 1100 FIXED_ARRAY_TYPE,
1359 Smi [304],
1360 Smi [6], 1101 Smi [6],
1361 Smi [9], 1102 Smi [9],
1362 ] 1103 ]
1363 handlers: [ 1104 handlers: [
1364 [60, 934, 940], 1105 [56, 700, 706],
1365 [63, 881, 883], 1106 [59, 653, 655],
1366 [80, 434, 440], 1107 [65, 325, 331],
1367 [83, 386, 388], 1108 [68, 285, 287],
1368 [527, 649, 651], 1109 [392, 483, 485],
1369 ] 1110 ]
1370 1111
1371 --- 1112 ---
1372 snippet: " 1113 snippet: "
1373 async function f() { 1114 async function f() {
1374 var x = { 'a': 1, 'b': 2 }; 1115 var x = { 'a': 1, 'b': 2 };
1375 for (x['a'] of [1,2,3]) { return x['a']; } 1116 for (x['a'] of [1,2,3]) { return x['a']; }
1376 } 1117 }
1377 f(); 1118 f();
1378 " 1119 "
1379 frame size: 12 1120 frame size: 20
1380 parameter count: 1 1121 parameter count: 1
1381 bytecode array length: 508 1122 bytecode array length: 434
1382 bytecodes: [ 1123 bytecodes: [
1383 B(CreateFunctionContext), U8(9),
1384 B(PushContext), R(0),
1385 /* 16 E> */ B(StackCheck), 1124 /* 16 E> */ B(StackCheck),
1386 B(LdaUndefined), 1125 B(LdaUndefined),
1387 B(Star), R(2), 1126 B(Star), R(10),
1388 B(CallJSRuntime), U8(%async_function_promise_create), R(2), U8(1 ), 1127 B(CallJSRuntime), U8(%async_function_promise_create), R(10), U8( 1),
1389 B(StaCurrentContextSlot), U8(12), 1128 B(Star), R(8),
1390 B(Mov), R(context), R(4), 1129 B(Mov), R(context), R(12),
1391 B(Mov), R(context), R(5), 1130 B(Mov), R(context), R(13),
1392 /* 31 S> */ B(CreateObjectLiteral), U8(0), U8(3), U8(1), R(6), 1131 /* 31 S> */ B(CreateObjectLiteral), U8(0), U8(3), U8(1), R(14),
1393 B(Ldar), R(6), 1132 B(Mov), R(14), R(1),
1394 /* 31 E> */ B(StaCurrentContextSlot), U8(5),
1395 B(LdaZero), 1133 B(LdaZero),
1396 B(StaCurrentContextSlot), U8(8), 1134 B(Star), R(4),
1397 B(Mov), R(context), R(8), 1135 B(Mov), R(context), R(16),
1398 B(Mov), R(context), R(9), 1136 B(Mov), R(context), R(17),
1399 /* 68 S> */ B(CreateArrayLiteral), U8(1), U8(4), U8(17), 1137 /* 68 S> */ B(CreateArrayLiteral), U8(1), U8(4), U8(17),
1400 B(Star), R(10), 1138 B(Star), R(18),
1401 B(LdaNamedProperty), R(10), U8(2), U8(5), 1139 B(LdaNamedProperty), R(18), U8(2), U8(5),
1402 B(Star), R(11), 1140 B(Star), R(19),
1403 B(CallProperty0), R(11), R(10), U8(7), 1141 B(CallProperty0), R(19), R(18), U8(7),
1404 B(JumpIfJSReceiver), U8(7), 1142 B(JumpIfJSReceiver), U8(7),
1405 B(CallRuntime), U16(Runtime::kThrowSymbolIteratorInvalid), R(0), U8(0), 1143 B(CallRuntime), U16(Runtime::kThrowSymbolIteratorInvalid), R(0), U8(0),
1406 /* 68 E> */ B(StaCurrentContextSlot), U8(6), 1144 B(Star), R(2),
1407 /* 65 S> */ B(LdaCurrentContextSlot), U8(6), 1145 /* 65 S> */ B(LdaNamedProperty), R(2), U8(3), U8(11),
1408 B(Star), R(11), 1146 B(Star), R(18),
1409 B(LdaNamedProperty), R(11), U8(3), U8(11), 1147 /* 65 E> */ B(CallProperty0), R(18), R(2), U8(9),
1410 B(Star), R(10), 1148 B(Star), R(3),
1411 /* 65 E> */ B(CallProperty0), R(10), R(11), U8(9), 1149 /* 65 E> */ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(3), U8(1),
1412 /* 65 E> */ B(StaCurrentContextSlot), U8(7),
1413 B(Star), R(10),
1414 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(10), U8(1),
1415 B(ToBooleanLogicalNot), 1150 B(ToBooleanLogicalNot),
1416 B(JumpIfFalse), U8(11), 1151 B(JumpIfFalse), U8(7),
1417 B(LdaCurrentContextSlot), U8(7), 1152 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (3), U8(1),
1418 B(Star), R(10), 1153 B(LdaNamedProperty), R(3), U8(4), U8(13),
1419 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (10), U8(1), 1154 B(JumpIfToBooleanTrue), U8(31),
1420 B(LdaCurrentContextSlot), U8(7), 1155 /* 58 E> */ B(LdaNamedProperty), R(3), U8(5), U8(15),
1421 B(Star), R(10), 1156 B(Star), R(5),
1422 B(LdaNamedProperty), R(10), U8(4), U8(13),
1423 B(JumpIfToBooleanTrue), U8(42),
1424 B(LdaImmutableCurrentContextSlot), U8(5),
1425 B(Star), R(10),
1426 B(LdaCurrentContextSlot), U8(7),
1427 B(Star), R(11),
1428 /* 58 E> */ B(LdaNamedProperty), R(11), U8(5), U8(15),
1429 B(StaCurrentContextSlot), U8(9),
1430 B(LdaSmi), I8(2), 1157 B(LdaSmi), I8(2),
1431 B(StaCurrentContextSlot), U8(8), 1158 B(Star), R(4),
1432 B(LdaCurrentContextSlot), U8(9), 1159 B(Ldar), R(5),
1433 B(StaNamedPropertySloppy), R(10), U8(6), U8(17), 1160 B(StaNamedPropertySloppy), R(1), U8(6), U8(17),
1434 /* 53 E> */ B(StackCheck), 1161 /* 53 E> */ B(StackCheck),
1435 /* 79 S> */ B(LdaImmutableCurrentContextSlot), U8(5), 1162 /* 79 S> */ B(Nop),
1436 B(Star), R(10), 1163 /* 87 E> */ B(LdaNamedProperty), R(1), U8(6), U8(19),
1437 /* 87 E> */ B(LdaNamedProperty), R(10), U8(6), U8(19), 1164 B(Star), R(15),
1438 B(Star), R(7),
1439 B(LdaZero), 1165 B(LdaZero),
1440 B(Star), R(6), 1166 B(Star), R(14),
1441 B(Jump), U8(62), 1167 B(Jump), U8(54),
1442 B(Jump), U8(48), 1168 B(Jump), U8(40),
1443 B(Star), R(10), 1169 B(Star), R(18),
1444 B(Ldar), R(closure), 1170 B(Ldar), R(closure),
1445 B(CreateCatchContext), R(10), U8(7), U8(8), 1171 B(CreateCatchContext), R(18), U8(7), U8(8),
1446 B(Star), R(9), 1172 B(Star), R(17),
1447 B(LdaTheHole), 1173 B(LdaTheHole),
1448 B(SetPendingMessage), 1174 B(SetPendingMessage),
1449 B(Ldar), R(9), 1175 B(Ldar), R(17),
1450 B(PushContext), R(1), 1176 B(PushContext), R(9),
1451 B(LdaContextSlot), R(1), U8(8), U8(0),
1452 B(Star), R(10),
1453 B(LdaSmi), I8(2), 1177 B(LdaSmi), I8(2),
1454 B(TestEqualStrict), R(10), U8(21), 1178 B(TestEqualStrict), R(4), U8(21),
1455 B(JumpIfFalse), U8(8), 1179 B(JumpIfFalse), U8(6),
1456 B(LdaSmi), I8(1), 1180 B(LdaSmi), I8(1),
1457 B(StaContextSlot), R(1), U8(8), U8(0), 1181 B(Star), R(4),
1458 B(LdaImmutableCurrentContextSlot), U8(4), 1182 B(LdaImmutableCurrentContextSlot), U8(4),
1459 B(Star), R(10), 1183 B(Star), R(18),
1460 B(CallRuntime), U16(Runtime::kReThrow), R(10), U8(1), 1184 B(CallRuntime), U16(Runtime::kReThrow), R(18), U8(1),
1461 B(PopContext), R(1), 1185 B(PopContext), R(9),
1462 B(LdaSmi), I8(-1), 1186 B(LdaSmi), I8(-1),
1463 B(Star), R(6), 1187 B(Star), R(14),
1464 B(Jump), U8(8), 1188 B(Jump), U8(8),
1465 B(Star), R(7), 1189 B(Star), R(15),
1466 B(LdaSmi), I8(1), 1190 B(LdaSmi), I8(1),
1467 B(Star), R(6), 1191 B(Star), R(14),
1468 B(LdaTheHole), 1192 B(LdaTheHole),
1469 B(SetPendingMessage), 1193 B(SetPendingMessage),
1470 B(Star), R(8), 1194 B(Star), R(16),
1471 B(LdaCurrentContextSlot), U8(8),
1472 B(Star), R(9),
1473 B(LdaZero), 1195 B(LdaZero),
1474 B(TestEqualStrict), R(9), U8(22), 1196 B(TestEqualStrict), R(4), U8(22),
1475 B(JumpIfTrue), U8(126), 1197 B(JumpIfTrue), U8(104),
1476 B(LdaCurrentContextSlot), U8(6), 1198 B(LdaNamedProperty), R(2), U8(9), U8(23),
1477 B(Star), R(9), 1199 B(Star), R(6),
1478 B(LdaNamedProperty), R(9), U8(9), U8(23),
1479 B(StaCurrentContextSlot), U8(10),
1480 B(LdaCurrentContextSlot), U8(10),
1481 B(TestUndetectable), 1200 B(TestUndetectable),
1482 B(JumpIfFalse), U8(4), 1201 B(JumpIfFalse), U8(4),
1483 B(Jump), U8(109), 1202 B(Jump), U8(93),
1484 B(LdaCurrentContextSlot), U8(8),
1485 B(Star), R(9),
1486 B(LdaSmi), I8(1), 1203 B(LdaSmi), I8(1),
1487 B(TestEqualStrict), R(9), U8(26), 1204 B(TestEqualStrict), R(4), U8(26),
1488 B(JumpIfFalse), U8(63), 1205 B(JumpIfFalse), U8(61),
1489 B(LdaCurrentContextSlot), U8(10), 1206 B(Ldar), R(6),
1490 B(TestTypeOf), U8(5), 1207 B(TestTypeOf), U8(5),
1491 B(JumpIfFalse), U8(4), 1208 B(JumpIfFalse), U8(4),
1492 B(Jump), U8(18), 1209 B(Jump), U8(18),
1493 B(Wide), B(LdaSmi), I16(130), 1210 B(Wide), B(LdaSmi), I16(130),
1494 B(Star), R(9), 1211 B(Star), R(17),
1495 B(LdaConstant), U8(10), 1212 B(LdaConstant), U8(10),
1496 B(Star), R(10), 1213 B(Star), R(18),
1497 B(CallRuntime), U16(Runtime::kNewTypeError), R(9), U8(2), 1214 B(CallRuntime), U16(Runtime::kNewTypeError), R(17), U8(2),
1498 B(Throw), 1215 B(Throw),
1499 B(Mov), R(context), R(9), 1216 B(Mov), R(context), R(17),
1500 B(LdaCurrentContextSlot), U8(10), 1217 B(Mov), R(6), R(18),
1501 B(Star), R(10), 1218 B(Mov), R(2), R(19),
1502 B(LdaCurrentContextSlot), U8(6), 1219 B(InvokeIntrinsic), U8(Runtime::k_Call), R(18), U8(2),
1503 B(Star), R(11),
1504 B(InvokeIntrinsic), U8(Runtime::k_Call), R(10), U8(2),
1505 B(Jump), U8(20), 1220 B(Jump), U8(20),
1506 B(Star), R(10), 1221 B(Star), R(18),
1507 B(Ldar), R(closure), 1222 B(Ldar), R(closure),
1508 B(CreateCatchContext), R(10), U8(7), U8(11), 1223 B(CreateCatchContext), R(18), U8(7), U8(11),
1509 B(Star), R(9), 1224 B(Star), R(17),
1510 B(LdaTheHole), 1225 B(LdaTheHole),
1511 B(SetPendingMessage), 1226 B(SetPendingMessage),
1512 B(Ldar), R(9), 1227 B(Ldar), R(17),
1513 B(PushContext), R(1), 1228 B(PushContext), R(9),
1514 B(PopContext), R(1), 1229 B(PopContext), R(9),
1515 B(Jump), U8(37), 1230 B(Jump), U8(27),
1516 B(LdaCurrentContextSlot), U8(10), 1231 B(Mov), R(6), R(17),
1517 B(Star), R(9), 1232 B(Mov), R(2), R(18),
1518 B(LdaCurrentContextSlot), U8(6), 1233 B(InvokeIntrinsic), U8(Runtime::k_Call), R(17), U8(2),
1519 B(Star), R(10), 1234 B(Star), R(7),
1520 B(InvokeIntrinsic), U8(Runtime::k_Call), R(9), U8(2), 1235 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(7), U8(1),
1521 B(StaCurrentContextSlot), U8(11),
1522 B(LdaCurrentContextSlot), U8(11),
1523 B(Star), R(9),
1524 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(9), U8(1),
1525 B(JumpIfToBooleanFalse), U8(4), 1236 B(JumpIfToBooleanFalse), U8(4),
1526 B(Jump), U8(11), 1237 B(Jump), U8(7),
1527 B(LdaCurrentContextSlot), U8(11), 1238 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (7), U8(1),
1528 B(Star), R(9), 1239 B(Ldar), R(16),
1529 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (9), U8(1),
1530 B(Ldar), R(8),
1531 B(SetPendingMessage), 1240 B(SetPendingMessage),
1532 B(Ldar), R(6), 1241 B(Ldar), R(14),
1533 B(SwitchOnSmiNoFeedback), U8(12), U8(2), I8(0), 1242 B(SwitchOnSmiNoFeedback), U8(12), U8(2), I8(0),
1534 B(Jump), U8(13), 1243 B(Jump), U8(13),
1535 B(LdaZero), 1244 B(LdaZero),
1536 B(Star), R(2), 1245 B(Star), R(10),
1537 B(Mov), R(7), R(3), 1246 B(Mov), R(15), R(11),
1538 B(Jump), U8(95), 1247 B(Jump), U8(87),
1539 B(Ldar), R(7), 1248 B(Ldar), R(15),
1540 B(ReThrow), 1249 B(ReThrow),
1541 B(LdaUndefined), 1250 B(LdaUndefined),
1542 B(Star), R(6), 1251 B(Star), R(14),
1543 B(LdaCurrentContextSlot), U8(12),
1544 B(Star), R(7),
1545 B(LdaUndefined), 1252 B(LdaUndefined),
1546 B(Star), R(8), 1253 B(Star), R(16),
1547 B(CallJSRuntime), U8(%promise_resolve), R(6), U8(3), 1254 B(Mov), R(8), R(15),
1548 B(LdaCurrentContextSlot), U8(12), 1255 B(CallJSRuntime), U8(%promise_resolve), R(14), U8(3),
1549 B(Star), R(3),
1550 B(LdaSmi), I8(1), 1256 B(LdaSmi), I8(1),
1551 B(Star), R(2), 1257 B(Star), R(10),
1552 B(Jump), U8(68), 1258 B(Mov), R(8), R(11),
1553 B(Jump), U8(54), 1259 B(Jump), U8(62),
1554 B(Star), R(6), 1260 B(Jump), U8(48),
1261 B(Star), R(14),
1555 B(Ldar), R(closure), 1262 B(Ldar), R(closure),
1556 B(CreateCatchContext), R(6), U8(7), U8(14), 1263 B(CreateCatchContext), R(14), U8(7), U8(14),
1557 B(Star), R(5), 1264 B(Star), R(13),
1558 B(LdaTheHole), 1265 B(LdaTheHole),
1559 B(SetPendingMessage), 1266 B(SetPendingMessage),
1560 B(Ldar), R(5), 1267 B(Ldar), R(13),
1561 B(PushContext), R(1), 1268 B(PushContext), R(9),
1562 B(LdaUndefined), 1269 B(LdaUndefined),
1563 B(Star), R(6), 1270 B(Star), R(14),
1564 B(LdaContextSlot), R(1), U8(12), U8(0),
1565 B(Star), R(7),
1566 B(LdaImmutableCurrentContextSlot), U8(4), 1271 B(LdaImmutableCurrentContextSlot), U8(4),
1567 B(Star), R(8), 1272 B(Star), R(16),
1568 B(LdaFalse), 1273 B(LdaFalse),
1569 B(Star), R(9), 1274 B(Star), R(17),
1570 B(CallJSRuntime), U8(%promise_internal_reject), R(6), U8(4), 1275 B(Mov), R(8), R(15),
1571 B(LdaContextSlot), R(1), U8(12), U8(0), 1276 B(CallJSRuntime), U8(%promise_internal_reject), R(14), U8(4),
1572 B(PopContext), R(1), 1277 B(PopContext), R(9),
1573 B(PopContext), R(1), 1278 B(PopContext), R(9),
1574 B(Star), R(3),
1575 B(LdaSmi), I8(1), 1279 B(LdaSmi), I8(1),
1576 B(Star), R(2), 1280 B(Star), R(10),
1281 B(Mov), R(8), R(11),
1577 B(Jump), U8(14), 1282 B(Jump), U8(14),
1578 B(LdaSmi), I8(-1), 1283 B(LdaSmi), I8(-1),
1579 B(Star), R(2), 1284 B(Star), R(10),
1580 B(Jump), U8(8), 1285 B(Jump), U8(8),
1581 B(Star), R(3), 1286 B(Star), R(11),
1582 B(LdaSmi), I8(2), 1287 B(LdaSmi), I8(2),
1583 B(Star), R(2), 1288 B(Star), R(10),
1584 B(LdaTheHole), 1289 B(LdaTheHole),
1585 B(SetPendingMessage), 1290 B(SetPendingMessage),
1586 B(Star), R(4), 1291 B(Star), R(12),
1587 B(LdaUndefined), 1292 B(LdaUndefined),
1588 B(Star), R(5), 1293 B(Star), R(13),
1589 B(LdaCurrentContextSlot), U8(12), 1294 B(Mov), R(8), R(14),
1590 B(Star), R(6), 1295 B(CallJSRuntime), U8(%async_function_promise_release), R(13), U8 (2),
1591 B(CallJSRuntime), U8(%async_function_promise_release), R(5), U8( 2), 1296 B(Ldar), R(12),
1592 B(Ldar), R(4),
1593 B(SetPendingMessage), 1297 B(SetPendingMessage),
1594 B(Ldar), R(2), 1298 B(Ldar), R(10),
1595 B(SwitchOnSmiNoFeedback), U8(15), U8(3), I8(0), 1299 B(SwitchOnSmiNoFeedback), U8(15), U8(3), I8(0),
1596 B(Jump), U8(25), 1300 B(Jump), U8(24),
1597 B(LdaCurrentContextSlot), U8(12),
1598 B(Star), R(6),
1599 B(LdaUndefined), 1301 B(LdaUndefined),
1600 B(Star), R(5), 1302 B(Star), R(13),
1601 B(Mov), R(3), R(7), 1303 B(Mov), R(8), R(14),
1602 B(CallJSRuntime), U8(%promise_resolve), R(5), U8(3), 1304 B(Mov), R(11), R(15),
1603 B(Ldar), R(6), 1305 B(CallJSRuntime), U8(%promise_resolve), R(13), U8(3),
1306 B(Ldar), R(8),
1604 /* 96 S> */ B(Return), 1307 /* 96 S> */ B(Return),
1605 B(Ldar), R(3), 1308 B(Ldar), R(11),
1606 /* 96 S> */ B(Return), 1309 /* 96 S> */ B(Return),
1607 B(Ldar), R(3), 1310 B(Ldar), R(11),
1608 B(ReThrow), 1311 B(ReThrow),
1609 B(LdaUndefined), 1312 B(LdaUndefined),
1610 /* 96 S> */ B(Return), 1313 /* 96 S> */ B(Return),
1611 ] 1314 ]
1612 constant pool: [ 1315 constant pool: [
1613 FIXED_ARRAY_TYPE, 1316 FIXED_ARRAY_TYPE,
1614 TUPLE2_TYPE, 1317 TUPLE2_TYPE,
1615 SYMBOL_TYPE, 1318 SYMBOL_TYPE,
1616 ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"], 1319 ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"],
1617 ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"], 1320 ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"],
1618 ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"], 1321 ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"],
1619 ONE_BYTE_INTERNALIZED_STRING_TYPE ["a"], 1322 ONE_BYTE_INTERNALIZED_STRING_TYPE ["a"],
1620 ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"], 1323 ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"],
1621 FIXED_ARRAY_TYPE, 1324 FIXED_ARRAY_TYPE,
1622 ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"], 1325 ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"],
1623 ONE_BYTE_INTERNALIZED_STRING_TYPE [""], 1326 ONE_BYTE_INTERNALIZED_STRING_TYPE [""],
1624 FIXED_ARRAY_TYPE, 1327 FIXED_ARRAY_TYPE,
1625 Smi [6], 1328 Smi [6],
1626 Smi [14], 1329 Smi [14],
1627 FIXED_ARRAY_TYPE, 1330 FIXED_ARRAY_TYPE,
1628 Smi [6], 1331 Smi [6],
1629 Smi [23], 1332 Smi [22],
1630 Smi [26], 1333 Smi [25],
1631 ] 1334 ]
1632 handlers: [ 1335 handlers: [
1633 [17, 445, 451], 1336 [13, 373, 379],
1634 [20, 391, 393], 1337 [16, 325, 327],
1635 [35, 195, 201], 1338 [30, 157, 163],
1636 [38, 147, 149], 1339 [33, 117, 119],
1637 [276, 288, 290], 1340 [224, 234, 236],
1638 ] 1341 ]
1639 1342
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698