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

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

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

Powered by Google App Engine
This is Rietveld 408576698