OLD | NEW |
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: 26 | 17 frame size: 27 |
18 parameter count: 1 | 18 parameter count: 1 |
19 bytecode array length: 715 | 19 bytecode array length: 739 |
20 bytecodes: [ | 20 bytecodes: [ |
| 21 B(Mov), R(new_target), R(11), |
21 B(Ldar), R(new_target), | 22 B(Ldar), R(new_target), |
22 B(JumpIfUndefined), U8(25), | 23 B(JumpIfUndefined), U8(25), |
23 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetContext), R(new_ta
rget), U8(1), | 24 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetContext), R(11), U
8(1), |
24 B(PushContext), R(12), | 25 B(PushContext), R(13), |
25 B(ResumeGenerator), R(new_target), | 26 B(RestoreGeneratorState), R(11), |
26 B(Star), R(11), | 27 B(Star), R(12), |
27 B(SwitchOnSmiNoFeedback), U8(0), U8(3), I8(0), | 28 B(SwitchOnSmiNoFeedback), U8(0), U8(3), I8(0), |
28 B(LdaSmi), I8(79), | 29 B(LdaSmi), I8(79), |
29 B(Star), R(13), | 30 B(Star), R(14), |
30 B(CallRuntime), U16(Runtime::kAbort), R(13), U8(1), | 31 B(CallRuntime), U16(Runtime::kAbort), R(14), U8(1), |
31 B(LdaSmi), I8(-2), | 32 B(LdaSmi), I8(-2), |
32 B(Star), R(11), | 33 B(Star), R(12), |
33 B(Mov), R(closure), R(13), | 34 B(Mov), R(closure), R(14), |
34 B(Mov), R(this), R(14), | 35 B(Mov), R(this), R(15), |
35 B(InvokeIntrinsic), U8(Runtime::k_CreateJSGeneratorObject), R(13
), U8(2), | 36 B(InvokeIntrinsic), U8(Runtime::k_CreateJSGeneratorObject), R(14
), U8(2), |
36 B(Star), R(2), | 37 B(Star), R(2), |
37 /* 16 E> */ B(StackCheck), | 38 /* 16 E> */ B(StackCheck), |
38 B(LdaUndefined), | 39 B(LdaUndefined), |
39 B(Star), R(13), | 40 B(Star), R(14), |
40 B(CallJSRuntime), U8(%async_function_promise_create), R(13), U8(
1), | 41 B(CallJSRuntime), U8(%async_function_promise_create), R(14), U8(
1), |
41 B(Star), R(7), | 42 B(Star), R(7), |
42 B(Mov), R(context), R(15), | |
43 B(Mov), R(context), R(16), | 43 B(Mov), R(context), R(16), |
| 44 B(Mov), R(2), R(11), |
| 45 B(Mov), R(context), R(17), |
44 B(LdaZero), | 46 B(LdaZero), |
45 B(Star), R(6), | 47 B(Star), R(6), |
46 B(Mov), R(context), R(19), | |
47 B(Mov), R(context), R(20), | 48 B(Mov), R(context), R(20), |
| 49 B(Mov), R(context), R(21), |
48 /* 43 S> */ B(CreateArrayLiteral), U8(3), U8(3), U8(17), | 50 /* 43 S> */ B(CreateArrayLiteral), U8(3), U8(3), U8(17), |
49 B(Star), R(21), | 51 B(Star), R(22), |
50 B(LdaNamedProperty), R(21), U8(4), U8(8), | 52 B(LdaNamedProperty), R(22), U8(4), U8(8), |
51 B(JumpIfUndefined), U8(17), | 53 B(JumpIfUndefined), U8(17), |
52 B(JumpIfNull), U8(15), | 54 B(JumpIfNull), U8(15), |
53 B(Star), R(22), | 55 B(Star), R(23), |
54 B(CallProperty0), R(22), R(21), U8(10), | 56 B(CallProperty0), R(23), R(22), U8(10), |
55 B(JumpIfJSReceiver), U8(23), | 57 B(JumpIfJSReceiver), U8(23), |
56 B(CallRuntime), U16(Runtime::kThrowSymbolAsyncIteratorInvalid),
R(0), U8(0), | 58 B(CallRuntime), U16(Runtime::kThrowSymbolAsyncIteratorInvalid),
R(0), U8(0), |
57 B(LdaNamedProperty), R(21), U8(5), U8(4), | 59 B(LdaNamedProperty), R(22), U8(5), U8(4), |
58 B(Star), R(22), | 60 B(Star), R(23), |
59 B(CallProperty0), R(22), R(21), U8(6), | 61 B(CallProperty0), R(23), R(22), U8(6), |
60 B(Star), R(22), | 62 B(Star), R(23), |
61 B(InvokeIntrinsic), U8(Runtime::k_CreateAsyncFromSyncIterator),
R(22), U8(1), | 63 B(InvokeIntrinsic), U8(Runtime::k_CreateAsyncFromSyncIterator),
R(23), U8(1), |
62 B(Star), R(4), | 64 B(Star), R(4), |
63 B(Ldar), R(11), | 65 B(Ldar), R(12), |
64 B(SwitchOnSmiNoFeedback), U8(6), U8(1), I8(0), | 66 B(SwitchOnSmiNoFeedback), U8(6), U8(1), I8(0), |
65 B(LdaSmi), I8(-2), | 67 B(LdaSmi), I8(-2), |
66 /* 43 E> */ B(TestEqualStrictNoFeedback), R(11), | 68 /* 43 E> */ B(TestEqualStrictNoFeedback), R(12), |
67 B(JumpIfTrue), U8(11), | 69 B(JumpIfTrue), U8(11), |
68 B(LdaSmi), I8(79), | 70 B(LdaSmi), I8(79), |
69 B(Star), R(21), | 71 B(Star), R(22), |
70 B(CallRuntime), U16(Runtime::kAbort), R(21), U8(1), | 72 B(CallRuntime), U16(Runtime::kAbort), R(22), U8(1), |
71 /* 40 S> */ B(LdaUndefined), | 73 /* 40 S> */ B(LdaUndefined), |
72 B(Star), R(22), | 74 B(Star), R(23), |
73 /* 40 E> */ B(LdaNamedProperty), R(4), U8(7), U8(14), | 75 /* 40 E> */ B(LdaNamedProperty), R(4), U8(7), U8(14), |
| 76 B(Star), R(25), |
| 77 B(CallProperty0), R(25), R(4), U8(12), |
| 78 B(Star), R(25), |
| 79 B(Mov), R(2), R(24), |
| 80 B(Mov), R(7), R(26), |
| 81 B(CallJSRuntime), U8(%async_function_await_uncaught), R(23), U8(
4), |
| 82 B(LdaZero), |
| 83 B(Mov), R(2), R(22), |
| 84 B(Mov), R(7), R(23), |
| 85 B(SuspendGenerator), R(22), R(0), U8(23), U8(2), |
| 86 B(Ldar), R(23), |
| 87 /* 57 S> */ B(Return), |
| 88 B(RestoreGeneratorRegisters), R(11), R(0), U8(23), |
| 89 B(LdaSmi), I8(-2), |
| 90 B(Star), R(12), |
| 91 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos),
R(22), U8(1), |
| 92 B(Star), R(23), |
| 93 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(22)
, U8(1), |
74 B(Star), R(24), | 94 B(Star), R(24), |
75 B(CallProperty0), R(24), R(4), U8(12), | |
76 B(Star), R(24), | |
77 B(Mov), R(2), R(23), | |
78 B(Mov), R(7), R(25), | |
79 B(CallJSRuntime), U8(%async_function_await_uncaught), R(22), U8(
4), | |
80 B(LdaZero), | 95 B(LdaZero), |
81 B(Mov), R(2), R(21), | 96 B(TestEqualStrictNoFeedback), R(24), |
82 B(Mov), R(7), R(22), | |
83 B(SuspendGenerator), R(21), U8(2), | |
84 B(Ldar), R(22), | |
85 /* 57 S> */ B(Return), | |
86 B(LdaSmi), I8(-2), | |
87 B(Star), R(11), | |
88 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos),
R(21), U8(1), | |
89 B(Star), R(22), | |
90 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(21)
, U8(1), | |
91 B(Star), R(23), | |
92 B(LdaZero), | |
93 B(TestEqualStrictNoFeedback), R(23), | |
94 B(JumpIfTrue), U8(28), | 97 B(JumpIfTrue), U8(28), |
95 B(LdaSmi), I8(2), | 98 B(LdaSmi), I8(2), |
96 B(TestEqualStrictNoFeedback), R(23), | 99 B(TestEqualStrictNoFeedback), R(24), |
97 B(JumpIfTrue), U8(19), | 100 B(JumpIfTrue), U8(19), |
98 B(LdaTrue), | 101 B(LdaTrue), |
99 B(Star), R(25), | 102 B(Star), R(26), |
100 B(Mov), R(22), R(24), | 103 B(Mov), R(23), R(25), |
101 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(24)
, U8(2), | 104 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(25)
, U8(2), |
| 105 B(Star), R(19), |
| 106 B(LdaZero), |
102 B(Star), R(18), | 107 B(Star), R(18), |
103 B(LdaZero), | |
104 B(Star), R(17), | |
105 B(Jump), U8(101), | 108 B(Jump), U8(101), |
106 B(Ldar), R(22), | 109 B(Ldar), R(23), |
107 /* 40 E> */ B(ReThrow), | 110 /* 40 E> */ B(ReThrow), |
108 B(Mov), R(22), R(5), | 111 B(Mov), R(23), R(5), |
109 /* 40 E> */ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(5), U8(1), | 112 /* 40 E> */ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(5), U8(1), |
110 B(ToBooleanLogicalNot), | 113 B(ToBooleanLogicalNot), |
111 B(JumpIfFalse), U8(7), | 114 B(JumpIfFalse), U8(7), |
112 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R
(5), U8(1), | 115 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R
(5), U8(1), |
113 B(LdaNamedProperty), R(5), U8(8), U8(16), | 116 B(LdaNamedProperty), R(5), U8(8), U8(16), |
114 B(JumpIfToBooleanTrue), U8(25), | 117 B(JumpIfToBooleanTrue), U8(25), |
115 B(LdaNamedProperty), R(5), U8(9), U8(18), | 118 B(LdaNamedProperty), R(5), U8(9), U8(18), |
116 B(Star), R(8), | 119 B(Star), R(8), |
117 B(LdaSmi), I8(2), | 120 B(LdaSmi), I8(2), |
118 B(Star), R(6), | 121 B(Star), R(6), |
119 B(Mov), R(8), R(3), | 122 B(Mov), R(8), R(3), |
120 /* 23 E> */ B(StackCheck), | 123 /* 23 E> */ B(StackCheck), |
121 B(Mov), R(3), R(0), | 124 B(Mov), R(3), R(0), |
122 B(LdaZero), | 125 B(LdaZero), |
123 B(Star), R(6), | 126 B(Star), R(6), |
124 B(JumpLoop), U8(147), I8(0), | 127 B(JumpLoop), U8(153), I8(0), |
125 B(Jump), U8(40), | 128 B(Jump), U8(40), |
| 129 B(Star), R(22), |
| 130 B(Ldar), R(closure), |
| 131 B(CreateCatchContext), R(22), U8(10), U8(11), |
126 B(Star), R(21), | 132 B(Star), R(21), |
127 B(Ldar), R(closure), | |
128 B(CreateCatchContext), R(21), U8(10), U8(11), | |
129 B(Star), R(20), | |
130 B(LdaTheHole), | 133 B(LdaTheHole), |
131 B(SetPendingMessage), | 134 B(SetPendingMessage), |
132 B(Ldar), R(20), | 135 B(Ldar), R(21), |
133 B(PushContext), R(21), | 136 B(PushContext), R(22), |
134 B(LdaSmi), I8(2), | 137 B(LdaSmi), I8(2), |
135 B(TestEqualStrict), R(6), U8(20), | 138 B(TestEqualStrict), R(6), U8(20), |
136 B(JumpIfFalse), U8(6), | 139 B(JumpIfFalse), U8(6), |
137 B(LdaSmi), I8(1), | 140 B(LdaSmi), I8(1), |
138 B(Star), R(6), | 141 B(Star), R(6), |
139 B(LdaImmutableCurrentContextSlot), U8(4), | 142 B(LdaImmutableCurrentContextSlot), U8(4), |
140 B(Star), R(22), | 143 B(Star), R(23), |
141 B(CallRuntime), U16(Runtime::kReThrow), R(22), U8(1), | 144 B(CallRuntime), U16(Runtime::kReThrow), R(23), U8(1), |
142 B(PopContext), R(21), | 145 B(PopContext), R(22), |
143 B(LdaSmi), I8(-1), | 146 B(LdaSmi), I8(-1), |
144 B(Star), R(17), | 147 B(Star), R(18), |
145 B(Jump), U8(8), | 148 B(Jump), U8(8), |
| 149 B(Star), R(19), |
| 150 B(LdaSmi), I8(1), |
146 B(Star), R(18), | 151 B(Star), R(18), |
147 B(LdaSmi), I8(1), | |
148 B(Star), R(17), | |
149 B(LdaTheHole), | 152 B(LdaTheHole), |
150 B(SetPendingMessage), | 153 B(SetPendingMessage), |
151 B(Star), R(19), | 154 B(Star), R(20), |
152 B(LdaZero), | 155 B(LdaZero), |
153 B(TestEqualStrict), R(6), U8(21), | 156 B(TestEqualStrict), R(6), U8(21), |
154 B(JumpIfTrueConstant), U8(15), | 157 B(JumpIfTrueConstant), U8(16), |
155 B(LdaNamedProperty), R(4), U8(12), U8(22), | 158 B(LdaNamedProperty), R(4), U8(12), U8(22), |
156 B(Star), R(9), | 159 B(Star), R(9), |
157 B(TestUndetectable), | 160 B(TestUndetectable), |
158 B(JumpIfFalse), U8(4), | 161 B(JumpIfFalse), U8(4), |
159 B(Jump), U8(248), | 162 B(JumpConstant), U8(15), |
160 B(LdaSmi), I8(1), | 163 B(LdaSmi), I8(1), |
161 B(TestEqualStrict), R(6), U8(25), | 164 B(TestEqualStrict), R(6), U8(25), |
162 B(JumpIfFalse), U8(139), | 165 B(JumpIfFalse), U8(145), |
163 B(Ldar), R(9), | 166 B(Ldar), R(9), |
164 B(TestTypeOf), U8(5), | 167 B(TestTypeOf), U8(5), |
165 B(JumpIfFalse), U8(4), | 168 B(JumpIfFalse), U8(4), |
166 B(Jump), U8(18), | 169 B(Jump), U8(18), |
167 B(Wide), B(LdaSmi), I16(130), | 170 B(Wide), B(LdaSmi), I16(130), |
168 B(Star), R(20), | 171 B(Star), R(21), |
169 B(LdaConstant), U8(13), | 172 B(LdaConstant), U8(13), |
| 173 B(Star), R(22), |
| 174 B(CallRuntime), U16(Runtime::kNewTypeError), R(21), U8(2), |
| 175 B(Throw), |
| 176 B(Mov), R(context), R(21), |
| 177 B(LdaUndefined), |
| 178 B(Star), R(23), |
| 179 B(Mov), R(9), R(25), |
| 180 B(Mov), R(4), R(26), |
| 181 B(InvokeIntrinsic), U8(Runtime::k_Call), R(25), U8(2), |
| 182 B(Star), R(25), |
| 183 B(Mov), R(2), R(24), |
| 184 B(Mov), R(7), R(26), |
| 185 B(CallJSRuntime), U8(%async_function_await_caught), R(23), U8(4)
, |
| 186 B(LdaSmi), I8(1), |
| 187 B(Mov), R(2), R(22), |
| 188 B(Mov), R(7), R(23), |
| 189 B(SuspendGenerator), R(22), R(0), U8(23), U8(2), |
| 190 B(Ldar), R(23), |
| 191 /* 57 S> */ B(Return), |
| 192 B(RestoreGeneratorRegisters), R(11), R(0), U8(23), |
| 193 B(LdaSmi), I8(-2), |
| 194 B(Star), R(12), |
| 195 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos),
R(22), U8(1), |
| 196 B(Star), R(23), |
| 197 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(22)
, U8(1), |
| 198 B(Star), R(24), |
| 199 B(LdaZero), |
| 200 B(TestEqualStrictNoFeedback), R(24), |
| 201 B(JumpIfTrue), U8(28), |
| 202 B(LdaSmi), I8(2), |
| 203 B(TestEqualStrictNoFeedback), R(24), |
| 204 B(JumpIfTrue), U8(19), |
| 205 B(LdaTrue), |
| 206 B(Star), R(26), |
| 207 B(Mov), R(23), R(25), |
| 208 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(25)
, U8(2), |
| 209 B(Star), R(15), |
| 210 B(LdaZero), |
| 211 B(Star), R(14), |
| 212 B(Jump), U8(237), |
| 213 B(Ldar), R(23), |
| 214 B(ReThrow), |
| 215 B(Ldar), R(23), |
| 216 B(Jump), U8(20), |
| 217 B(Star), R(22), |
| 218 B(Ldar), R(closure), |
| 219 B(CreateCatchContext), R(22), U8(10), U8(14), |
170 B(Star), R(21), | 220 B(Star), R(21), |
171 B(CallRuntime), U16(Runtime::kNewTypeError), R(20), U8(2), | 221 B(LdaTheHole), |
172 B(Throw), | 222 B(SetPendingMessage), |
173 B(Mov), R(context), R(20), | 223 B(Ldar), R(21), |
| 224 B(PushContext), R(22), |
| 225 B(PopContext), R(22), |
| 226 B(Jump), U8(110), |
174 B(LdaUndefined), | 227 B(LdaUndefined), |
175 B(Star), R(22), | 228 B(Star), R(22), |
176 B(Mov), R(9), R(24), | 229 B(Mov), R(9), R(24), |
177 B(Mov), R(4), R(25), | 230 B(Mov), R(4), R(25), |
178 B(InvokeIntrinsic), U8(Runtime::k_Call), R(24), U8(2), | 231 B(InvokeIntrinsic), U8(Runtime::k_Call), R(24), U8(2), |
179 B(Star), R(24), | 232 B(Star), R(24), |
180 B(Mov), R(2), R(23), | 233 B(Mov), R(2), R(23), |
181 B(Mov), R(7), R(25), | 234 B(Mov), R(7), R(25), |
182 B(CallJSRuntime), U8(%async_function_await_caught), R(22), U8(4)
, | 235 B(CallJSRuntime), U8(%async_function_await_uncaught), R(22), U8(
4), |
183 B(LdaSmi), I8(1), | 236 B(LdaSmi), I8(2), |
184 B(Mov), R(2), R(21), | 237 B(Mov), R(2), R(21), |
185 B(Mov), R(7), R(22), | 238 B(Mov), R(7), R(22), |
186 B(SuspendGenerator), R(21), U8(2), | 239 B(SuspendGenerator), R(21), R(0), U8(22), U8(2), |
187 B(Ldar), R(22), | 240 B(Ldar), R(22), |
188 /* 57 S> */ B(Return), | 241 /* 57 S> */ B(Return), |
| 242 B(RestoreGeneratorRegisters), R(11), R(0), U8(22), |
189 B(LdaSmi), I8(-2), | 243 B(LdaSmi), I8(-2), |
190 B(Star), R(11), | 244 B(Star), R(12), |
191 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos),
R(21), U8(1), | 245 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos),
R(21), U8(1), |
192 B(Star), R(22), | 246 B(Star), R(22), |
193 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(21)
, U8(1), | 247 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(21)
, U8(1), |
194 B(Star), R(23), | 248 B(Star), R(23), |
195 B(LdaZero), | 249 B(LdaZero), |
196 B(TestEqualStrictNoFeedback), R(23), | 250 B(TestEqualStrictNoFeedback), R(23), |
197 B(JumpIfTrue), U8(28), | 251 B(JumpIfTrue), U8(28), |
198 B(LdaSmi), I8(2), | 252 B(LdaSmi), I8(2), |
199 B(TestEqualStrictNoFeedback), R(23), | 253 B(TestEqualStrictNoFeedback), R(23), |
200 B(JumpIfTrue), U8(19), | 254 B(JumpIfTrue), U8(19), |
201 B(LdaTrue), | 255 B(LdaTrue), |
202 B(Star), R(25), | 256 B(Star), R(25), |
203 B(Mov), R(22), R(24), | 257 B(Mov), R(22), R(24), |
204 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(24)
, U8(2), | 258 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(24)
, U8(2), |
| 259 B(Star), R(15), |
| 260 B(LdaZero), |
205 B(Star), R(14), | 261 B(Star), R(14), |
206 B(LdaZero), | 262 B(Jump), U8(121), |
207 B(Star), R(13), | |
208 B(Jump), U8(231), | |
209 B(Ldar), R(22), | 263 B(Ldar), R(22), |
210 B(ReThrow), | 264 B(ReThrow), |
211 B(Ldar), R(22), | 265 B(Mov), R(22), R(10), |
212 B(Jump), U8(20), | |
213 B(Star), R(21), | |
214 B(Ldar), R(closure), | |
215 B(CreateCatchContext), R(21), U8(10), U8(14), | |
216 B(Star), R(20), | |
217 B(LdaTheHole), | |
218 B(SetPendingMessage), | |
219 B(Ldar), R(20), | |
220 B(PushContext), R(21), | |
221 B(PopContext), R(21), | |
222 B(Jump), U8(104), | |
223 B(LdaUndefined), | |
224 B(Star), R(21), | |
225 B(Mov), R(9), R(23), | |
226 B(Mov), R(4), R(24), | |
227 B(InvokeIntrinsic), U8(Runtime::k_Call), R(23), U8(2), | |
228 B(Star), R(23), | |
229 B(Mov), R(2), R(22), | |
230 B(Mov), R(7), R(24), | |
231 B(CallJSRuntime), U8(%async_function_await_uncaught), R(21), U8(
4), | |
232 B(LdaSmi), I8(2), | |
233 B(Mov), R(2), R(20), | |
234 B(Mov), R(7), R(21), | |
235 B(SuspendGenerator), R(20), U8(2), | |
236 B(Ldar), R(21), | |
237 /* 57 S> */ B(Return), | |
238 B(LdaSmi), I8(-2), | |
239 B(Star), R(11), | |
240 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos),
R(20), U8(1), | |
241 B(Star), R(21), | |
242 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(20)
, U8(1), | |
243 B(Star), R(22), | |
244 B(LdaZero), | |
245 B(TestEqualStrictNoFeedback), R(22), | |
246 B(JumpIfTrue), U8(28), | |
247 B(LdaSmi), I8(2), | |
248 B(TestEqualStrictNoFeedback), R(22), | |
249 B(JumpIfTrue), U8(19), | |
250 B(LdaTrue), | |
251 B(Star), R(24), | |
252 B(Mov), R(21), R(23), | |
253 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(23)
, U8(2), | |
254 B(Star), R(14), | |
255 B(LdaZero), | |
256 B(Star), R(13), | |
257 B(Jump), U8(121), | |
258 B(Ldar), R(21), | |
259 B(ReThrow), | |
260 B(Mov), R(21), R(10), | |
261 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(10), U8(1), | 266 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(10), U8(1), |
262 B(JumpIfToBooleanFalse), U8(4), | 267 B(JumpIfToBooleanFalse), U8(4), |
263 B(Jump), U8(7), | 268 B(Jump), U8(7), |
264 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R
(10), U8(1), | 269 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R
(10), U8(1), |
| 270 B(Ldar), R(20), |
| 271 B(SetPendingMessage), |
| 272 B(Ldar), R(18), |
| 273 B(SwitchOnSmiNoFeedback), U8(17), U8(2), I8(0), |
| 274 B(Jump), U8(13), |
| 275 B(LdaZero), |
| 276 B(Star), R(14), |
| 277 B(Mov), R(19), R(15), |
| 278 B(Jump), U8(83), |
265 B(Ldar), R(19), | 279 B(Ldar), R(19), |
| 280 B(ReThrow), |
| 281 B(LdaUndefined), |
| 282 B(Star), R(18), |
| 283 B(LdaUndefined), |
| 284 B(Star), R(20), |
| 285 B(Mov), R(7), R(19), |
| 286 B(CallJSRuntime), U8(%promise_resolve), R(18), U8(3), |
| 287 B(LdaZero), |
| 288 B(Star), R(14), |
| 289 B(Mov), R(7), R(15), |
| 290 B(Jump), U8(59), |
| 291 B(Jump), U8(45), |
| 292 B(Star), R(18), |
| 293 B(Ldar), R(closure), |
| 294 B(CreateCatchContext), R(18), U8(10), U8(19), |
| 295 B(Star), R(17), |
| 296 B(LdaTheHole), |
266 B(SetPendingMessage), | 297 B(SetPendingMessage), |
267 B(Ldar), R(17), | 298 B(Ldar), R(17), |
268 B(SwitchOnSmiNoFeedback), U8(16), U8(2), I8(0), | 299 B(PushContext), R(18), |
269 B(Jump), U8(13), | 300 B(LdaUndefined), |
| 301 B(Star), R(19), |
| 302 B(LdaImmutableCurrentContextSlot), U8(4), |
| 303 B(Star), R(21), |
| 304 B(LdaFalse), |
| 305 B(Star), R(22), |
| 306 B(Mov), R(7), R(20), |
| 307 B(CallJSRuntime), U8(%promise_internal_reject), R(19), U8(4), |
| 308 B(PopContext), R(18), |
270 B(LdaZero), | 309 B(LdaZero), |
271 B(Star), R(13), | 310 B(Star), R(14), |
272 B(Mov), R(18), R(14), | 311 B(Mov), R(7), R(15), |
273 B(Jump), U8(83), | 312 B(Jump), U8(14), |
274 B(Ldar), R(18), | 313 B(LdaSmi), I8(-1), |
275 B(ReThrow), | 314 B(Star), R(14), |
| 315 B(Jump), U8(8), |
| 316 B(Star), R(15), |
| 317 B(LdaSmi), I8(1), |
| 318 B(Star), R(14), |
| 319 B(LdaTheHole), |
| 320 B(SetPendingMessage), |
| 321 B(Star), R(16), |
276 B(LdaUndefined), | 322 B(LdaUndefined), |
277 B(Star), R(17), | 323 B(Star), R(17), |
278 B(LdaUndefined), | |
279 B(Star), R(19), | |
280 B(Mov), R(7), R(18), | 324 B(Mov), R(7), R(18), |
281 B(CallJSRuntime), U8(%promise_resolve), R(17), U8(3), | 325 B(CallJSRuntime), U8(%async_function_promise_release), R(17), U8
(2), |
282 B(LdaZero), | 326 B(Ldar), R(16), |
283 B(Star), R(13), | |
284 B(Mov), R(7), R(14), | |
285 B(Jump), U8(59), | |
286 B(Jump), U8(45), | |
287 B(Star), R(17), | |
288 B(Ldar), R(closure), | |
289 B(CreateCatchContext), R(17), U8(10), U8(18), | |
290 B(Star), R(16), | |
291 B(LdaTheHole), | |
292 B(SetPendingMessage), | 327 B(SetPendingMessage), |
293 B(Ldar), R(16), | 328 B(Ldar), R(14), |
294 B(PushContext), R(17), | 329 B(SwitchOnSmiNoFeedback), U8(20), U8(2), I8(0), |
295 B(LdaUndefined), | |
296 B(Star), R(18), | |
297 B(LdaImmutableCurrentContextSlot), U8(4), | |
298 B(Star), R(20), | |
299 B(LdaFalse), | |
300 B(Star), R(21), | |
301 B(Mov), R(7), R(19), | |
302 B(CallJSRuntime), U8(%promise_internal_reject), R(18), U8(4), | |
303 B(PopContext), R(17), | |
304 B(LdaZero), | |
305 B(Star), R(13), | |
306 B(Mov), R(7), R(14), | |
307 B(Jump), U8(14), | |
308 B(LdaSmi), I8(-1), | |
309 B(Star), R(13), | |
310 B(Jump), U8(8), | 330 B(Jump), U8(8), |
311 B(Star), R(14), | |
312 B(LdaSmi), I8(1), | |
313 B(Star), R(13), | |
314 B(LdaTheHole), | |
315 B(SetPendingMessage), | |
316 B(Star), R(15), | |
317 B(LdaUndefined), | |
318 B(Star), R(16), | |
319 B(Mov), R(7), R(17), | |
320 B(CallJSRuntime), U8(%async_function_promise_release), R(16), U8
(2), | |
321 B(Ldar), R(15), | 331 B(Ldar), R(15), |
322 B(SetPendingMessage), | |
323 B(Ldar), R(13), | |
324 B(SwitchOnSmiNoFeedback), U8(19), U8(2), I8(0), | |
325 B(Jump), U8(8), | |
326 B(Ldar), R(14), | |
327 /* 57 S> */ B(Return), | 332 /* 57 S> */ B(Return), |
328 B(Ldar), R(14), | 333 B(Ldar), R(15), |
329 B(ReThrow), | 334 B(ReThrow), |
330 B(LdaUndefined), | 335 B(LdaUndefined), |
331 /* 57 S> */ B(Return), | 336 /* 57 S> */ B(Return), |
332 ] | 337 ] |
333 constant pool: [ | 338 constant pool: [ |
334 Smi [99], | 339 Smi [102], |
335 Smi [395], | 340 Smi [406], |
336 Smi [505], | 341 Smi [522], |
337 TUPLE2_TYPE, | 342 TUPLE2_TYPE, |
338 SYMBOL_TYPE, | 343 SYMBOL_TYPE, |
339 SYMBOL_TYPE, | 344 SYMBOL_TYPE, |
340 Smi [57], | 345 Smi [59], |
341 ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"], | 346 ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"], |
342 ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"], | 347 ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"], |
343 ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"], | 348 ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"], |
344 ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"], | 349 ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"], |
345 FIXED_ARRAY_TYPE, | 350 FIXED_ARRAY_TYPE, |
346 ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"], | 351 ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"], |
347 ONE_BYTE_INTERNALIZED_STRING_TYPE [""], | 352 ONE_BYTE_INTERNALIZED_STRING_TYPE [""], |
348 FIXED_ARRAY_TYPE, | 353 FIXED_ARRAY_TYPE, |
349 Smi [259], | 354 Smi [260], |
| 355 Smi [271], |
350 Smi [6], | 356 Smi [6], |
351 Smi [14], | 357 Smi [14], |
352 FIXED_ARRAY_TYPE, | 358 FIXED_ARRAY_TYPE, |
353 Smi [6], | 359 Smi [6], |
354 Smi [9], | 360 Smi [9], |
355 ] | 361 ] |
356 handlers: [ | 362 handlers: [ |
357 [56, 670, 676], | 363 [62, 694, 700], |
358 [59, 625, 627], | 364 [65, 649, 651], |
359 [65, 303, 309], | 365 [71, 315, 321], |
360 [68, 263, 265], | 366 [74, 275, 277], |
361 [370, 458, 460], | 367 [382, 476, 478], |
362 ] | 368 ] |
363 | 369 |
364 --- | 370 --- |
365 snippet: " | 371 snippet: " |
366 async function f() { | 372 async function f() { |
367 for await (let x of [1, 2, 3]) { return x; } | 373 for await (let x of [1, 2, 3]) { return x; } |
368 } | 374 } |
369 f(); | 375 f(); |
370 " | 376 " |
371 frame size: 26 | 377 frame size: 27 |
372 parameter count: 1 | 378 parameter count: 1 |
373 bytecode array length: 743 | 379 bytecode array length: 767 |
374 bytecodes: [ | 380 bytecodes: [ |
| 381 B(Mov), R(new_target), R(11), |
375 B(Ldar), R(new_target), | 382 B(Ldar), R(new_target), |
376 B(JumpIfUndefined), U8(25), | 383 B(JumpIfUndefined), U8(25), |
377 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetContext), R(new_ta
rget), U8(1), | 384 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetContext), R(11), U
8(1), |
378 B(PushContext), R(12), | 385 B(PushContext), R(13), |
379 B(ResumeGenerator), R(new_target), | 386 B(RestoreGeneratorState), R(11), |
380 B(Star), R(11), | 387 B(Star), R(12), |
381 B(SwitchOnSmiNoFeedback), U8(0), U8(3), I8(0), | 388 B(SwitchOnSmiNoFeedback), U8(0), U8(3), I8(0), |
382 B(LdaSmi), I8(79), | 389 B(LdaSmi), I8(79), |
383 B(Star), R(13), | 390 B(Star), R(14), |
384 B(CallRuntime), U16(Runtime::kAbort), R(13), U8(1), | 391 B(CallRuntime), U16(Runtime::kAbort), R(14), U8(1), |
385 B(LdaSmi), I8(-2), | 392 B(LdaSmi), I8(-2), |
386 B(Star), R(11), | 393 B(Star), R(12), |
387 B(Mov), R(closure), R(13), | 394 B(Mov), R(closure), R(14), |
388 B(Mov), R(this), R(14), | 395 B(Mov), R(this), R(15), |
389 B(InvokeIntrinsic), U8(Runtime::k_CreateJSGeneratorObject), R(13
), U8(2), | 396 B(InvokeIntrinsic), U8(Runtime::k_CreateJSGeneratorObject), R(14
), U8(2), |
390 B(Star), R(2), | 397 B(Star), R(2), |
391 /* 16 E> */ B(StackCheck), | 398 /* 16 E> */ B(StackCheck), |
392 B(LdaUndefined), | 399 B(LdaUndefined), |
393 B(Star), R(13), | 400 B(Star), R(14), |
394 B(CallJSRuntime), U8(%async_function_promise_create), R(13), U8(
1), | 401 B(CallJSRuntime), U8(%async_function_promise_create), R(14), U8(
1), |
395 B(Star), R(7), | 402 B(Star), R(7), |
396 B(Mov), R(context), R(15), | |
397 B(Mov), R(context), R(16), | 403 B(Mov), R(context), R(16), |
| 404 B(Mov), R(2), R(11), |
| 405 B(Mov), R(context), R(17), |
398 B(LdaZero), | 406 B(LdaZero), |
399 B(Star), R(6), | 407 B(Star), R(6), |
400 B(Mov), R(context), R(19), | |
401 B(Mov), R(context), R(20), | 408 B(Mov), R(context), R(20), |
| 409 B(Mov), R(context), R(21), |
402 /* 43 S> */ B(CreateArrayLiteral), U8(3), U8(3), U8(17), | 410 /* 43 S> */ B(CreateArrayLiteral), U8(3), U8(3), U8(17), |
403 B(Star), R(21), | 411 B(Star), R(22), |
404 B(LdaNamedProperty), R(21), U8(4), U8(8), | 412 B(LdaNamedProperty), R(22), U8(4), U8(8), |
405 B(JumpIfUndefined), U8(17), | 413 B(JumpIfUndefined), U8(17), |
406 B(JumpIfNull), U8(15), | 414 B(JumpIfNull), U8(15), |
407 B(Star), R(22), | 415 B(Star), R(23), |
408 B(CallProperty0), R(22), R(21), U8(10), | 416 B(CallProperty0), R(23), R(22), U8(10), |
409 B(JumpIfJSReceiver), U8(23), | 417 B(JumpIfJSReceiver), U8(23), |
410 B(CallRuntime), U16(Runtime::kThrowSymbolAsyncIteratorInvalid),
R(0), U8(0), | 418 B(CallRuntime), U16(Runtime::kThrowSymbolAsyncIteratorInvalid),
R(0), U8(0), |
411 B(LdaNamedProperty), R(21), U8(5), U8(4), | 419 B(LdaNamedProperty), R(22), U8(5), U8(4), |
412 B(Star), R(22), | 420 B(Star), R(23), |
413 B(CallProperty0), R(22), R(21), U8(6), | 421 B(CallProperty0), R(23), R(22), U8(6), |
414 B(Star), R(22), | 422 B(Star), R(23), |
415 B(InvokeIntrinsic), U8(Runtime::k_CreateAsyncFromSyncIterator),
R(22), U8(1), | 423 B(InvokeIntrinsic), U8(Runtime::k_CreateAsyncFromSyncIterator),
R(23), U8(1), |
416 B(Star), R(4), | 424 B(Star), R(4), |
417 B(Ldar), R(11), | 425 B(Ldar), R(12), |
418 B(SwitchOnSmiNoFeedback), U8(6), U8(1), I8(0), | 426 B(SwitchOnSmiNoFeedback), U8(6), U8(1), I8(0), |
419 B(LdaSmi), I8(-2), | 427 B(LdaSmi), I8(-2), |
420 /* 43 E> */ B(TestEqualStrictNoFeedback), R(11), | 428 /* 43 E> */ B(TestEqualStrictNoFeedback), R(12), |
421 B(JumpIfTrue), U8(11), | 429 B(JumpIfTrue), U8(11), |
422 B(LdaSmi), I8(79), | 430 B(LdaSmi), I8(79), |
423 B(Star), R(21), | 431 B(Star), R(22), |
424 B(CallRuntime), U16(Runtime::kAbort), R(21), U8(1), | 432 B(CallRuntime), U16(Runtime::kAbort), R(22), U8(1), |
425 /* 40 S> */ B(LdaUndefined), | 433 /* 40 S> */ B(LdaUndefined), |
426 B(Star), R(22), | 434 B(Star), R(23), |
427 /* 40 E> */ B(LdaNamedProperty), R(4), U8(7), U8(14), | 435 /* 40 E> */ B(LdaNamedProperty), R(4), U8(7), U8(14), |
| 436 B(Star), R(25), |
| 437 B(CallProperty0), R(25), R(4), U8(12), |
| 438 B(Star), R(25), |
| 439 B(Mov), R(2), R(24), |
| 440 B(Mov), R(7), R(26), |
| 441 B(CallJSRuntime), U8(%async_function_await_uncaught), R(23), U8(
4), |
| 442 B(LdaZero), |
| 443 B(Mov), R(2), R(22), |
| 444 B(Mov), R(7), R(23), |
| 445 B(SuspendGenerator), R(22), R(0), U8(23), U8(2), |
| 446 B(Ldar), R(23), |
| 447 /* 68 S> */ B(Return), |
| 448 B(RestoreGeneratorRegisters), R(11), R(0), U8(23), |
| 449 B(LdaSmi), I8(-2), |
| 450 B(Star), R(12), |
| 451 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos),
R(22), U8(1), |
| 452 B(Star), R(23), |
| 453 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(22)
, U8(1), |
428 B(Star), R(24), | 454 B(Star), R(24), |
429 B(CallProperty0), R(24), R(4), U8(12), | |
430 B(Star), R(24), | |
431 B(Mov), R(2), R(23), | |
432 B(Mov), R(7), R(25), | |
433 B(CallJSRuntime), U8(%async_function_await_uncaught), R(22), U8(
4), | |
434 B(LdaZero), | 455 B(LdaZero), |
435 B(Mov), R(2), R(21), | 456 B(TestEqualStrictNoFeedback), R(24), |
436 B(Mov), R(7), R(22), | |
437 B(SuspendGenerator), R(21), U8(2), | |
438 B(Ldar), R(22), | |
439 /* 68 S> */ B(Return), | |
440 B(LdaSmi), I8(-2), | |
441 B(Star), R(11), | |
442 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos),
R(21), U8(1), | |
443 B(Star), R(22), | |
444 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(21)
, U8(1), | |
445 B(Star), R(23), | |
446 B(LdaZero), | |
447 B(TestEqualStrictNoFeedback), R(23), | |
448 B(JumpIfTrue), U8(28), | 457 B(JumpIfTrue), U8(28), |
449 B(LdaSmi), I8(2), | 458 B(LdaSmi), I8(2), |
450 B(TestEqualStrictNoFeedback), R(23), | 459 B(TestEqualStrictNoFeedback), R(24), |
451 B(JumpIfTrue), U8(19), | 460 B(JumpIfTrue), U8(19), |
452 B(LdaTrue), | 461 B(LdaTrue), |
453 B(Star), R(25), | 462 B(Star), R(26), |
454 B(Mov), R(22), R(24), | 463 B(Mov), R(23), R(25), |
455 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(24)
, U8(2), | 464 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(25)
, U8(2), |
| 465 B(Star), R(19), |
| 466 B(LdaZero), |
456 B(Star), R(18), | 467 B(Star), R(18), |
457 B(LdaZero), | |
458 B(Star), R(17), | |
459 B(Jump), U8(104), | 468 B(Jump), U8(104), |
460 B(Ldar), R(22), | 469 B(Ldar), R(23), |
461 /* 40 E> */ B(ReThrow), | 470 /* 40 E> */ B(ReThrow), |
462 B(Mov), R(22), R(5), | 471 B(Mov), R(23), R(5), |
463 /* 40 E> */ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(5), U8(1), | 472 /* 40 E> */ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(5), U8(1), |
464 B(ToBooleanLogicalNot), | 473 B(ToBooleanLogicalNot), |
465 B(JumpIfFalse), U8(7), | 474 B(JumpIfFalse), U8(7), |
466 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R
(5), U8(1), | 475 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R
(5), U8(1), |
467 B(LdaNamedProperty), R(5), U8(8), U8(16), | 476 B(LdaNamedProperty), R(5), U8(8), U8(16), |
468 B(JumpIfToBooleanTrue), U8(28), | 477 B(JumpIfToBooleanTrue), U8(28), |
469 B(LdaNamedProperty), R(5), U8(9), U8(18), | 478 B(LdaNamedProperty), R(5), U8(9), U8(18), |
470 B(Star), R(8), | 479 B(Star), R(8), |
471 B(LdaSmi), I8(2), | 480 B(LdaSmi), I8(2), |
472 B(Star), R(6), | 481 B(Star), R(6), |
473 B(Mov), R(8), R(3), | 482 B(Mov), R(8), R(3), |
474 /* 23 E> */ B(StackCheck), | 483 /* 23 E> */ B(StackCheck), |
475 B(Mov), R(3), R(0), | 484 B(Mov), R(3), R(0), |
476 /* 56 S> */ B(LdaSmi), I8(1), | 485 /* 56 S> */ B(LdaSmi), I8(1), |
477 B(Star), R(17), | 486 B(Star), R(18), |
478 B(Mov), R(0), R(18), | 487 B(Mov), R(0), R(19), |
479 B(Jump), U8(54), | 488 B(Jump), U8(54), |
480 B(Jump), U8(40), | 489 B(Jump), U8(40), |
| 490 B(Star), R(22), |
| 491 B(Ldar), R(closure), |
| 492 B(CreateCatchContext), R(22), U8(10), U8(11), |
481 B(Star), R(21), | 493 B(Star), R(21), |
482 B(Ldar), R(closure), | |
483 B(CreateCatchContext), R(21), U8(10), U8(11), | |
484 B(Star), R(20), | |
485 B(LdaTheHole), | 494 B(LdaTheHole), |
486 B(SetPendingMessage), | 495 B(SetPendingMessage), |
487 B(Ldar), R(20), | 496 B(Ldar), R(21), |
488 B(PushContext), R(21), | 497 B(PushContext), R(22), |
489 B(LdaSmi), I8(2), | 498 B(LdaSmi), I8(2), |
490 B(TestEqualStrict), R(6), U8(20), | 499 B(TestEqualStrict), R(6), U8(20), |
491 B(JumpIfFalse), U8(6), | 500 B(JumpIfFalse), U8(6), |
492 B(LdaSmi), I8(1), | 501 B(LdaSmi), I8(1), |
493 B(Star), R(6), | 502 B(Star), R(6), |
494 B(LdaImmutableCurrentContextSlot), U8(4), | 503 B(LdaImmutableCurrentContextSlot), U8(4), |
495 B(Star), R(22), | 504 B(Star), R(23), |
496 B(CallRuntime), U16(Runtime::kReThrow), R(22), U8(1), | 505 B(CallRuntime), U16(Runtime::kReThrow), R(23), U8(1), |
497 B(PopContext), R(21), | 506 B(PopContext), R(22), |
498 B(LdaSmi), I8(-1), | 507 B(LdaSmi), I8(-1), |
499 B(Star), R(17), | 508 B(Star), R(18), |
500 B(Jump), U8(8), | 509 B(Jump), U8(8), |
| 510 B(Star), R(19), |
| 511 B(LdaSmi), I8(2), |
501 B(Star), R(18), | 512 B(Star), R(18), |
502 B(LdaSmi), I8(2), | |
503 B(Star), R(17), | |
504 B(LdaTheHole), | 513 B(LdaTheHole), |
505 B(SetPendingMessage), | 514 B(SetPendingMessage), |
506 B(Star), R(19), | 515 B(Star), R(20), |
507 B(LdaZero), | 516 B(LdaZero), |
508 B(TestEqualStrict), R(6), U8(21), | 517 B(TestEqualStrict), R(6), U8(21), |
509 B(JumpIfTrueConstant), U8(15), | 518 B(JumpIfTrueConstant), U8(16), |
510 B(LdaNamedProperty), R(4), U8(12), U8(22), | 519 B(LdaNamedProperty), R(4), U8(12), U8(22), |
511 B(Star), R(9), | 520 B(Star), R(9), |
512 B(TestUndetectable), | 521 B(TestUndetectable), |
513 B(JumpIfFalse), U8(4), | 522 B(JumpIfFalse), U8(4), |
514 B(Jump), U8(248), | 523 B(JumpConstant), U8(15), |
515 B(LdaSmi), I8(1), | 524 B(LdaSmi), I8(1), |
516 B(TestEqualStrict), R(6), U8(25), | 525 B(TestEqualStrict), R(6), U8(25), |
517 B(JumpIfFalse), U8(139), | 526 B(JumpIfFalse), U8(145), |
518 B(Ldar), R(9), | 527 B(Ldar), R(9), |
519 B(TestTypeOf), U8(5), | 528 B(TestTypeOf), U8(5), |
520 B(JumpIfFalse), U8(4), | 529 B(JumpIfFalse), U8(4), |
521 B(Jump), U8(18), | 530 B(Jump), U8(18), |
522 B(Wide), B(LdaSmi), I16(130), | 531 B(Wide), B(LdaSmi), I16(130), |
523 B(Star), R(20), | 532 B(Star), R(21), |
524 B(LdaConstant), U8(13), | 533 B(LdaConstant), U8(13), |
| 534 B(Star), R(22), |
| 535 B(CallRuntime), U16(Runtime::kNewTypeError), R(21), U8(2), |
| 536 B(Throw), |
| 537 B(Mov), R(context), R(21), |
| 538 B(LdaUndefined), |
| 539 B(Star), R(23), |
| 540 B(Mov), R(9), R(25), |
| 541 B(Mov), R(4), R(26), |
| 542 B(InvokeIntrinsic), U8(Runtime::k_Call), R(25), U8(2), |
| 543 B(Star), R(25), |
| 544 B(Mov), R(2), R(24), |
| 545 B(Mov), R(7), R(26), |
| 546 B(CallJSRuntime), U8(%async_function_await_caught), R(23), U8(4)
, |
| 547 B(LdaSmi), I8(1), |
| 548 B(Mov), R(2), R(22), |
| 549 B(Mov), R(7), R(23), |
| 550 B(SuspendGenerator), R(22), R(0), U8(23), U8(2), |
| 551 B(Ldar), R(23), |
| 552 /* 68 S> */ B(Return), |
| 553 B(RestoreGeneratorRegisters), R(11), R(0), U8(23), |
| 554 B(LdaSmi), I8(-2), |
| 555 B(Star), R(12), |
| 556 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos),
R(22), U8(1), |
| 557 B(Star), R(23), |
| 558 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(22)
, U8(1), |
| 559 B(Star), R(24), |
| 560 B(LdaZero), |
| 561 B(TestEqualStrictNoFeedback), R(24), |
| 562 B(JumpIfTrue), U8(28), |
| 563 B(LdaSmi), I8(2), |
| 564 B(TestEqualStrictNoFeedback), R(24), |
| 565 B(JumpIfTrue), U8(19), |
| 566 B(LdaTrue), |
| 567 B(Star), R(26), |
| 568 B(Mov), R(23), R(25), |
| 569 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(25)
, U8(2), |
| 570 B(Star), R(15), |
| 571 B(LdaZero), |
| 572 B(Star), R(14), |
| 573 B(Jump), U8(246), |
| 574 B(Ldar), R(23), |
| 575 B(ReThrow), |
| 576 B(Ldar), R(23), |
| 577 B(Jump), U8(20), |
| 578 B(Star), R(22), |
| 579 B(Ldar), R(closure), |
| 580 B(CreateCatchContext), R(22), U8(10), U8(14), |
525 B(Star), R(21), | 581 B(Star), R(21), |
526 B(CallRuntime), U16(Runtime::kNewTypeError), R(20), U8(2), | 582 B(LdaTheHole), |
527 B(Throw), | 583 B(SetPendingMessage), |
528 B(Mov), R(context), R(20), | 584 B(Ldar), R(21), |
| 585 B(PushContext), R(22), |
| 586 B(PopContext), R(22), |
| 587 B(Jump), U8(110), |
529 B(LdaUndefined), | 588 B(LdaUndefined), |
530 B(Star), R(22), | 589 B(Star), R(22), |
531 B(Mov), R(9), R(24), | 590 B(Mov), R(9), R(24), |
532 B(Mov), R(4), R(25), | 591 B(Mov), R(4), R(25), |
533 B(InvokeIntrinsic), U8(Runtime::k_Call), R(24), U8(2), | 592 B(InvokeIntrinsic), U8(Runtime::k_Call), R(24), U8(2), |
534 B(Star), R(24), | 593 B(Star), R(24), |
535 B(Mov), R(2), R(23), | 594 B(Mov), R(2), R(23), |
536 B(Mov), R(7), R(25), | 595 B(Mov), R(7), R(25), |
537 B(CallJSRuntime), U8(%async_function_await_caught), R(22), U8(4)
, | 596 B(CallJSRuntime), U8(%async_function_await_uncaught), R(22), U8(
4), |
538 B(LdaSmi), I8(1), | 597 B(LdaSmi), I8(2), |
539 B(Mov), R(2), R(21), | 598 B(Mov), R(2), R(21), |
540 B(Mov), R(7), R(22), | 599 B(Mov), R(7), R(22), |
541 B(SuspendGenerator), R(21), U8(2), | 600 B(SuspendGenerator), R(21), R(0), U8(22), U8(2), |
542 B(Ldar), R(22), | 601 B(Ldar), R(22), |
543 /* 68 S> */ B(Return), | 602 /* 68 S> */ B(Return), |
| 603 B(RestoreGeneratorRegisters), R(11), R(0), U8(22), |
544 B(LdaSmi), I8(-2), | 604 B(LdaSmi), I8(-2), |
545 B(Star), R(11), | 605 B(Star), R(12), |
546 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos),
R(21), U8(1), | 606 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos),
R(21), U8(1), |
547 B(Star), R(22), | 607 B(Star), R(22), |
548 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(21)
, U8(1), | 608 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(21)
, U8(1), |
549 B(Star), R(23), | 609 B(Star), R(23), |
550 B(LdaZero), | 610 B(LdaZero), |
551 B(TestEqualStrictNoFeedback), R(23), | 611 B(TestEqualStrictNoFeedback), R(23), |
552 B(JumpIfTrue), U8(28), | 612 B(JumpIfTrue), U8(28), |
553 B(LdaSmi), I8(2), | 613 B(LdaSmi), I8(2), |
554 B(TestEqualStrictNoFeedback), R(23), | 614 B(TestEqualStrictNoFeedback), R(23), |
555 B(JumpIfTrue), U8(19), | 615 B(JumpIfTrue), U8(19), |
556 B(LdaTrue), | 616 B(LdaTrue), |
557 B(Star), R(25), | 617 B(Star), R(25), |
558 B(Mov), R(22), R(24), | 618 B(Mov), R(22), R(24), |
559 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(24)
, U8(2), | 619 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(24)
, U8(2), |
| 620 B(Star), R(15), |
| 621 B(LdaZero), |
560 B(Star), R(14), | 622 B(Star), R(14), |
561 B(LdaZero), | 623 B(Jump), U8(130), |
562 B(Star), R(13), | |
563 B(Jump), U8(240), | |
564 B(Ldar), R(22), | 624 B(Ldar), R(22), |
565 B(ReThrow), | 625 B(ReThrow), |
566 B(Ldar), R(22), | 626 B(Mov), R(22), R(10), |
567 B(Jump), U8(20), | |
568 B(Star), R(21), | |
569 B(Ldar), R(closure), | |
570 B(CreateCatchContext), R(21), U8(10), U8(14), | |
571 B(Star), R(20), | |
572 B(LdaTheHole), | |
573 B(SetPendingMessage), | |
574 B(Ldar), R(20), | |
575 B(PushContext), R(21), | |
576 B(PopContext), R(21), | |
577 B(Jump), U8(104), | |
578 B(LdaUndefined), | |
579 B(Star), R(21), | |
580 B(Mov), R(9), R(23), | |
581 B(Mov), R(4), R(24), | |
582 B(InvokeIntrinsic), U8(Runtime::k_Call), R(23), U8(2), | |
583 B(Star), R(23), | |
584 B(Mov), R(2), R(22), | |
585 B(Mov), R(7), R(24), | |
586 B(CallJSRuntime), U8(%async_function_await_uncaught), R(21), U8(
4), | |
587 B(LdaSmi), I8(2), | |
588 B(Mov), R(2), R(20), | |
589 B(Mov), R(7), R(21), | |
590 B(SuspendGenerator), R(20), U8(2), | |
591 B(Ldar), R(21), | |
592 /* 68 S> */ B(Return), | |
593 B(LdaSmi), I8(-2), | |
594 B(Star), R(11), | |
595 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos),
R(20), U8(1), | |
596 B(Star), R(21), | |
597 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(20)
, U8(1), | |
598 B(Star), R(22), | |
599 B(LdaZero), | |
600 B(TestEqualStrictNoFeedback), R(22), | |
601 B(JumpIfTrue), U8(28), | |
602 B(LdaSmi), I8(2), | |
603 B(TestEqualStrictNoFeedback), R(22), | |
604 B(JumpIfTrue), U8(19), | |
605 B(LdaTrue), | |
606 B(Star), R(24), | |
607 B(Mov), R(21), R(23), | |
608 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(23)
, U8(2), | |
609 B(Star), R(14), | |
610 B(LdaZero), | |
611 B(Star), R(13), | |
612 B(Jump), U8(130), | |
613 B(Ldar), R(21), | |
614 B(ReThrow), | |
615 B(Mov), R(21), R(10), | |
616 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(10), U8(1), | 627 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(10), U8(1), |
617 B(JumpIfToBooleanFalse), U8(4), | 628 B(JumpIfToBooleanFalse), U8(4), |
618 B(Jump), U8(7), | 629 B(Jump), U8(7), |
619 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R
(10), U8(1), | 630 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R
(10), U8(1), |
| 631 B(Ldar), R(20), |
| 632 B(SetPendingMessage), |
| 633 B(Ldar), R(18), |
| 634 B(SwitchOnSmiNoFeedback), U8(17), U8(3), I8(0), |
| 635 B(Jump), U8(22), |
| 636 B(LdaZero), |
| 637 B(Star), R(14), |
| 638 B(Mov), R(19), R(15), |
| 639 B(Jump), U8(92), |
| 640 B(LdaSmi), I8(1), |
| 641 B(Star), R(14), |
| 642 B(Mov), R(19), R(15), |
| 643 B(Jump), U8(83), |
620 B(Ldar), R(19), | 644 B(Ldar), R(19), |
| 645 B(ReThrow), |
| 646 B(LdaUndefined), |
| 647 B(Star), R(18), |
| 648 B(LdaUndefined), |
| 649 B(Star), R(20), |
| 650 B(Mov), R(7), R(19), |
| 651 B(CallJSRuntime), U8(%promise_resolve), R(18), U8(3), |
| 652 B(LdaZero), |
| 653 B(Star), R(14), |
| 654 B(Mov), R(7), R(15), |
| 655 B(Jump), U8(59), |
| 656 B(Jump), U8(45), |
| 657 B(Star), R(18), |
| 658 B(Ldar), R(closure), |
| 659 B(CreateCatchContext), R(18), U8(10), U8(20), |
| 660 B(Star), R(17), |
| 661 B(LdaTheHole), |
621 B(SetPendingMessage), | 662 B(SetPendingMessage), |
622 B(Ldar), R(17), | 663 B(Ldar), R(17), |
623 B(SwitchOnSmiNoFeedback), U8(16), U8(3), I8(0), | 664 B(PushContext), R(18), |
624 B(Jump), U8(22), | 665 B(LdaUndefined), |
| 666 B(Star), R(19), |
| 667 B(LdaImmutableCurrentContextSlot), U8(4), |
| 668 B(Star), R(21), |
| 669 B(LdaFalse), |
| 670 B(Star), R(22), |
| 671 B(Mov), R(7), R(20), |
| 672 B(CallJSRuntime), U8(%promise_internal_reject), R(19), U8(4), |
| 673 B(PopContext), R(18), |
625 B(LdaZero), | 674 B(LdaZero), |
626 B(Star), R(13), | 675 B(Star), R(14), |
627 B(Mov), R(18), R(14), | 676 B(Mov), R(7), R(15), |
628 B(Jump), U8(92), | 677 B(Jump), U8(14), |
629 B(LdaSmi), I8(1), | 678 B(LdaSmi), I8(-1), |
630 B(Star), R(13), | 679 B(Star), R(14), |
631 B(Mov), R(18), R(14), | 680 B(Jump), U8(8), |
632 B(Jump), U8(83), | 681 B(Star), R(15), |
633 B(Ldar), R(18), | 682 B(LdaSmi), I8(2), |
634 B(ReThrow), | 683 B(Star), R(14), |
| 684 B(LdaTheHole), |
| 685 B(SetPendingMessage), |
| 686 B(Star), R(16), |
635 B(LdaUndefined), | 687 B(LdaUndefined), |
636 B(Star), R(17), | 688 B(Star), R(17), |
637 B(LdaUndefined), | |
638 B(Star), R(19), | |
639 B(Mov), R(7), R(18), | 689 B(Mov), R(7), R(18), |
640 B(CallJSRuntime), U8(%promise_resolve), R(17), U8(3), | 690 B(CallJSRuntime), U8(%async_function_promise_release), R(17), U8
(2), |
641 B(LdaZero), | 691 B(Ldar), R(16), |
642 B(Star), R(13), | |
643 B(Mov), R(7), R(14), | |
644 B(Jump), U8(59), | |
645 B(Jump), U8(45), | |
646 B(Star), R(17), | |
647 B(Ldar), R(closure), | |
648 B(CreateCatchContext), R(17), U8(10), U8(19), | |
649 B(Star), R(16), | |
650 B(LdaTheHole), | |
651 B(SetPendingMessage), | 692 B(SetPendingMessage), |
652 B(Ldar), R(16), | 693 B(Ldar), R(14), |
653 B(PushContext), R(17), | 694 B(SwitchOnSmiNoFeedback), U8(21), U8(3), I8(0), |
654 B(LdaUndefined), | 695 B(Jump), U8(24), |
655 B(Star), R(18), | |
656 B(LdaImmutableCurrentContextSlot), U8(4), | |
657 B(Star), R(20), | |
658 B(LdaFalse), | |
659 B(Star), R(21), | |
660 B(Mov), R(7), R(19), | |
661 B(CallJSRuntime), U8(%promise_internal_reject), R(18), U8(4), | |
662 B(PopContext), R(17), | |
663 B(LdaZero), | |
664 B(Star), R(13), | |
665 B(Mov), R(7), R(14), | |
666 B(Jump), U8(14), | |
667 B(LdaSmi), I8(-1), | |
668 B(Star), R(13), | |
669 B(Jump), U8(8), | |
670 B(Star), R(14), | |
671 B(LdaSmi), I8(2), | |
672 B(Star), R(13), | |
673 B(LdaTheHole), | |
674 B(SetPendingMessage), | |
675 B(Star), R(15), | |
676 B(LdaUndefined), | |
677 B(Star), R(16), | |
678 B(Mov), R(7), R(17), | |
679 B(CallJSRuntime), U8(%async_function_promise_release), R(16), U8
(2), | |
680 B(Ldar), R(15), | 696 B(Ldar), R(15), |
681 B(SetPendingMessage), | |
682 B(Ldar), R(13), | |
683 B(SwitchOnSmiNoFeedback), U8(20), U8(3), I8(0), | |
684 B(Jump), U8(24), | |
685 B(Ldar), R(14), | |
686 /* 68 S> */ B(Return), | 697 /* 68 S> */ B(Return), |
687 B(LdaUndefined), | 698 B(LdaUndefined), |
688 B(Star), R(16), | 699 B(Star), R(17), |
689 B(Mov), R(7), R(17), | 700 B(Mov), R(7), R(18), |
690 B(Mov), R(14), R(18), | 701 B(Mov), R(15), R(19), |
691 B(CallJSRuntime), U8(%promise_resolve), R(16), U8(3), | 702 B(CallJSRuntime), U8(%promise_resolve), R(17), U8(3), |
692 B(Ldar), R(7), | 703 B(Ldar), R(7), |
693 /* 68 S> */ B(Return), | 704 /* 68 S> */ B(Return), |
694 B(Ldar), R(14), | 705 B(Ldar), R(15), |
695 B(ReThrow), | 706 B(ReThrow), |
696 B(LdaUndefined), | 707 B(LdaUndefined), |
697 /* 68 S> */ B(Return), | 708 /* 68 S> */ B(Return), |
698 ] | 709 ] |
699 constant pool: [ | 710 constant pool: [ |
700 Smi [99], | 711 Smi [102], |
701 Smi [398], | 712 Smi [409], |
702 Smi [508], | 713 Smi [525], |
703 TUPLE2_TYPE, | 714 TUPLE2_TYPE, |
704 SYMBOL_TYPE, | 715 SYMBOL_TYPE, |
705 SYMBOL_TYPE, | 716 SYMBOL_TYPE, |
706 Smi [57], | 717 Smi [59], |
707 ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"], | 718 ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"], |
708 ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"], | 719 ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"], |
709 ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"], | 720 ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"], |
710 ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"], | 721 ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"], |
711 FIXED_ARRAY_TYPE, | 722 FIXED_ARRAY_TYPE, |
712 ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"], | 723 ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"], |
713 ONE_BYTE_INTERNALIZED_STRING_TYPE [""], | 724 ONE_BYTE_INTERNALIZED_STRING_TYPE [""], |
714 FIXED_ARRAY_TYPE, | 725 FIXED_ARRAY_TYPE, |
715 Smi [259], | 726 Smi [260], |
| 727 Smi [271], |
716 Smi [6], | 728 Smi [6], |
717 Smi [14], | 729 Smi [14], |
718 Smi [23], | 730 Smi [23], |
719 FIXED_ARRAY_TYPE, | 731 FIXED_ARRAY_TYPE, |
720 Smi [6], | 732 Smi [6], |
721 Smi [9], | 733 Smi [9], |
722 Smi [25], | 734 Smi [25], |
723 ] | 735 ] |
724 handlers: [ | 736 handlers: [ |
725 [56, 682, 688], | 737 [62, 706, 712], |
726 [59, 637, 639], | 738 [65, 661, 663], |
727 [65, 306, 312], | 739 [71, 318, 324], |
728 [68, 266, 268], | 740 [74, 278, 280], |
729 [373, 461, 463], | 741 [385, 479, 481], |
730 ] | 742 ] |
731 | 743 |
732 --- | 744 --- |
733 snippet: " | 745 snippet: " |
734 async function f() { | 746 async function f() { |
735 for await (let x of [10, 20, 30]) { | 747 for await (let x of [10, 20, 30]) { |
736 if (x == 10) continue; | 748 if (x == 10) continue; |
737 if (x == 20) break; | 749 if (x == 20) break; |
738 } | 750 } |
739 } | 751 } |
740 f(); | 752 f(); |
741 " | 753 " |
742 frame size: 26 | 754 frame size: 27 |
743 parameter count: 1 | 755 parameter count: 1 |
744 bytecode array length: 733 | 756 bytecode array length: 757 |
745 bytecodes: [ | 757 bytecodes: [ |
| 758 B(Mov), R(new_target), R(11), |
746 B(Ldar), R(new_target), | 759 B(Ldar), R(new_target), |
747 B(JumpIfUndefined), U8(25), | 760 B(JumpIfUndefined), U8(25), |
748 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetContext), R(new_ta
rget), U8(1), | 761 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetContext), R(11), U
8(1), |
749 B(PushContext), R(12), | 762 B(PushContext), R(13), |
750 B(ResumeGenerator), R(new_target), | 763 B(RestoreGeneratorState), R(11), |
751 B(Star), R(11), | 764 B(Star), R(12), |
752 B(SwitchOnSmiNoFeedback), U8(0), U8(3), I8(0), | 765 B(SwitchOnSmiNoFeedback), U8(0), U8(3), I8(0), |
753 B(LdaSmi), I8(79), | 766 B(LdaSmi), I8(79), |
754 B(Star), R(13), | 767 B(Star), R(14), |
755 B(CallRuntime), U16(Runtime::kAbort), R(13), U8(1), | 768 B(CallRuntime), U16(Runtime::kAbort), R(14), U8(1), |
756 B(LdaSmi), I8(-2), | 769 B(LdaSmi), I8(-2), |
757 B(Star), R(11), | 770 B(Star), R(12), |
758 B(Mov), R(closure), R(13), | 771 B(Mov), R(closure), R(14), |
759 B(Mov), R(this), R(14), | 772 B(Mov), R(this), R(15), |
760 B(InvokeIntrinsic), U8(Runtime::k_CreateJSGeneratorObject), R(13
), U8(2), | 773 B(InvokeIntrinsic), U8(Runtime::k_CreateJSGeneratorObject), R(14
), U8(2), |
761 B(Star), R(2), | 774 B(Star), R(2), |
762 /* 16 E> */ B(StackCheck), | 775 /* 16 E> */ B(StackCheck), |
763 B(LdaUndefined), | 776 B(LdaUndefined), |
764 B(Star), R(13), | 777 B(Star), R(14), |
765 B(CallJSRuntime), U8(%async_function_promise_create), R(13), U8(
1), | 778 B(CallJSRuntime), U8(%async_function_promise_create), R(14), U8(
1), |
766 B(Star), R(7), | 779 B(Star), R(7), |
767 B(Mov), R(context), R(15), | |
768 B(Mov), R(context), R(16), | 780 B(Mov), R(context), R(16), |
| 781 B(Mov), R(2), R(11), |
| 782 B(Mov), R(context), R(17), |
769 B(LdaZero), | 783 B(LdaZero), |
770 B(Star), R(6), | 784 B(Star), R(6), |
771 B(Mov), R(context), R(19), | |
772 B(Mov), R(context), R(20), | 785 B(Mov), R(context), R(20), |
| 786 B(Mov), R(context), R(21), |
773 /* 43 S> */ B(CreateArrayLiteral), U8(3), U8(3), U8(17), | 787 /* 43 S> */ B(CreateArrayLiteral), U8(3), U8(3), U8(17), |
774 B(Star), R(21), | 788 B(Star), R(22), |
775 B(LdaNamedProperty), R(21), U8(4), U8(8), | 789 B(LdaNamedProperty), R(22), U8(4), U8(8), |
776 B(JumpIfUndefined), U8(17), | 790 B(JumpIfUndefined), U8(17), |
777 B(JumpIfNull), U8(15), | 791 B(JumpIfNull), U8(15), |
778 B(Star), R(22), | 792 B(Star), R(23), |
779 B(CallProperty0), R(22), R(21), U8(10), | 793 B(CallProperty0), R(23), R(22), U8(10), |
780 B(JumpIfJSReceiver), U8(23), | 794 B(JumpIfJSReceiver), U8(23), |
781 B(CallRuntime), U16(Runtime::kThrowSymbolAsyncIteratorInvalid),
R(0), U8(0), | 795 B(CallRuntime), U16(Runtime::kThrowSymbolAsyncIteratorInvalid),
R(0), U8(0), |
782 B(LdaNamedProperty), R(21), U8(5), U8(4), | 796 B(LdaNamedProperty), R(22), U8(5), U8(4), |
783 B(Star), R(22), | 797 B(Star), R(23), |
784 B(CallProperty0), R(22), R(21), U8(6), | 798 B(CallProperty0), R(23), R(22), U8(6), |
785 B(Star), R(22), | 799 B(Star), R(23), |
786 B(InvokeIntrinsic), U8(Runtime::k_CreateAsyncFromSyncIterator),
R(22), U8(1), | 800 B(InvokeIntrinsic), U8(Runtime::k_CreateAsyncFromSyncIterator),
R(23), U8(1), |
787 B(Star), R(4), | 801 B(Star), R(4), |
788 B(Ldar), R(11), | 802 B(Ldar), R(12), |
789 B(SwitchOnSmiNoFeedback), U8(6), U8(1), I8(0), | 803 B(SwitchOnSmiNoFeedback), U8(6), U8(1), I8(0), |
790 B(LdaSmi), I8(-2), | 804 B(LdaSmi), I8(-2), |
791 /* 43 E> */ B(TestEqualStrictNoFeedback), R(11), | 805 /* 43 E> */ B(TestEqualStrictNoFeedback), R(12), |
792 B(JumpIfTrue), U8(11), | 806 B(JumpIfTrue), U8(11), |
793 B(LdaSmi), I8(79), | 807 B(LdaSmi), I8(79), |
794 B(Star), R(21), | 808 B(Star), R(22), |
795 B(CallRuntime), U16(Runtime::kAbort), R(21), U8(1), | 809 B(CallRuntime), U16(Runtime::kAbort), R(22), U8(1), |
796 /* 40 S> */ B(LdaUndefined), | 810 /* 40 S> */ B(LdaUndefined), |
797 B(Star), R(22), | 811 B(Star), R(23), |
798 /* 40 E> */ B(LdaNamedProperty), R(4), U8(7), U8(14), | 812 /* 40 E> */ B(LdaNamedProperty), R(4), U8(7), U8(14), |
| 813 B(Star), R(25), |
| 814 B(CallProperty0), R(25), R(4), U8(12), |
| 815 B(Star), R(25), |
| 816 B(Mov), R(2), R(24), |
| 817 B(Mov), R(7), R(26), |
| 818 B(CallJSRuntime), U8(%async_function_await_uncaught), R(23), U8(
4), |
| 819 B(LdaZero), |
| 820 B(Mov), R(2), R(22), |
| 821 B(Mov), R(7), R(23), |
| 822 B(SuspendGenerator), R(22), R(0), U8(23), U8(2), |
| 823 B(Ldar), R(23), |
| 824 /* 114 S> */ B(Return), |
| 825 B(RestoreGeneratorRegisters), R(11), R(0), U8(23), |
| 826 B(LdaSmi), I8(-2), |
| 827 B(Star), R(12), |
| 828 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos),
R(22), U8(1), |
| 829 B(Star), R(23), |
| 830 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(22)
, U8(1), |
799 B(Star), R(24), | 831 B(Star), R(24), |
800 B(CallProperty0), R(24), R(4), U8(12), | |
801 B(Star), R(24), | |
802 B(Mov), R(2), R(23), | |
803 B(Mov), R(7), R(25), | |
804 B(CallJSRuntime), U8(%async_function_await_uncaught), R(22), U8(
4), | |
805 B(LdaZero), | 832 B(LdaZero), |
806 B(Mov), R(2), R(21), | 833 B(TestEqualStrictNoFeedback), R(24), |
807 B(Mov), R(7), R(22), | |
808 B(SuspendGenerator), R(21), U8(2), | |
809 B(Ldar), R(22), | |
810 /* 114 S> */ B(Return), | |
811 B(LdaSmi), I8(-2), | |
812 B(Star), R(11), | |
813 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos),
R(21), U8(1), | |
814 B(Star), R(22), | |
815 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(21)
, U8(1), | |
816 B(Star), R(23), | |
817 B(LdaZero), | |
818 B(TestEqualStrictNoFeedback), R(23), | |
819 B(JumpIfTrue), U8(28), | 834 B(JumpIfTrue), U8(28), |
820 B(LdaSmi), I8(2), | 835 B(LdaSmi), I8(2), |
821 B(TestEqualStrictNoFeedback), R(23), | 836 B(TestEqualStrictNoFeedback), R(24), |
822 B(JumpIfTrue), U8(19), | 837 B(JumpIfTrue), U8(19), |
823 B(LdaTrue), | 838 B(LdaTrue), |
824 B(Star), R(25), | 839 B(Star), R(26), |
825 B(Mov), R(22), R(24), | 840 B(Mov), R(23), R(25), |
826 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(24)
, U8(2), | 841 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(25)
, U8(2), |
| 842 B(Star), R(19), |
| 843 B(LdaZero), |
827 B(Star), R(18), | 844 B(Star), R(18), |
828 B(LdaZero), | |
829 B(Star), R(17), | |
830 B(Jump), U8(119), | 845 B(Jump), U8(119), |
831 B(Ldar), R(22), | 846 B(Ldar), R(23), |
832 /* 40 E> */ B(ReThrow), | 847 /* 40 E> */ B(ReThrow), |
833 B(Mov), R(22), R(5), | 848 B(Mov), R(23), R(5), |
834 /* 40 E> */ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(5), U8(1), | 849 /* 40 E> */ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(5), U8(1), |
835 B(ToBooleanLogicalNot), | 850 B(ToBooleanLogicalNot), |
836 B(JumpIfFalse), U8(7), | 851 B(JumpIfFalse), U8(7), |
837 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R
(5), U8(1), | 852 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R
(5), U8(1), |
838 B(LdaNamedProperty), R(5), U8(8), U8(16), | 853 B(LdaNamedProperty), R(5), U8(8), U8(16), |
839 B(JumpIfToBooleanTrue), U8(43), | 854 B(JumpIfToBooleanTrue), U8(43), |
840 B(LdaNamedProperty), R(5), U8(9), U8(18), | 855 B(LdaNamedProperty), R(5), U8(9), U8(18), |
841 B(Star), R(8), | 856 B(Star), R(8), |
842 B(LdaSmi), I8(2), | 857 B(LdaSmi), I8(2), |
843 B(Star), R(6), | 858 B(Star), R(6), |
844 B(Mov), R(8), R(3), | 859 B(Mov), R(8), R(3), |
845 /* 23 E> */ B(StackCheck), | 860 /* 23 E> */ B(StackCheck), |
846 B(Mov), R(3), R(0), | 861 B(Mov), R(3), R(0), |
847 /* 63 S> */ B(LdaSmi), I8(10), | 862 /* 63 S> */ B(LdaSmi), I8(10), |
848 /* 69 E> */ B(TestEqual), R(0), U8(20), | 863 /* 69 E> */ B(TestEqual), R(0), U8(20), |
849 B(JumpIfFalse), U8(4), | 864 B(JumpIfFalse), U8(4), |
850 /* 76 S> */ B(Jump), U8(14), | 865 /* 76 S> */ B(Jump), U8(14), |
851 /* 90 S> */ B(LdaSmi), I8(20), | 866 /* 90 S> */ B(LdaSmi), I8(20), |
852 /* 96 E> */ B(TestEqual), R(0), U8(21), | 867 /* 96 E> */ B(TestEqual), R(0), U8(21), |
853 B(JumpIfFalse), U8(4), | 868 B(JumpIfFalse), U8(4), |
854 /* 103 S> */ B(Jump), U8(8), | 869 /* 103 S> */ B(Jump), U8(8), |
855 B(LdaZero), | 870 B(LdaZero), |
856 B(Star), R(6), | 871 B(Star), R(6), |
857 B(JumpLoop), U8(165), I8(0), | 872 B(JumpLoop), U8(171), I8(0), |
858 B(Jump), U8(40), | 873 B(Jump), U8(40), |
| 874 B(Star), R(22), |
| 875 B(Ldar), R(closure), |
| 876 B(CreateCatchContext), R(22), U8(10), U8(11), |
859 B(Star), R(21), | 877 B(Star), R(21), |
860 B(Ldar), R(closure), | |
861 B(CreateCatchContext), R(21), U8(10), U8(11), | |
862 B(Star), R(20), | |
863 B(LdaTheHole), | 878 B(LdaTheHole), |
864 B(SetPendingMessage), | 879 B(SetPendingMessage), |
865 B(Ldar), R(20), | 880 B(Ldar), R(21), |
866 B(PushContext), R(21), | 881 B(PushContext), R(22), |
867 B(LdaSmi), I8(2), | 882 B(LdaSmi), I8(2), |
868 B(TestEqualStrict), R(6), U8(22), | 883 B(TestEqualStrict), R(6), U8(22), |
869 B(JumpIfFalse), U8(6), | 884 B(JumpIfFalse), U8(6), |
870 B(LdaSmi), I8(1), | 885 B(LdaSmi), I8(1), |
871 B(Star), R(6), | 886 B(Star), R(6), |
872 B(LdaImmutableCurrentContextSlot), U8(4), | 887 B(LdaImmutableCurrentContextSlot), U8(4), |
873 B(Star), R(22), | 888 B(Star), R(23), |
874 B(CallRuntime), U16(Runtime::kReThrow), R(22), U8(1), | 889 B(CallRuntime), U16(Runtime::kReThrow), R(23), U8(1), |
875 B(PopContext), R(21), | 890 B(PopContext), R(22), |
876 B(LdaSmi), I8(-1), | 891 B(LdaSmi), I8(-1), |
877 B(Star), R(17), | 892 B(Star), R(18), |
878 B(Jump), U8(8), | 893 B(Jump), U8(8), |
| 894 B(Star), R(19), |
| 895 B(LdaSmi), I8(1), |
879 B(Star), R(18), | 896 B(Star), R(18), |
880 B(LdaSmi), I8(1), | |
881 B(Star), R(17), | |
882 B(LdaTheHole), | 897 B(LdaTheHole), |
883 B(SetPendingMessage), | 898 B(SetPendingMessage), |
884 B(Star), R(19), | 899 B(Star), R(20), |
885 B(LdaZero), | 900 B(LdaZero), |
886 B(TestEqualStrict), R(6), U8(23), | 901 B(TestEqualStrict), R(6), U8(23), |
887 B(JumpIfTrueConstant), U8(15), | 902 B(JumpIfTrueConstant), U8(16), |
888 B(LdaNamedProperty), R(4), U8(12), U8(24), | 903 B(LdaNamedProperty), R(4), U8(12), U8(24), |
889 B(Star), R(9), | 904 B(Star), R(9), |
890 B(TestUndetectable), | 905 B(TestUndetectable), |
891 B(JumpIfFalse), U8(4), | 906 B(JumpIfFalse), U8(4), |
892 B(Jump), U8(248), | 907 B(JumpConstant), U8(15), |
893 B(LdaSmi), I8(1), | 908 B(LdaSmi), I8(1), |
894 B(TestEqualStrict), R(6), U8(27), | 909 B(TestEqualStrict), R(6), U8(27), |
895 B(JumpIfFalse), U8(139), | 910 B(JumpIfFalse), U8(145), |
896 B(Ldar), R(9), | 911 B(Ldar), R(9), |
897 B(TestTypeOf), U8(5), | 912 B(TestTypeOf), U8(5), |
898 B(JumpIfFalse), U8(4), | 913 B(JumpIfFalse), U8(4), |
899 B(Jump), U8(18), | 914 B(Jump), U8(18), |
900 B(Wide), B(LdaSmi), I16(130), | 915 B(Wide), B(LdaSmi), I16(130), |
901 B(Star), R(20), | 916 B(Star), R(21), |
902 B(LdaConstant), U8(13), | 917 B(LdaConstant), U8(13), |
| 918 B(Star), R(22), |
| 919 B(CallRuntime), U16(Runtime::kNewTypeError), R(21), U8(2), |
| 920 B(Throw), |
| 921 B(Mov), R(context), R(21), |
| 922 B(LdaUndefined), |
| 923 B(Star), R(23), |
| 924 B(Mov), R(9), R(25), |
| 925 B(Mov), R(4), R(26), |
| 926 B(InvokeIntrinsic), U8(Runtime::k_Call), R(25), U8(2), |
| 927 B(Star), R(25), |
| 928 B(Mov), R(2), R(24), |
| 929 B(Mov), R(7), R(26), |
| 930 B(CallJSRuntime), U8(%async_function_await_caught), R(23), U8(4)
, |
| 931 B(LdaSmi), I8(1), |
| 932 B(Mov), R(2), R(22), |
| 933 B(Mov), R(7), R(23), |
| 934 B(SuspendGenerator), R(22), R(0), U8(23), U8(2), |
| 935 B(Ldar), R(23), |
| 936 /* 114 S> */ B(Return), |
| 937 B(RestoreGeneratorRegisters), R(11), R(0), U8(23), |
| 938 B(LdaSmi), I8(-2), |
| 939 B(Star), R(12), |
| 940 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos),
R(22), U8(1), |
| 941 B(Star), R(23), |
| 942 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(22)
, U8(1), |
| 943 B(Star), R(24), |
| 944 B(LdaZero), |
| 945 B(TestEqualStrictNoFeedback), R(24), |
| 946 B(JumpIfTrue), U8(28), |
| 947 B(LdaSmi), I8(2), |
| 948 B(TestEqualStrictNoFeedback), R(24), |
| 949 B(JumpIfTrue), U8(19), |
| 950 B(LdaTrue), |
| 951 B(Star), R(26), |
| 952 B(Mov), R(23), R(25), |
| 953 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(25)
, U8(2), |
| 954 B(Star), R(15), |
| 955 B(LdaZero), |
| 956 B(Star), R(14), |
| 957 B(Jump), U8(237), |
| 958 B(Ldar), R(23), |
| 959 B(ReThrow), |
| 960 B(Ldar), R(23), |
| 961 B(Jump), U8(20), |
| 962 B(Star), R(22), |
| 963 B(Ldar), R(closure), |
| 964 B(CreateCatchContext), R(22), U8(10), U8(14), |
903 B(Star), R(21), | 965 B(Star), R(21), |
904 B(CallRuntime), U16(Runtime::kNewTypeError), R(20), U8(2), | 966 B(LdaTheHole), |
905 B(Throw), | 967 B(SetPendingMessage), |
906 B(Mov), R(context), R(20), | 968 B(Ldar), R(21), |
| 969 B(PushContext), R(22), |
| 970 B(PopContext), R(22), |
| 971 B(Jump), U8(110), |
907 B(LdaUndefined), | 972 B(LdaUndefined), |
908 B(Star), R(22), | 973 B(Star), R(22), |
909 B(Mov), R(9), R(24), | 974 B(Mov), R(9), R(24), |
910 B(Mov), R(4), R(25), | 975 B(Mov), R(4), R(25), |
911 B(InvokeIntrinsic), U8(Runtime::k_Call), R(24), U8(2), | 976 B(InvokeIntrinsic), U8(Runtime::k_Call), R(24), U8(2), |
912 B(Star), R(24), | 977 B(Star), R(24), |
913 B(Mov), R(2), R(23), | 978 B(Mov), R(2), R(23), |
914 B(Mov), R(7), R(25), | 979 B(Mov), R(7), R(25), |
915 B(CallJSRuntime), U8(%async_function_await_caught), R(22), U8(4)
, | 980 B(CallJSRuntime), U8(%async_function_await_uncaught), R(22), U8(
4), |
916 B(LdaSmi), I8(1), | 981 B(LdaSmi), I8(2), |
917 B(Mov), R(2), R(21), | 982 B(Mov), R(2), R(21), |
918 B(Mov), R(7), R(22), | 983 B(Mov), R(7), R(22), |
919 B(SuspendGenerator), R(21), U8(2), | 984 B(SuspendGenerator), R(21), R(0), U8(22), U8(2), |
920 B(Ldar), R(22), | 985 B(Ldar), R(22), |
921 /* 114 S> */ B(Return), | 986 /* 114 S> */ B(Return), |
| 987 B(RestoreGeneratorRegisters), R(11), R(0), U8(22), |
922 B(LdaSmi), I8(-2), | 988 B(LdaSmi), I8(-2), |
923 B(Star), R(11), | 989 B(Star), R(12), |
924 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos),
R(21), U8(1), | 990 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos),
R(21), U8(1), |
925 B(Star), R(22), | 991 B(Star), R(22), |
926 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(21)
, U8(1), | 992 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(21)
, U8(1), |
927 B(Star), R(23), | 993 B(Star), R(23), |
928 B(LdaZero), | 994 B(LdaZero), |
929 B(TestEqualStrictNoFeedback), R(23), | 995 B(TestEqualStrictNoFeedback), R(23), |
930 B(JumpIfTrue), U8(28), | 996 B(JumpIfTrue), U8(28), |
931 B(LdaSmi), I8(2), | 997 B(LdaSmi), I8(2), |
932 B(TestEqualStrictNoFeedback), R(23), | 998 B(TestEqualStrictNoFeedback), R(23), |
933 B(JumpIfTrue), U8(19), | 999 B(JumpIfTrue), U8(19), |
934 B(LdaTrue), | 1000 B(LdaTrue), |
935 B(Star), R(25), | 1001 B(Star), R(25), |
936 B(Mov), R(22), R(24), | 1002 B(Mov), R(22), R(24), |
937 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(24)
, U8(2), | 1003 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(24)
, U8(2), |
| 1004 B(Star), R(15), |
| 1005 B(LdaZero), |
938 B(Star), R(14), | 1006 B(Star), R(14), |
939 B(LdaZero), | 1007 B(Jump), U8(121), |
940 B(Star), R(13), | |
941 B(Jump), U8(231), | |
942 B(Ldar), R(22), | 1008 B(Ldar), R(22), |
943 B(ReThrow), | 1009 B(ReThrow), |
944 B(Ldar), R(22), | 1010 B(Mov), R(22), R(10), |
945 B(Jump), U8(20), | |
946 B(Star), R(21), | |
947 B(Ldar), R(closure), | |
948 B(CreateCatchContext), R(21), U8(10), U8(14), | |
949 B(Star), R(20), | |
950 B(LdaTheHole), | |
951 B(SetPendingMessage), | |
952 B(Ldar), R(20), | |
953 B(PushContext), R(21), | |
954 B(PopContext), R(21), | |
955 B(Jump), U8(104), | |
956 B(LdaUndefined), | |
957 B(Star), R(21), | |
958 B(Mov), R(9), R(23), | |
959 B(Mov), R(4), R(24), | |
960 B(InvokeIntrinsic), U8(Runtime::k_Call), R(23), U8(2), | |
961 B(Star), R(23), | |
962 B(Mov), R(2), R(22), | |
963 B(Mov), R(7), R(24), | |
964 B(CallJSRuntime), U8(%async_function_await_uncaught), R(21), U8(
4), | |
965 B(LdaSmi), I8(2), | |
966 B(Mov), R(2), R(20), | |
967 B(Mov), R(7), R(21), | |
968 B(SuspendGenerator), R(20), U8(2), | |
969 B(Ldar), R(21), | |
970 /* 114 S> */ B(Return), | |
971 B(LdaSmi), I8(-2), | |
972 B(Star), R(11), | |
973 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos),
R(20), U8(1), | |
974 B(Star), R(21), | |
975 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(20)
, U8(1), | |
976 B(Star), R(22), | |
977 B(LdaZero), | |
978 B(TestEqualStrictNoFeedback), R(22), | |
979 B(JumpIfTrue), U8(28), | |
980 B(LdaSmi), I8(2), | |
981 B(TestEqualStrictNoFeedback), R(22), | |
982 B(JumpIfTrue), U8(19), | |
983 B(LdaTrue), | |
984 B(Star), R(24), | |
985 B(Mov), R(21), R(23), | |
986 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(23)
, U8(2), | |
987 B(Star), R(14), | |
988 B(LdaZero), | |
989 B(Star), R(13), | |
990 B(Jump), U8(121), | |
991 B(Ldar), R(21), | |
992 B(ReThrow), | |
993 B(Mov), R(21), R(10), | |
994 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(10), U8(1), | 1011 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(10), U8(1), |
995 B(JumpIfToBooleanFalse), U8(4), | 1012 B(JumpIfToBooleanFalse), U8(4), |
996 B(Jump), U8(7), | 1013 B(Jump), U8(7), |
997 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R
(10), U8(1), | 1014 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R
(10), U8(1), |
| 1015 B(Ldar), R(20), |
| 1016 B(SetPendingMessage), |
| 1017 B(Ldar), R(18), |
| 1018 B(SwitchOnSmiNoFeedback), U8(17), U8(2), I8(0), |
| 1019 B(Jump), U8(13), |
| 1020 B(LdaZero), |
| 1021 B(Star), R(14), |
| 1022 B(Mov), R(19), R(15), |
| 1023 B(Jump), U8(83), |
998 B(Ldar), R(19), | 1024 B(Ldar), R(19), |
| 1025 B(ReThrow), |
| 1026 B(LdaUndefined), |
| 1027 B(Star), R(18), |
| 1028 B(LdaUndefined), |
| 1029 B(Star), R(20), |
| 1030 B(Mov), R(7), R(19), |
| 1031 B(CallJSRuntime), U8(%promise_resolve), R(18), U8(3), |
| 1032 B(LdaZero), |
| 1033 B(Star), R(14), |
| 1034 B(Mov), R(7), R(15), |
| 1035 B(Jump), U8(59), |
| 1036 B(Jump), U8(45), |
| 1037 B(Star), R(18), |
| 1038 B(Ldar), R(closure), |
| 1039 B(CreateCatchContext), R(18), U8(10), U8(19), |
| 1040 B(Star), R(17), |
| 1041 B(LdaTheHole), |
999 B(SetPendingMessage), | 1042 B(SetPendingMessage), |
1000 B(Ldar), R(17), | 1043 B(Ldar), R(17), |
1001 B(SwitchOnSmiNoFeedback), U8(16), U8(2), I8(0), | 1044 B(PushContext), R(18), |
1002 B(Jump), U8(13), | 1045 B(LdaUndefined), |
| 1046 B(Star), R(19), |
| 1047 B(LdaImmutableCurrentContextSlot), U8(4), |
| 1048 B(Star), R(21), |
| 1049 B(LdaFalse), |
| 1050 B(Star), R(22), |
| 1051 B(Mov), R(7), R(20), |
| 1052 B(CallJSRuntime), U8(%promise_internal_reject), R(19), U8(4), |
| 1053 B(PopContext), R(18), |
1003 B(LdaZero), | 1054 B(LdaZero), |
1004 B(Star), R(13), | 1055 B(Star), R(14), |
1005 B(Mov), R(18), R(14), | 1056 B(Mov), R(7), R(15), |
1006 B(Jump), U8(83), | 1057 B(Jump), U8(14), |
1007 B(Ldar), R(18), | 1058 B(LdaSmi), I8(-1), |
1008 B(ReThrow), | 1059 B(Star), R(14), |
| 1060 B(Jump), U8(8), |
| 1061 B(Star), R(15), |
| 1062 B(LdaSmi), I8(1), |
| 1063 B(Star), R(14), |
| 1064 B(LdaTheHole), |
| 1065 B(SetPendingMessage), |
| 1066 B(Star), R(16), |
1009 B(LdaUndefined), | 1067 B(LdaUndefined), |
1010 B(Star), R(17), | 1068 B(Star), R(17), |
1011 B(LdaUndefined), | |
1012 B(Star), R(19), | |
1013 B(Mov), R(7), R(18), | 1069 B(Mov), R(7), R(18), |
1014 B(CallJSRuntime), U8(%promise_resolve), R(17), U8(3), | 1070 B(CallJSRuntime), U8(%async_function_promise_release), R(17), U8
(2), |
1015 B(LdaZero), | 1071 B(Ldar), R(16), |
1016 B(Star), R(13), | |
1017 B(Mov), R(7), R(14), | |
1018 B(Jump), U8(59), | |
1019 B(Jump), U8(45), | |
1020 B(Star), R(17), | |
1021 B(Ldar), R(closure), | |
1022 B(CreateCatchContext), R(17), U8(10), U8(18), | |
1023 B(Star), R(16), | |
1024 B(LdaTheHole), | |
1025 B(SetPendingMessage), | 1072 B(SetPendingMessage), |
1026 B(Ldar), R(16), | 1073 B(Ldar), R(14), |
1027 B(PushContext), R(17), | 1074 B(SwitchOnSmiNoFeedback), U8(20), U8(2), I8(0), |
1028 B(LdaUndefined), | |
1029 B(Star), R(18), | |
1030 B(LdaImmutableCurrentContextSlot), U8(4), | |
1031 B(Star), R(20), | |
1032 B(LdaFalse), | |
1033 B(Star), R(21), | |
1034 B(Mov), R(7), R(19), | |
1035 B(CallJSRuntime), U8(%promise_internal_reject), R(18), U8(4), | |
1036 B(PopContext), R(17), | |
1037 B(LdaZero), | |
1038 B(Star), R(13), | |
1039 B(Mov), R(7), R(14), | |
1040 B(Jump), U8(14), | |
1041 B(LdaSmi), I8(-1), | |
1042 B(Star), R(13), | |
1043 B(Jump), U8(8), | 1075 B(Jump), U8(8), |
1044 B(Star), R(14), | |
1045 B(LdaSmi), I8(1), | |
1046 B(Star), R(13), | |
1047 B(LdaTheHole), | |
1048 B(SetPendingMessage), | |
1049 B(Star), R(15), | |
1050 B(LdaUndefined), | |
1051 B(Star), R(16), | |
1052 B(Mov), R(7), R(17), | |
1053 B(CallJSRuntime), U8(%async_function_promise_release), R(16), U8
(2), | |
1054 B(Ldar), R(15), | 1076 B(Ldar), R(15), |
1055 B(SetPendingMessage), | |
1056 B(Ldar), R(13), | |
1057 B(SwitchOnSmiNoFeedback), U8(19), U8(2), I8(0), | |
1058 B(Jump), U8(8), | |
1059 B(Ldar), R(14), | |
1060 /* 114 S> */ B(Return), | 1077 /* 114 S> */ B(Return), |
1061 B(Ldar), R(14), | 1078 B(Ldar), R(15), |
1062 B(ReThrow), | 1079 B(ReThrow), |
1063 B(LdaUndefined), | 1080 B(LdaUndefined), |
1064 /* 114 S> */ B(Return), | 1081 /* 114 S> */ B(Return), |
1065 ] | 1082 ] |
1066 constant pool: [ | 1083 constant pool: [ |
1067 Smi [99], | 1084 Smi [102], |
1068 Smi [413], | 1085 Smi [424], |
1069 Smi [523], | 1086 Smi [540], |
1070 TUPLE2_TYPE, | 1087 TUPLE2_TYPE, |
1071 SYMBOL_TYPE, | 1088 SYMBOL_TYPE, |
1072 SYMBOL_TYPE, | 1089 SYMBOL_TYPE, |
1073 Smi [57], | 1090 Smi [59], |
1074 ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"], | 1091 ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"], |
1075 ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"], | 1092 ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"], |
1076 ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"], | 1093 ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"], |
1077 ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"], | 1094 ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"], |
1078 FIXED_ARRAY_TYPE, | 1095 FIXED_ARRAY_TYPE, |
1079 ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"], | 1096 ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"], |
1080 ONE_BYTE_INTERNALIZED_STRING_TYPE [""], | 1097 ONE_BYTE_INTERNALIZED_STRING_TYPE [""], |
1081 FIXED_ARRAY_TYPE, | 1098 FIXED_ARRAY_TYPE, |
1082 Smi [259], | 1099 Smi [260], |
| 1100 Smi [271], |
1083 Smi [6], | 1101 Smi [6], |
1084 Smi [14], | 1102 Smi [14], |
1085 FIXED_ARRAY_TYPE, | 1103 FIXED_ARRAY_TYPE, |
1086 Smi [6], | 1104 Smi [6], |
1087 Smi [9], | 1105 Smi [9], |
1088 ] | 1106 ] |
1089 handlers: [ | 1107 handlers: [ |
1090 [56, 688, 694], | 1108 [62, 712, 718], |
1091 [59, 643, 645], | 1109 [65, 667, 669], |
1092 [65, 321, 327], | 1110 [71, 333, 339], |
1093 [68, 281, 283], | 1111 [74, 293, 295], |
1094 [388, 476, 478], | 1112 [400, 494, 496], |
1095 ] | 1113 ] |
1096 | 1114 |
1097 --- | 1115 --- |
1098 snippet: " | 1116 snippet: " |
1099 async function f() { | 1117 async function f() { |
1100 var x = { 'a': 1, 'b': 2 }; | 1118 var x = { 'a': 1, 'b': 2 }; |
1101 for (x['a'] of [1,2,3]) { return x['a']; } | 1119 for (x['a'] of [1,2,3]) { return x['a']; } |
1102 } | 1120 } |
1103 f(); | 1121 f(); |
1104 " | 1122 " |
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1317 Smi [25], | 1335 Smi [25], |
1318 ] | 1336 ] |
1319 handlers: [ | 1337 handlers: [ |
1320 [13, 371, 377], | 1338 [13, 371, 377], |
1321 [16, 325, 327], | 1339 [16, 325, 327], |
1322 [30, 157, 163], | 1340 [30, 157, 163], |
1323 [33, 117, 119], | 1341 [33, 117, 119], |
1324 [224, 234, 236], | 1342 [224, 234, 236], |
1325 ] | 1343 ] |
1326 | 1344 |
OLD | NEW |