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

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

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