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 | 8 |
9 --- | 9 --- |
10 snippet: " | 10 snippet: " |
11 function* f() { } | 11 function* f() { } |
12 f(); | 12 f(); |
13 " | 13 " |
14 frame size: 12 | 14 frame size: 12 |
15 parameter count: 1 | 15 parameter count: 1 |
16 bytecode array length: 204 | 16 bytecode array length: 192 |
17 bytecodes: [ | 17 bytecodes: [ |
18 B(Ldar), R(new_target), | 18 B(Ldar), R(new_target), |
19 B(JumpIfUndefined), U8(28), | 19 B(JumpIfUndefined), U8(28), |
20 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe
t), U8(1), | 20 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe
t), U8(1), |
21 B(PushContext), R(2), | 21 B(PushContext), R(2), |
22 B(ResumeGenerator), R(new_target), | 22 B(ResumeGenerator), R(new_target), |
23 B(Star), R(1), | 23 B(Star), R(1), |
24 B(LdaZero), | 24 B(LdaZero), |
25 B(TestEqualStrict), R(1), U8(0), | 25 B(TestEqualStrict), R(1), U8(0), |
26 B(JumpIfTrue), U8(53), | 26 B(JumpIfTrue), U8(41), |
27 B(LdaSmi), I8(78), | 27 B(LdaSmi), I8(78), |
28 B(Star), R(3), | 28 B(Star), R(3), |
29 B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1), | 29 B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1), |
30 B(LdaSmi), I8(-2), | 30 B(LdaSmi), I8(-2), |
| 31 /* 11 E> */ B(StackCheck), |
31 B(Star), R(1), | 32 B(Star), R(1), |
32 B(CreateFunctionContext), U8(2), | 33 B(LdaUndefined), |
33 B(PushContext), R(0), | 34 B(Star), R(0), |
34 B(Ldar), R(this), | |
35 B(StaCurrentContextSlot), U8(4), | |
36 /* 11 E> */ B(StackCheck), | |
37 B(Mov), R(context), R(5), | 35 B(Mov), R(context), R(5), |
38 B(LdaCurrentContextSlot), U8(4), | |
39 B(Star), R(7), | |
40 B(Mov), R(closure), R(6), | 36 B(Mov), R(closure), R(6), |
| 37 B(Mov), R(this), R(7), |
41 /* 11 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(6), U8
(2), | 38 /* 11 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(6), U8
(2), |
42 B(StaCurrentContextSlot), U8(5), | 39 B(Star), R(0), |
43 B(Star), R(6), | |
44 B(LdaCurrentContextSlot), U8(5), | |
45 B(Star), R(7), | |
46 B(LdaZero), | 40 B(LdaZero), |
47 B(SuspendGenerator), R(7), | 41 B(SuspendGenerator), R(0), |
48 B(Ldar), R(6), | 42 B(Ldar), R(0), |
49 /* 16 S> */ B(Return), | 43 /* 16 S> */ B(Return), |
50 B(LdaSmi), I8(-2), | 44 B(LdaSmi), I8(-2), |
51 B(Star), R(1), | 45 B(Star), R(1), |
52 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(7
), U8(1), | 46 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(0
), U8(1), |
53 B(Star), R(8), | 47 B(Star), R(8), |
54 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(7), U8
(1), | 48 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(0), U8
(1), |
55 B(Star), R(9), | 49 B(Star), R(9), |
56 B(LdaZero), | 50 B(LdaZero), |
57 B(TestEqualStrict), R(9), U8(0), | 51 B(TestEqualStrict), R(9), U8(0), |
58 B(JumpIfTrue), U8(31), | 52 B(JumpIfTrue), U8(31), |
59 B(LdaSmi), I8(2), | 53 B(LdaSmi), I8(2), |
60 B(TestEqualStrict), R(9), U8(0), | 54 B(TestEqualStrict), R(9), U8(0), |
61 B(JumpIfTrue), U8(21), | 55 B(JumpIfTrue), U8(21), |
62 B(Jump), U8(2), | 56 B(Jump), U8(2), |
63 B(LdaTrue), | 57 B(LdaTrue), |
64 B(Star), R(11), | 58 B(Star), R(11), |
(...skipping 16 matching lines...) Expand all Loading... |
81 B(Jump), U8(14), | 75 B(Jump), U8(14), |
82 B(LdaSmi), I8(-1), | 76 B(LdaSmi), I8(-1), |
83 B(Star), R(3), | 77 B(Star), R(3), |
84 B(Jump), U8(8), | 78 B(Jump), U8(8), |
85 B(Star), R(4), | 79 B(Star), R(4), |
86 B(LdaSmi), I8(2), | 80 B(LdaSmi), I8(2), |
87 B(Star), R(3), | 81 B(Star), R(3), |
88 B(LdaTheHole), | 82 B(LdaTheHole), |
89 B(SetPendingMessage), | 83 B(SetPendingMessage), |
90 B(Star), R(5), | 84 B(Star), R(5), |
91 B(LdaCurrentContextSlot), U8(5), | 85 B(Ldar), R(0), |
92 B(Star), R(6), | 86 B(JumpIfUndefined), U8(7), |
93 B(CallRuntime), U16(Runtime::k_GeneratorClose), R(6), U8(1), | 87 B(CallRuntime), U16(Runtime::k_GeneratorClose), R(0), U8(1), |
94 B(Ldar), R(5), | 88 B(Ldar), R(5), |
95 B(SetPendingMessage), | 89 B(SetPendingMessage), |
96 B(LdaZero), | 90 B(LdaZero), |
97 B(TestEqualStrict), R(3), U8(0), | 91 B(TestEqualStrict), R(3), U8(0), |
98 B(JumpIfTrue), U8(18), | 92 B(JumpIfTrue), U8(18), |
99 B(LdaSmi), I8(1), | 93 B(LdaSmi), I8(1), |
100 B(TestEqualStrict), R(3), U8(0), | 94 B(TestEqualStrict), R(3), U8(0), |
101 B(JumpIfTrue), U8(14), | 95 B(JumpIfTrue), U8(14), |
102 B(LdaSmi), I8(2), | 96 B(LdaSmi), I8(2), |
103 B(TestEqualStrict), R(3), U8(0), | 97 B(TestEqualStrict), R(3), U8(0), |
104 B(JumpIfTrue), U8(10), | 98 B(JumpIfTrue), U8(10), |
105 B(Jump), U8(11), | 99 B(Jump), U8(11), |
106 B(Ldar), R(4), | 100 B(Ldar), R(4), |
107 /* 16 S> */ B(Return), | 101 /* 16 S> */ B(Return), |
108 B(Ldar), R(4), | 102 B(Ldar), R(4), |
109 /* 16 S> */ B(Return), | 103 /* 16 S> */ B(Return), |
110 B(Ldar), R(4), | 104 B(Ldar), R(4), |
111 B(ReThrow), | 105 B(ReThrow), |
112 B(LdaUndefined), | 106 B(LdaUndefined), |
113 /* 16 S> */ B(Return), | 107 /* 16 S> */ B(Return), |
114 ] | 108 ] |
115 constant pool: [ | 109 constant pool: [ |
116 ] | 110 ] |
117 handlers: [ | 111 handlers: [ |
118 [46, 143, 149], | 112 [41, 131, 137], |
119 ] | 113 ] |
120 | 114 |
121 --- | 115 --- |
122 snippet: " | 116 snippet: " |
123 function* f() { yield 42 } | 117 function* f() { yield 42 } |
124 f(); | 118 f(); |
125 " | 119 " |
126 frame size: 12 | 120 frame size: 13 |
127 parameter count: 1 | 121 parameter count: 1 |
128 bytecode array length: 299 | 122 bytecode array length: 283 |
129 bytecodes: [ | 123 bytecodes: [ |
130 B(Ldar), R(new_target), | 124 B(Ldar), R(new_target), |
131 B(JumpIfUndefined), U8(35), | 125 B(JumpIfUndefined), U8(35), |
132 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe
t), U8(1), | 126 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe
t), U8(1), |
133 B(PushContext), R(2), | 127 B(PushContext), R(2), |
134 B(ResumeGenerator), R(new_target), | 128 B(ResumeGenerator), R(new_target), |
135 B(Star), R(1), | 129 B(Star), R(1), |
136 B(LdaZero), | 130 B(LdaZero), |
137 B(TestEqualStrict), R(1), U8(0), | 131 B(TestEqualStrict), R(1), U8(0), |
138 B(JumpIfTrue), U8(60), | 132 B(JumpIfTrue), U8(48), |
139 B(LdaSmi), I8(1), | 133 B(LdaSmi), I8(1), |
140 B(TestEqualStrict), R(1), U8(0), | 134 B(TestEqualStrict), R(1), U8(0), |
141 B(JumpIfTrue), U8(130), | 135 B(JumpIfTrue), U8(114), |
142 B(LdaSmi), I8(78), | 136 B(LdaSmi), I8(78), |
143 B(Star), R(3), | 137 B(Star), R(3), |
144 B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1), | 138 B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1), |
145 B(LdaSmi), I8(-2), | 139 B(LdaSmi), I8(-2), |
| 140 /* 11 E> */ B(StackCheck), |
146 B(Star), R(1), | 141 B(Star), R(1), |
147 B(CreateFunctionContext), U8(2), | 142 B(LdaUndefined), |
148 B(PushContext), R(0), | 143 B(Star), R(0), |
149 B(Ldar), R(this), | |
150 B(StaCurrentContextSlot), U8(4), | |
151 /* 11 E> */ B(StackCheck), | |
152 B(Mov), R(context), R(5), | 144 B(Mov), R(context), R(5), |
153 B(LdaCurrentContextSlot), U8(4), | |
154 B(Star), R(7), | |
155 B(Mov), R(closure), R(6), | 145 B(Mov), R(closure), R(6), |
| 146 B(Mov), R(this), R(7), |
156 /* 11 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(6), U8
(2), | 147 /* 11 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(6), U8
(2), |
157 B(StaCurrentContextSlot), U8(5), | 148 B(Star), R(0), |
158 B(Star), R(6), | |
159 B(LdaCurrentContextSlot), U8(5), | |
160 B(Star), R(7), | |
161 B(LdaZero), | 149 B(LdaZero), |
162 B(SuspendGenerator), R(7), | 150 B(SuspendGenerator), R(0), |
163 B(Ldar), R(6), | 151 B(Ldar), R(0), |
164 /* 25 S> */ B(Return), | 152 /* 25 S> */ B(Return), |
165 B(LdaSmi), I8(-2), | 153 B(LdaSmi), I8(-2), |
166 B(Star), R(1), | 154 B(Star), R(1), |
167 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(7
), U8(1), | 155 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(0
), U8(1), |
168 B(Star), R(8), | 156 B(Star), R(8), |
169 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(7), U8
(1), | 157 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(0), U8
(1), |
170 B(Star), R(9), | 158 B(Star), R(9), |
171 B(LdaZero), | 159 B(LdaZero), |
172 B(TestEqualStrict), R(9), U8(0), | 160 B(TestEqualStrict), R(9), U8(0), |
173 B(JumpIfTrue), U8(31), | 161 B(JumpIfTrue), U8(31), |
174 B(LdaSmi), I8(2), | 162 B(LdaSmi), I8(2), |
175 B(TestEqualStrict), R(9), U8(0), | 163 B(TestEqualStrict), R(9), U8(0), |
176 B(JumpIfTrue), U8(21), | 164 B(JumpIfTrue), U8(21), |
177 B(Jump), U8(2), | 165 B(Jump), U8(2), |
178 B(LdaTrue), | 166 B(LdaTrue), |
179 B(Star), R(11), | 167 B(Star), R(11), |
180 B(Mov), R(8), R(10), | 168 B(Mov), R(8), R(10), |
181 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(10)
, U8(2), | 169 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(10)
, U8(2), |
182 B(Star), R(4), | 170 B(Star), R(4), |
183 B(LdaZero), | 171 B(LdaZero), |
184 B(Star), R(3), | 172 B(Star), R(3), |
185 B(Jump), U8(113), | 173 B(Jump), U8(109), |
186 B(Ldar), R(8), | 174 B(Ldar), R(8), |
187 /* 11 E> */ B(Throw), | 175 /* 11 E> */ B(Throw), |
188 /* 16 S> */ B(LdaSmi), I8(42), | 176 /* 16 S> */ B(LdaSmi), I8(42), |
189 B(Star), R(6), | 177 B(Star), R(8), |
190 B(LdaFalse), | 178 B(LdaFalse), |
191 B(Star), R(7), | 179 B(Star), R(9), |
192 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(6),
U8(2), | 180 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(8),
U8(2), |
193 B(Star), R(6), | 181 B(Star), R(8), |
194 B(LdaCurrentContextSlot), U8(5), | |
195 B(Star), R(7), | |
196 B(LdaSmi), I8(1), | 182 B(LdaSmi), I8(1), |
197 B(SuspendGenerator), R(7), | 183 B(SuspendGenerator), R(0), |
198 B(Ldar), R(6), | 184 B(Ldar), R(8), |
199 /* 25 S> */ B(Return), | 185 /* 25 S> */ B(Return), |
200 B(LdaSmi), I8(-2), | 186 B(LdaSmi), I8(-2), |
201 B(Star), R(1), | 187 B(Star), R(1), |
202 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(7
), U8(1), | 188 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(0
), U8(1), |
203 B(Star), R(8), | |
204 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(7), U8
(1), | |
205 B(Star), R(9), | 189 B(Star), R(9), |
| 190 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(0), U8
(1), |
| 191 B(Star), R(10), |
206 B(LdaZero), | 192 B(LdaZero), |
207 B(TestEqualStrict), R(9), U8(0), | 193 B(TestEqualStrict), R(10), U8(0), |
208 B(JumpIfTrue), U8(32), | 194 B(JumpIfTrue), U8(32), |
209 B(LdaSmi), I8(2), | 195 B(LdaSmi), I8(2), |
210 B(TestEqualStrict), R(9), U8(0), | 196 B(TestEqualStrict), R(10), U8(0), |
211 B(JumpIfTrue), U8(22), | 197 B(JumpIfTrue), U8(22), |
212 B(Jump), U8(2), | 198 B(Jump), U8(2), |
213 B(LdaTrue), | 199 B(LdaTrue), |
214 B(Star), R(11), | 200 B(Star), R(12), |
215 B(Mov), R(8), R(10), | 201 B(Mov), R(9), R(11), |
216 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(10)
, U8(2), | 202 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(11)
, U8(2), |
217 B(Star), R(4), | 203 B(Star), R(4), |
218 B(LdaSmi), I8(1), | 204 B(LdaSmi), I8(1), |
219 B(Star), R(3), | 205 B(Star), R(3), |
220 B(Jump), U8(35), | 206 B(Jump), U8(35), |
221 B(Ldar), R(8), | 207 B(Ldar), R(9), |
222 /* 16 E> */ B(Throw), | 208 /* 16 E> */ B(Throw), |
223 B(LdaUndefined), | 209 B(LdaUndefined), |
224 B(Star), R(6), | 210 B(Star), R(6), |
225 B(LdaTrue), | 211 B(LdaTrue), |
226 B(Star), R(7), | 212 B(Star), R(7), |
227 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(6),
U8(2), | 213 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(6),
U8(2), |
228 B(Star), R(4), | 214 B(Star), R(4), |
229 B(LdaSmi), I8(2), | 215 B(LdaSmi), I8(2), |
230 B(Star), R(3), | 216 B(Star), R(3), |
231 B(Jump), U8(14), | 217 B(Jump), U8(14), |
232 B(LdaSmi), I8(-1), | 218 B(LdaSmi), I8(-1), |
233 B(Star), R(3), | 219 B(Star), R(3), |
234 B(Jump), U8(8), | 220 B(Jump), U8(8), |
235 B(Star), R(4), | 221 B(Star), R(4), |
236 B(LdaSmi), I8(3), | 222 B(LdaSmi), I8(3), |
237 B(Star), R(3), | 223 B(Star), R(3), |
238 B(LdaTheHole), | 224 B(LdaTheHole), |
239 B(SetPendingMessage), | 225 B(SetPendingMessage), |
240 B(Star), R(5), | 226 B(Star), R(5), |
241 B(LdaCurrentContextSlot), U8(5), | 227 B(Ldar), R(0), |
242 B(Star), R(6), | 228 B(JumpIfUndefined), U8(7), |
243 B(CallRuntime), U16(Runtime::k_GeneratorClose), R(6), U8(1), | 229 B(CallRuntime), U16(Runtime::k_GeneratorClose), R(0), U8(1), |
244 B(Ldar), R(5), | 230 B(Ldar), R(5), |
245 B(SetPendingMessage), | 231 B(SetPendingMessage), |
246 B(LdaZero), | 232 B(LdaZero), |
247 B(TestEqualStrict), R(3), U8(0), | 233 B(TestEqualStrict), R(3), U8(0), |
248 B(JumpIfTrue), U8(25), | 234 B(JumpIfTrue), U8(25), |
249 B(LdaSmi), I8(1), | 235 B(LdaSmi), I8(1), |
250 B(TestEqualStrict), R(3), U8(0), | 236 B(TestEqualStrict), R(3), U8(0), |
251 B(JumpIfTrue), U8(21), | 237 B(JumpIfTrue), U8(21), |
252 B(LdaSmi), I8(2), | 238 B(LdaSmi), I8(2), |
253 B(TestEqualStrict), R(3), U8(0), | 239 B(TestEqualStrict), R(3), U8(0), |
254 B(JumpIfTrue), U8(17), | 240 B(JumpIfTrue), U8(17), |
255 B(LdaSmi), I8(3), | 241 B(LdaSmi), I8(3), |
256 B(TestEqualStrict), R(3), U8(0), | 242 B(TestEqualStrict), R(3), U8(0), |
257 B(JumpIfTrue), U8(13), | 243 B(JumpIfTrue), U8(13), |
258 B(Jump), U8(14), | 244 B(Jump), U8(14), |
259 B(Ldar), R(4), | 245 B(Ldar), R(4), |
260 /* 25 S> */ B(Return), | 246 /* 25 S> */ B(Return), |
261 B(Ldar), R(4), | 247 B(Ldar), R(4), |
262 /* 25 S> */ B(Return), | 248 /* 25 S> */ B(Return), |
263 B(Ldar), R(4), | 249 B(Ldar), R(4), |
264 /* 25 S> */ B(Return), | 250 /* 25 S> */ B(Return), |
265 B(Ldar), R(4), | 251 B(Ldar), R(4), |
266 B(ReThrow), | 252 B(ReThrow), |
267 B(LdaUndefined), | 253 B(LdaUndefined), |
268 /* 25 S> */ B(Return), | 254 /* 25 S> */ B(Return), |
269 ] | 255 ] |
270 constant pool: [ | 256 constant pool: [ |
271 ] | 257 ] |
272 handlers: [ | 258 handlers: [ |
273 [53, 228, 234], | 259 [48, 212, 218], |
274 ] | 260 ] |
275 | 261 |
276 --- | 262 --- |
277 snippet: " | 263 snippet: " |
278 function* f() { for (let x of [42]) yield x } | 264 function* f() { for (let x of [42]) yield x } |
279 f(); | 265 f(); |
280 " | 266 " |
281 frame size: 18 | 267 frame size: 20 |
282 parameter count: 1 | 268 parameter count: 1 |
283 bytecode array length: 775 | 269 bytecode array length: 757 |
284 bytecodes: [ | 270 bytecodes: [ |
285 B(Ldar), R(new_target), | 271 B(Ldar), R(new_target), |
286 B(JumpIfUndefined), U8(35), | 272 B(JumpIfUndefined), U8(35), |
287 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe
t), U8(1), | 273 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe
t), U8(1), |
288 B(PushContext), R(4), | 274 B(PushContext), R(5), |
289 B(ResumeGenerator), R(new_target), | 275 B(ResumeGenerator), R(new_target), |
| 276 B(Star), R(4), |
| 277 B(LdaZero), |
| 278 B(TestEqualStrict), R(4), U8(0), |
| 279 B(JumpIfTrue), U8(52), |
| 280 B(LdaSmi), I8(1), |
| 281 B(TestEqualStrict), R(4), U8(0), |
| 282 B(JumpIfTrue), U8(146), |
| 283 B(LdaSmi), I8(78), |
| 284 B(Star), R(6), |
| 285 B(CallRuntime), U16(Runtime::kAbort), R(6), U8(1), |
| 286 B(LdaSmi), I8(-2), |
| 287 B(Star), R(4), |
| 288 B(CreateFunctionContext), U8(7), |
| 289 B(PushContext), R(0), |
| 290 /* 11 E> */ B(StackCheck), |
| 291 B(LdaUndefined), |
| 292 B(Star), R(3), |
| 293 B(Mov), R(context), R(8), |
| 294 B(Mov), R(closure), R(9), |
| 295 B(Mov), R(this), R(10), |
| 296 /* 11 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(9), U8
(2), |
290 B(Star), R(3), | 297 B(Star), R(3), |
291 B(LdaZero), | 298 B(LdaZero), |
292 B(TestEqualStrict), R(3), U8(0), | 299 B(SuspendGenerator), R(3), |
293 B(JumpIfTrue), U8(60), | 300 B(Ldar), R(3), |
294 B(LdaSmi), I8(1), | |
295 B(TestEqualStrict), R(3), U8(0), | |
296 B(JumpIfTrue), U8(154), | |
297 B(LdaSmi), I8(78), | |
298 B(Star), R(5), | |
299 B(CallRuntime), U16(Runtime::kAbort), R(5), U8(1), | |
300 B(LdaSmi), I8(-2), | |
301 B(Star), R(3), | |
302 B(CreateFunctionContext), U8(9), | |
303 B(PushContext), R(0), | |
304 B(Ldar), R(this), | |
305 B(StaCurrentContextSlot), U8(4), | |
306 /* 11 E> */ B(StackCheck), | |
307 B(Mov), R(context), R(7), | |
308 B(LdaCurrentContextSlot), U8(4), | |
309 B(Star), R(9), | |
310 B(Mov), R(closure), R(8), | |
311 /* 11 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(8), U8
(2), | |
312 B(StaCurrentContextSlot), U8(5), | |
313 B(Star), R(8), | |
314 B(LdaCurrentContextSlot), U8(5), | |
315 B(Star), R(9), | |
316 B(LdaZero), | |
317 B(SuspendGenerator), R(9), | |
318 B(Ldar), R(8), | |
319 /* 44 S> */ B(Return), | 301 /* 44 S> */ B(Return), |
320 B(LdaSmi), I8(-2), | 302 B(LdaSmi), I8(-2), |
321 B(Star), R(3), | 303 B(Star), R(4), |
322 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(9
), U8(1), | 304 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(3
), U8(1), |
323 B(Star), R(10), | |
324 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(9), U8
(1), | |
325 B(Star), R(11), | 305 B(Star), R(11), |
| 306 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(3), U8
(1), |
| 307 B(Star), R(12), |
326 B(LdaZero), | 308 B(LdaZero), |
327 B(TestEqualStrict), R(11), U8(0), | 309 B(TestEqualStrict), R(12), U8(0), |
328 B(JumpIfTrue), U8(31), | 310 B(JumpIfTrue), U8(31), |
329 B(LdaSmi), I8(2), | 311 B(LdaSmi), I8(2), |
330 B(TestEqualStrict), R(11), U8(0), | 312 B(TestEqualStrict), R(12), U8(0), |
331 B(JumpIfTrue), U8(21), | 313 B(JumpIfTrue), U8(21), |
332 B(Jump), U8(2), | 314 B(Jump), U8(2), |
333 B(LdaTrue), | 315 B(LdaTrue), |
334 B(Star), R(13), | 316 B(Star), R(14), |
335 B(Mov), R(10), R(12), | 317 B(Mov), R(11), R(13), |
336 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(12)
, U8(2), | 318 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(13)
, U8(2), |
| 319 B(Star), R(7), |
| 320 B(LdaZero), |
337 B(Star), R(6), | 321 B(Star), R(6), |
338 B(LdaZero), | |
339 B(Star), R(5), | |
340 B(JumpConstant), U8(13), | 322 B(JumpConstant), U8(13), |
341 B(Ldar), R(10), | 323 B(Ldar), R(11), |
342 /* 11 E> */ B(Throw), | 324 /* 11 E> */ B(Throw), |
343 B(Ldar), R(closure), | 325 B(Ldar), R(closure), |
344 B(CreateBlockContext), U8(0), | 326 B(CreateBlockContext), U8(0), |
345 B(PushContext), R(1), | 327 B(PushContext), R(1), |
346 B(LdaTheHole), | 328 B(LdaTheHole), |
347 B(StaCurrentContextSlot), U8(4), | 329 B(StaCurrentContextSlot), U8(4), |
348 B(LdaZero), | 330 B(LdaZero), |
349 B(StaContextSlot), R(1), U8(9), U8(0), | 331 B(StaContextSlot), R(1), U8(7), U8(0), |
350 B(Mov), R(context), R(10), | 332 B(Mov), R(context), R(13), |
351 B(Mov), R(context), R(11), | 333 B(Mov), R(context), R(14), |
352 /* 30 S> */ B(CreateArrayLiteral), U8(1), U8(2), U8(9), | 334 /* 30 S> */ B(CreateArrayLiteral), U8(1), U8(2), U8(9), |
353 B(Star), R(12), | 335 B(Star), R(15), |
354 B(LdaNamedProperty), R(12), U8(2), U8(3), | 336 B(LdaNamedProperty), R(15), U8(2), U8(3), |
355 B(Star), R(13), | 337 B(Star), R(16), |
356 B(CallProperty), R(13), R(12), U8(1), U8(5), | 338 B(CallProperty), R(16), R(15), U8(1), U8(5), |
357 B(JumpIfJSReceiver), U8(7), | 339 B(JumpIfJSReceiver), U8(7), |
358 B(CallRuntime), U16(Runtime::kThrowSymbolIteratorInvalid), R(0),
U8(0), | 340 B(CallRuntime), U16(Runtime::kThrowSymbolIteratorInvalid), R(0),
U8(0), |
359 /* 30 E> */ B(StaContextSlot), R(1), U8(7), U8(0), | 341 /* 30 E> */ B(StaContextSlot), R(1), U8(5), U8(0), |
360 B(LdaSmi), I8(-2), | 342 B(LdaSmi), I8(-2), |
361 B(TestEqual), R(3), U8(0), | 343 B(TestEqual), R(4), U8(0), |
362 B(JumpIfTrue), U8(18), | 344 B(JumpIfTrue), U8(18), |
363 B(LdaSmi), I8(1), | 345 B(LdaSmi), I8(1), |
364 B(TestEqualStrict), R(3), U8(0), | 346 B(TestEqualStrict), R(4), U8(0), |
365 B(JumpIfTrue), U8(134), | 347 B(JumpIfTrue), U8(128), |
366 B(LdaSmi), I8(78), | 348 B(LdaSmi), I8(78), |
367 B(Star), R(12), | 349 B(Star), R(15), |
368 B(CallRuntime), U16(Runtime::kAbort), R(12), U8(1), | 350 B(CallRuntime), U16(Runtime::kAbort), R(15), U8(1), |
369 /* 27 S> */ B(LdaContextSlot), R(1), U8(7), U8(0), | 351 /* 27 S> */ B(LdaContextSlot), R(1), U8(5), U8(0), |
370 B(Star), R(13), | 352 B(Star), R(16), |
371 B(LdaNamedProperty), R(13), U8(3), U8(9), | 353 B(LdaNamedProperty), R(16), U8(3), U8(9), |
372 B(Star), R(12), | 354 B(Star), R(15), |
373 /* 27 E> */ B(CallProperty), R(12), R(13), U8(1), U8(7), | 355 /* 27 E> */ B(CallProperty), R(15), R(16), U8(1), U8(7), |
374 /* 27 E> */ B(StaContextSlot), R(1), U8(8), U8(0), | 356 /* 27 E> */ B(StaContextSlot), R(1), U8(6), U8(0), |
375 B(Star), R(12), | 357 B(Star), R(15), |
376 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(12), U8(1), | 358 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(15), U8(1), |
377 B(ToBooleanLogicalNot), | 359 B(ToBooleanLogicalNot), |
378 B(JumpIfFalse), U8(13), | 360 B(JumpIfFalse), U8(13), |
| 361 B(LdaContextSlot), R(1), U8(6), U8(0), |
| 362 B(Star), R(15), |
| 363 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R
(15), U8(1), |
| 364 B(LdaContextSlot), R(1), U8(6), U8(0), |
| 365 B(Star), R(15), |
| 366 B(LdaNamedProperty), R(15), U8(4), U8(11), |
| 367 B(JumpIfToBooleanTrue), U8(141), |
| 368 B(LdaContextSlot), R(1), U8(6), U8(0), |
| 369 B(Star), R(15), |
| 370 B(LdaNamedProperty), R(15), U8(5), U8(13), |
| 371 B(StaContextSlot), R(1), U8(8), U8(0), |
| 372 B(LdaSmi), I8(2), |
| 373 B(StaContextSlot), R(1), U8(7), U8(0), |
379 B(LdaContextSlot), R(1), U8(8), U8(0), | 374 B(LdaContextSlot), R(1), U8(8), U8(0), |
380 B(Star), R(12), | 375 B(StaContextSlot), R(1), U8(4), U8(0), |
381 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R
(12), U8(1), | |
382 B(LdaContextSlot), R(1), U8(8), U8(0), | |
383 B(Star), R(12), | |
384 B(LdaNamedProperty), R(12), U8(4), U8(11), | |
385 B(JumpIfToBooleanTrue), U8(147), | |
386 B(LdaContextSlot), R(1), U8(8), U8(0), | |
387 B(Star), R(12), | |
388 B(LdaNamedProperty), R(12), U8(5), U8(13), | |
389 B(StaContextSlot), R(1), U8(10), U8(0), | |
390 B(LdaSmi), I8(2), | |
391 B(StaContextSlot), R(1), U8(9), U8(0), | |
392 B(LdaContextSlot), R(1), U8(10), U8(0), | |
393 B(StaContextSlot), R(1), U8(6), U8(0), | |
394 /* 16 E> */ B(StackCheck), | 376 /* 16 E> */ B(StackCheck), |
395 B(Ldar), R(closure), | 377 B(Ldar), R(closure), |
396 B(CreateBlockContext), U8(6), | 378 B(CreateBlockContext), U8(6), |
397 B(PushContext), R(2), | 379 B(PushContext), R(2), |
398 B(LdaTheHole), | 380 B(LdaTheHole), |
399 B(StaCurrentContextSlot), U8(4), | 381 B(StaCurrentContextSlot), U8(4), |
400 B(LdaContextSlot), R(1), U8(6), U8(0), | 382 B(LdaContextSlot), R(1), U8(4), U8(0), |
401 B(StaCurrentContextSlot), U8(4), | 383 B(StaCurrentContextSlot), U8(4), |
402 /* 36 S> */ B(LdaCurrentContextSlot), U8(4), | 384 /* 36 S> */ B(LdaCurrentContextSlot), U8(4), |
403 B(Star), R(12), | 385 B(Star), R(15), |
404 B(LdaFalse), | 386 B(LdaFalse), |
405 B(Star), R(13), | 387 B(Star), R(16), |
406 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(12)
, U8(2), | 388 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(15)
, U8(2), |
407 B(Star), R(12), | 389 B(Star), R(15), |
408 B(LdaContextSlot), R(1), U8(5), U8(0), | 390 B(LdaSmi), I8(1), |
409 B(Star), R(13), | 391 B(SuspendGenerator), R(3), |
410 B(LdaSmi), I8(1), | 392 B(Ldar), R(15), |
411 B(SuspendGenerator), R(13), | |
412 B(Ldar), R(12), | |
413 /* 44 S> */ B(Return), | 393 /* 44 S> */ B(Return), |
414 B(LdaSmi), I8(-2), | 394 B(LdaSmi), I8(-2), |
415 B(Star), R(3), | 395 B(Star), R(4), |
416 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(1
3), U8(1), | 396 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(3
), U8(1), |
417 B(Star), R(14), | 397 B(Star), R(16), |
418 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(13), U
8(1), | 398 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(3), U8
(1), |
419 B(Star), R(15), | 399 B(Star), R(17), |
420 B(LdaZero), | 400 B(LdaZero), |
421 B(TestEqualStrict), R(15), U8(0), | 401 B(TestEqualStrict), R(17), U8(0), |
422 B(JumpIfTrue), U8(43), | 402 B(JumpIfTrue), U8(43), |
423 B(LdaSmi), I8(2), | 403 B(LdaSmi), I8(2), |
424 B(TestEqualStrict), R(15), U8(0), | 404 B(TestEqualStrict), R(17), U8(0), |
425 B(JumpIfTrue), U8(33), | 405 B(JumpIfTrue), U8(33), |
426 B(Jump), U8(2), | 406 B(Jump), U8(2), |
427 B(LdaTrue), | 407 B(LdaTrue), |
428 B(Star), R(17), | 408 B(Star), R(19), |
429 B(Mov), R(14), R(16), | 409 B(Mov), R(16), R(18), |
430 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(16)
, U8(2), | 410 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(18)
, U8(2), |
431 B(PopContext), R(2), | 411 B(PopContext), R(2), |
432 B(PopContext), R(2), | 412 B(PopContext), R(2), |
433 B(PopContext), R(2), | 413 B(PopContext), R(2), |
434 B(PopContext), R(2), | 414 B(PopContext), R(2), |
435 B(PopContext), R(2), | 415 B(PopContext), R(2), |
436 B(PopContext), R(2), | 416 B(PopContext), R(2), |
437 B(Star), R(9), | 417 B(Star), R(12), |
438 B(LdaZero), | 418 B(LdaZero), |
439 B(Star), R(8), | 419 B(Star), R(11), |
440 B(Jump), U8(71), | 420 B(Jump), U8(71), |
441 B(Ldar), R(14), | 421 B(Ldar), R(16), |
442 /* 36 E> */ B(Throw), | 422 /* 36 E> */ B(Throw), |
443 B(PopContext), R(2), | 423 B(PopContext), R(2), |
444 B(LdaZero), | 424 B(LdaZero), |
| 425 B(StaContextSlot), R(1), U8(7), U8(0), |
| 426 B(JumpLoop), U8(212), I8(0), |
| 427 B(Jump), U8(44), |
| 428 B(Star), R(15), |
| 429 B(Ldar), R(closure), |
| 430 B(CreateCatchContext), R(15), U8(7), U8(8), |
| 431 B(Star), R(14), |
| 432 B(PushContext), R(2), |
| 433 B(LdaContextSlot), R(1), U8(7), U8(0), |
| 434 B(Star), R(15), |
| 435 B(LdaSmi), I8(2), |
| 436 B(TestEqualStrict), R(15), U8(15), |
| 437 B(JumpIfFalse), U8(8), |
| 438 B(LdaSmi), I8(1), |
| 439 B(StaContextSlot), R(1), U8(7), U8(0), |
| 440 B(LdaCurrentContextSlot), U8(4), |
| 441 B(Star), R(15), |
| 442 B(CallRuntime), U16(Runtime::kReThrow), R(15), U8(1), |
| 443 B(PopContext), R(2), |
| 444 B(LdaSmi), I8(-1), |
| 445 B(Star), R(11), |
| 446 B(Jump), U8(8), |
| 447 B(Star), R(12), |
| 448 B(LdaSmi), I8(1), |
| 449 B(Star), R(11), |
| 450 B(LdaTheHole), |
| 451 B(SetPendingMessage), |
| 452 B(Star), R(13), |
| 453 B(LdaContextSlot), R(1), U8(7), U8(0), |
| 454 B(Star), R(14), |
| 455 B(LdaZero), |
| 456 B(TestEqualStrict), R(14), U8(16), |
| 457 B(JumpIfTrue), U8(159), |
| 458 B(LdaContextSlot), R(1), U8(5), U8(0), |
| 459 B(Star), R(14), |
| 460 B(LdaNamedProperty), R(14), U8(9), U8(17), |
445 B(StaContextSlot), R(1), U8(9), U8(0), | 461 B(StaContextSlot), R(1), U8(9), U8(0), |
446 B(JumpLoop), U8(218), I8(0), | 462 B(LdaContextSlot), R(1), U8(9), U8(0), |
447 B(Jump), U8(44), | 463 B(Star), R(14), |
448 B(Star), R(12), | 464 B(TestUndetectable), R(14), |
449 B(Ldar), R(closure), | |
450 B(CreateCatchContext), R(12), U8(7), U8(8), | |
451 B(Star), R(11), | |
452 B(PushContext), R(2), | |
453 B(LdaContextSlot), R(1), U8(9), U8(0), | |
454 B(Star), R(12), | |
455 B(LdaSmi), I8(2), | |
456 B(TestEqualStrict), R(12), U8(15), | |
457 B(JumpIfFalse), U8(8), | |
458 B(LdaSmi), I8(1), | |
459 B(StaContextSlot), R(1), U8(9), U8(0), | |
460 B(LdaCurrentContextSlot), U8(4), | |
461 B(Star), R(12), | |
462 B(CallRuntime), U16(Runtime::kReThrow), R(12), U8(1), | |
463 B(PopContext), R(2), | |
464 B(LdaSmi), I8(-1), | |
465 B(Star), R(8), | |
466 B(Jump), U8(8), | |
467 B(Star), R(9), | |
468 B(LdaSmi), I8(1), | |
469 B(Star), R(8), | |
470 B(LdaTheHole), | |
471 B(SetPendingMessage), | |
472 B(Star), R(10), | |
473 B(LdaContextSlot), R(1), U8(9), U8(0), | |
474 B(Star), R(11), | |
475 B(LdaZero), | |
476 B(TestEqualStrict), R(11), U8(16), | |
477 B(JumpIfTrue), U8(159), | |
478 B(LdaContextSlot), R(1), U8(7), U8(0), | |
479 B(Star), R(11), | |
480 B(LdaNamedProperty), R(11), U8(9), U8(17), | |
481 B(StaContextSlot), R(1), U8(11), U8(0), | |
482 B(LdaContextSlot), R(1), U8(11), U8(0), | |
483 B(Star), R(11), | |
484 B(TestUndetectable), R(11), | |
485 B(JumpIfFalse), U8(4), | 465 B(JumpIfFalse), U8(4), |
486 B(Jump), U8(133), | 466 B(Jump), U8(133), |
487 B(LdaContextSlot), R(1), U8(9), U8(0), | 467 B(LdaContextSlot), R(1), U8(7), U8(0), |
488 B(Star), R(11), | 468 B(Star), R(14), |
489 B(LdaSmi), I8(1), | 469 B(LdaSmi), I8(1), |
490 B(TestEqualStrict), R(11), U8(20), | 470 B(TestEqualStrict), R(14), U8(20), |
491 B(JumpIfFalse), U8(75), | 471 B(JumpIfFalse), U8(75), |
492 B(LdaContextSlot), R(1), U8(11), U8(0), | 472 B(LdaContextSlot), R(1), U8(9), U8(0), |
493 B(TypeOf), | 473 B(TypeOf), |
494 B(Star), R(11), | 474 B(Star), R(14), |
495 B(LdaConstant), U8(10), | 475 B(LdaConstant), U8(10), |
496 B(TestEqualStrict), R(11), U8(21), | 476 B(TestEqualStrict), R(14), U8(21), |
497 B(JumpIfFalse), U8(4), | 477 B(JumpIfFalse), U8(4), |
498 B(Jump), U8(18), | 478 B(Jump), U8(18), |
499 B(Wide), B(LdaSmi), I16(130), | 479 B(Wide), B(LdaSmi), I16(130), |
500 B(Star), R(11), | 480 B(Star), R(14), |
501 B(LdaConstant), U8(11), | 481 B(LdaConstant), U8(11), |
502 B(Star), R(12), | 482 B(Star), R(15), |
503 B(CallRuntime), U16(Runtime::kNewTypeError), R(11), U8(2), | 483 B(CallRuntime), U16(Runtime::kNewTypeError), R(14), U8(2), |
504 B(Throw), | 484 B(Throw), |
505 B(Mov), R(context), R(11), | 485 B(Mov), R(context), R(14), |
506 B(LdaContextSlot), R(1), U8(11), U8(0), | 486 B(LdaContextSlot), R(1), U8(9), U8(0), |
507 B(Star), R(12), | 487 B(Star), R(15), |
508 B(LdaContextSlot), R(1), U8(7), U8(0), | 488 B(LdaContextSlot), R(1), U8(5), U8(0), |
509 B(Star), R(13), | 489 B(Star), R(16), |
510 B(InvokeIntrinsic), U8(Runtime::k_Call), R(12), U8(2), | 490 B(InvokeIntrinsic), U8(Runtime::k_Call), R(15), U8(2), |
511 B(Jump), U8(20), | 491 B(Jump), U8(20), |
512 B(Star), R(12), | 492 B(Star), R(15), |
513 B(Ldar), R(closure), | 493 B(Ldar), R(closure), |
514 B(CreateCatchContext), R(12), U8(7), U8(12), | 494 B(CreateCatchContext), R(15), U8(7), U8(12), |
515 B(Star), R(11), | 495 B(Star), R(14), |
516 B(LdaTheHole), | 496 B(LdaTheHole), |
517 B(SetPendingMessage), | 497 B(SetPendingMessage), |
518 B(Ldar), R(11), | 498 B(Ldar), R(14), |
519 B(PushContext), R(2), | 499 B(PushContext), R(2), |
520 B(PopContext), R(2), | 500 B(PopContext), R(2), |
521 B(Jump), U8(47), | 501 B(Jump), U8(47), |
522 B(LdaContextSlot), R(1), U8(11), U8(0), | 502 B(LdaContextSlot), R(1), U8(9), U8(0), |
523 B(Star), R(11), | 503 B(Star), R(14), |
524 B(LdaContextSlot), R(1), U8(7), U8(0), | 504 B(LdaContextSlot), R(1), U8(5), U8(0), |
525 B(Star), R(12), | 505 B(Star), R(15), |
526 B(InvokeIntrinsic), U8(Runtime::k_Call), R(11), U8(2), | 506 B(InvokeIntrinsic), U8(Runtime::k_Call), R(14), U8(2), |
527 B(StaContextSlot), R(1), U8(12), U8(0), | 507 B(StaContextSlot), R(1), U8(10), U8(0), |
528 B(LdaContextSlot), R(1), U8(12), U8(0), | 508 B(LdaContextSlot), R(1), U8(10), U8(0), |
529 B(Star), R(11), | 509 B(Star), R(14), |
530 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(11), U8(1), | 510 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(14), U8(1), |
531 B(JumpIfToBooleanFalse), U8(4), | 511 B(JumpIfToBooleanFalse), U8(4), |
532 B(Jump), U8(13), | 512 B(Jump), U8(13), |
533 B(LdaContextSlot), R(1), U8(12), U8(0), | 513 B(LdaContextSlot), R(1), U8(10), U8(0), |
534 B(Star), R(11), | 514 B(Star), R(14), |
535 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R
(11), U8(1), | 515 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R
(14), U8(1), |
536 B(Ldar), R(10), | 516 B(Ldar), R(13), |
537 B(SetPendingMessage), | 517 B(SetPendingMessage), |
538 B(LdaZero), | 518 B(LdaZero), |
539 B(TestEqualStrict), R(8), U8(0), | 519 B(TestEqualStrict), R(11), U8(0), |
540 B(JumpIfTrue), U8(11), | 520 B(JumpIfTrue), U8(11), |
541 B(LdaSmi), I8(1), | 521 B(LdaSmi), I8(1), |
542 B(TestEqualStrict), R(8), U8(0), | 522 B(TestEqualStrict), R(11), U8(0), |
543 B(JumpIfTrue), U8(17), | 523 B(JumpIfTrue), U8(15), |
544 B(Jump), U8(28), | 524 B(Jump), U8(24), |
545 B(PopContext), R(1), | 525 B(PopContext), R(1), |
| 526 B(LdaSmi), I8(1), |
| 527 B(Star), R(6), |
| 528 B(Mov), R(12), R(7), |
| 529 B(Jump), U8(45), |
546 B(PopContext), R(1), | 530 B(PopContext), R(1), |
547 B(LdaSmi), I8(1), | 531 B(LdaSmi), I8(2), |
548 B(Star), R(5), | 532 B(Star), R(6), |
549 B(Mov), R(9), R(6), | 533 B(Mov), R(12), R(7), |
550 B(Jump), U8(47), | |
551 B(PopContext), R(1), | |
552 B(PopContext), R(1), | |
553 B(LdaSmi), I8(2), | |
554 B(Star), R(5), | |
555 B(Mov), R(9), R(6), | |
556 B(Jump), U8(34), | 534 B(Jump), U8(34), |
557 B(PopContext), R(1), | 535 B(PopContext), R(1), |
558 B(LdaUndefined), | 536 B(LdaUndefined), |
559 B(Star), R(8), | 537 B(Star), R(9), |
560 B(LdaTrue), | 538 B(LdaTrue), |
561 B(Star), R(9), | 539 B(Star), R(10), |
562 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(8),
U8(2), | 540 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(9),
U8(2), |
563 B(Star), R(6), | 541 B(Star), R(7), |
564 B(LdaSmi), I8(3), | 542 B(LdaSmi), I8(3), |
565 B(Star), R(5), | 543 B(Star), R(6), |
566 B(Jump), U8(14), | 544 B(Jump), U8(14), |
567 B(LdaSmi), I8(-1), | 545 B(LdaSmi), I8(-1), |
568 B(Star), R(5), | 546 B(Star), R(6), |
569 B(Jump), U8(8), | 547 B(Jump), U8(8), |
570 B(Star), R(6), | 548 B(Star), R(7), |
571 B(LdaSmi), I8(4), | 549 B(LdaSmi), I8(4), |
572 B(Star), R(5), | 550 B(Star), R(6), |
573 B(LdaTheHole), | 551 B(LdaTheHole), |
574 B(SetPendingMessage), | 552 B(SetPendingMessage), |
575 B(Star), R(7), | |
576 B(LdaCurrentContextSlot), U8(5), | |
577 B(Star), R(8), | 553 B(Star), R(8), |
578 B(CallRuntime), U16(Runtime::k_GeneratorClose), R(8), U8(1), | 554 B(Ldar), R(3), |
579 B(Ldar), R(7), | 555 B(JumpIfUndefined), U8(7), |
580 B(SetPendingMessage), | 556 B(CallRuntime), U16(Runtime::k_GeneratorClose), R(3), U8(1), |
581 B(LdaZero), | 557 B(Ldar), R(8), |
582 B(TestEqualStrict), R(5), U8(0), | 558 B(SetPendingMessage), |
| 559 B(LdaZero), |
| 560 B(TestEqualStrict), R(6), U8(0), |
583 B(JumpIfTrue), U8(32), | 561 B(JumpIfTrue), U8(32), |
584 B(LdaSmi), I8(1), | 562 B(LdaSmi), I8(1), |
585 B(TestEqualStrict), R(5), U8(0), | 563 B(TestEqualStrict), R(6), U8(0), |
586 B(JumpIfTrue), U8(28), | 564 B(JumpIfTrue), U8(28), |
587 B(LdaSmi), I8(2), | 565 B(LdaSmi), I8(2), |
588 B(TestEqualStrict), R(5), U8(0), | 566 B(TestEqualStrict), R(6), U8(0), |
589 B(JumpIfTrue), U8(24), | 567 B(JumpIfTrue), U8(24), |
590 B(LdaSmi), I8(3), | 568 B(LdaSmi), I8(3), |
591 B(TestEqualStrict), R(5), U8(0), | 569 B(TestEqualStrict), R(6), U8(0), |
592 B(JumpIfTrue), U8(20), | 570 B(JumpIfTrue), U8(20), |
593 B(LdaSmi), I8(4), | 571 B(LdaSmi), I8(4), |
594 B(TestEqualStrict), R(5), U8(0), | 572 B(TestEqualStrict), R(6), U8(0), |
595 B(JumpIfTrue), U8(16), | 573 B(JumpIfTrue), U8(16), |
596 B(Jump), U8(17), | 574 B(Jump), U8(17), |
597 B(Ldar), R(6), | 575 B(Ldar), R(7), |
598 /* 44 S> */ B(Return), | 576 /* 44 S> */ B(Return), |
599 B(Ldar), R(6), | 577 B(Ldar), R(7), |
600 /* 44 S> */ B(Return), | 578 /* 44 S> */ B(Return), |
601 B(Ldar), R(6), | 579 B(Ldar), R(7), |
602 B(ReThrow), | 580 B(ReThrow), |
603 B(Ldar), R(6), | 581 B(Ldar), R(7), |
604 /* 44 S> */ B(Return), | 582 /* 44 S> */ B(Return), |
605 B(Ldar), R(6), | 583 B(Ldar), R(7), |
606 B(ReThrow), | 584 B(ReThrow), |
607 B(LdaUndefined), | 585 B(LdaUndefined), |
608 /* 44 S> */ B(Return), | 586 /* 44 S> */ B(Return), |
609 ] | 587 ] |
610 constant pool: [ | 588 constant pool: [ |
611 FIXED_ARRAY_TYPE, | 589 FIXED_ARRAY_TYPE, |
612 CONSTANT_ELEMENTS_PAIR_TYPE, | 590 CONSTANT_ELEMENTS_PAIR_TYPE, |
613 SYMBOL_TYPE, | 591 SYMBOL_TYPE, |
614 ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"], | 592 ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"], |
615 ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"], | 593 ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"], |
616 ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"], | 594 ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"], |
617 FIXED_ARRAY_TYPE, | 595 FIXED_ARRAY_TYPE, |
618 ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"], | 596 ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"], |
619 FIXED_ARRAY_TYPE, | 597 FIXED_ARRAY_TYPE, |
620 ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"], | 598 ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"], |
621 ONE_BYTE_INTERNALIZED_STRING_TYPE ["function"], | 599 ONE_BYTE_INTERNALIZED_STRING_TYPE ["function"], |
622 ONE_BYTE_INTERNALIZED_STRING_TYPE [""], | 600 ONE_BYTE_INTERNALIZED_STRING_TYPE [""], |
623 FIXED_ARRAY_TYPE, | 601 FIXED_ARRAY_TYPE, |
624 Smi [579], | 602 Smi [569], |
625 ] | 603 ] |
626 handlers: [ | 604 handlers: [ |
627 [53, 694, 700], | 605 [52, 676, 682], |
628 [149, 445, 451], | 606 [141, 431, 437], |
629 [152, 401, 403], | 607 [144, 387, 389], |
630 [547, 563, 565], | 608 [533, 549, 551], |
631 ] | 609 ] |
632 | 610 |
OLD | NEW |