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 module: yes | 7 module: yes |
8 top level: yes | 8 top level: yes |
9 | 9 |
10 --- | 10 --- |
11 snippet: " | 11 snippet: " |
12 import \"bar\"; | 12 import \"bar\"; |
13 " | 13 " |
14 frame size: 9 | 14 frame size: 7 |
15 parameter count: 2 | 15 parameter count: 2 |
16 bytecode array length: 141 | 16 bytecode array length: 133 |
17 bytecodes: [ | 17 bytecodes: [ |
18 B(Mov), R(new_target), R(0), | 18 B(Mov), R(new_target), R(0), |
19 B(Ldar), R(new_target), | 19 B(Ldar), R(new_target), |
20 B(JumpIfUndefined), U8(25), | 20 B(JumpIfUndefined), U8(25), |
21 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetContext), R(0), U8
(1), | 21 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetContext), R(0), U8
(1), |
22 B(PushContext), R(2), | 22 B(PushContext), R(2), |
23 B(RestoreGeneratorState), R(0), | 23 B(RestoreGeneratorState), R(0), |
24 B(Star), R(1), | 24 B(Star), R(1), |
25 B(SwitchOnSmiNoFeedback), U8(0), U8(1), I8(0), | 25 B(SwitchOnSmiNoFeedback), U8(0), U8(1), I8(0), |
26 B(LdaSmi), I8(79), | 26 B(LdaSmi), I8(79), |
(...skipping 22 matching lines...) Expand all Loading... |
49 /* 13 S> */ B(Return), | 49 /* 13 S> */ B(Return), |
50 B(RestoreGeneratorRegisters), R(0), R(0), U8(5), | 50 B(RestoreGeneratorRegisters), R(0), R(0), U8(5), |
51 B(LdaSmi), I8(-2), | 51 B(LdaSmi), I8(-2), |
52 B(Star), R(1), | 52 B(Star), R(1), |
53 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos),
R(4), U8(1), | 53 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos),
R(4), U8(1), |
54 B(Star), R(5), | 54 B(Star), R(5), |
55 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(4),
U8(1), | 55 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(4),
U8(1), |
56 B(Star), R(6), | 56 B(Star), R(6), |
57 B(LdaZero), | 57 B(LdaZero), |
58 B(TestEqualStrictNoFeedback), R(6), | 58 B(TestEqualStrictNoFeedback), R(6), |
59 B(JumpIfTrue), U8(22), | 59 B(JumpIfTrue), U8(14), |
60 B(LdaSmi), I8(2), | 60 B(LdaSmi), I8(2), |
61 B(TestEqualStrictNoFeedback), R(6), | 61 B(TestEqualStrictNoFeedback), R(6), |
62 B(JumpIfTrue), U8(13), | 62 B(JumpIfTrue), U8(5), |
63 B(LdaTrue), | 63 B(Ldar), R(5), |
64 B(Star), R(8), | |
65 B(Mov), R(5), R(7), | |
66 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(7),
U8(2), | |
67 /* 13 S> */ B(Return), | 64 /* 13 S> */ B(Return), |
68 B(Ldar), R(5), | 65 B(Ldar), R(5), |
69 /* 0 E> */ B(Throw), | 66 /* 0 E> */ B(Throw), |
70 B(Ldar), R(5), | 67 B(Ldar), R(5), |
71 B(StaCurrentContextSlot), U8(5), | 68 B(StaCurrentContextSlot), U8(5), |
72 B(LdaCurrentContextSlot), U8(5), | 69 B(LdaCurrentContextSlot), U8(5), |
73 B(Star), R(4), | 70 B(Star), R(4), |
74 B(LdaTrue), | 71 B(LdaTrue), |
75 B(Star), R(5), | 72 B(Star), R(5), |
76 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(4),
U8(2), | 73 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(4),
U8(2), |
77 /* 13 S> */ B(Return), | 74 /* 13 S> */ B(Return), |
78 ] | 75 ] |
79 constant pool: [ | 76 constant pool: [ |
80 Smi [63], | 77 Smi [63], |
81 FIXED_ARRAY_TYPE, | 78 FIXED_ARRAY_TYPE, |
82 ] | 79 ] |
83 handlers: [ | 80 handlers: [ |
84 ] | 81 ] |
85 | 82 |
86 --- | 83 --- |
87 snippet: " | 84 snippet: " |
88 import {foo} from \"bar\"; | 85 import {foo} from \"bar\"; |
89 " | 86 " |
90 frame size: 9 | 87 frame size: 7 |
91 parameter count: 2 | 88 parameter count: 2 |
92 bytecode array length: 141 | 89 bytecode array length: 133 |
93 bytecodes: [ | 90 bytecodes: [ |
94 B(Mov), R(new_target), R(0), | 91 B(Mov), R(new_target), R(0), |
95 B(Ldar), R(new_target), | 92 B(Ldar), R(new_target), |
96 B(JumpIfUndefined), U8(25), | 93 B(JumpIfUndefined), U8(25), |
97 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetContext), R(0), U8
(1), | 94 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetContext), R(0), U8
(1), |
98 B(PushContext), R(2), | 95 B(PushContext), R(2), |
99 B(RestoreGeneratorState), R(0), | 96 B(RestoreGeneratorState), R(0), |
100 B(Star), R(1), | 97 B(Star), R(1), |
101 B(SwitchOnSmiNoFeedback), U8(0), U8(1), I8(0), | 98 B(SwitchOnSmiNoFeedback), U8(0), U8(1), I8(0), |
102 B(LdaSmi), I8(79), | 99 B(LdaSmi), I8(79), |
(...skipping 22 matching lines...) Expand all Loading... |
125 /* 24 S> */ B(Return), | 122 /* 24 S> */ B(Return), |
126 B(RestoreGeneratorRegisters), R(0), R(0), U8(5), | 123 B(RestoreGeneratorRegisters), R(0), R(0), U8(5), |
127 B(LdaSmi), I8(-2), | 124 B(LdaSmi), I8(-2), |
128 B(Star), R(1), | 125 B(Star), R(1), |
129 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos),
R(4), U8(1), | 126 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos),
R(4), U8(1), |
130 B(Star), R(5), | 127 B(Star), R(5), |
131 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(4),
U8(1), | 128 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(4),
U8(1), |
132 B(Star), R(6), | 129 B(Star), R(6), |
133 B(LdaZero), | 130 B(LdaZero), |
134 B(TestEqualStrictNoFeedback), R(6), | 131 B(TestEqualStrictNoFeedback), R(6), |
135 B(JumpIfTrue), U8(22), | 132 B(JumpIfTrue), U8(14), |
136 B(LdaSmi), I8(2), | 133 B(LdaSmi), I8(2), |
137 B(TestEqualStrictNoFeedback), R(6), | 134 B(TestEqualStrictNoFeedback), R(6), |
138 B(JumpIfTrue), U8(13), | 135 B(JumpIfTrue), U8(5), |
139 B(LdaTrue), | 136 B(Ldar), R(5), |
140 B(Star), R(8), | |
141 B(Mov), R(5), R(7), | |
142 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(7),
U8(2), | |
143 /* 24 S> */ B(Return), | 137 /* 24 S> */ B(Return), |
144 B(Ldar), R(5), | 138 B(Ldar), R(5), |
145 /* 0 E> */ B(Throw), | 139 /* 0 E> */ B(Throw), |
146 B(Ldar), R(5), | 140 B(Ldar), R(5), |
147 B(StaCurrentContextSlot), U8(5), | 141 B(StaCurrentContextSlot), U8(5), |
148 B(LdaCurrentContextSlot), U8(5), | 142 B(LdaCurrentContextSlot), U8(5), |
149 B(Star), R(4), | 143 B(Star), R(4), |
150 B(LdaTrue), | 144 B(LdaTrue), |
151 B(Star), R(5), | 145 B(Star), R(5), |
152 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(4),
U8(2), | 146 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(4),
U8(2), |
153 /* 24 S> */ B(Return), | 147 /* 24 S> */ B(Return), |
154 ] | 148 ] |
155 constant pool: [ | 149 constant pool: [ |
156 Smi [63], | 150 Smi [63], |
157 FIXED_ARRAY_TYPE, | 151 FIXED_ARRAY_TYPE, |
158 ] | 152 ] |
159 handlers: [ | 153 handlers: [ |
160 ] | 154 ] |
161 | 155 |
162 --- | 156 --- |
163 snippet: " | 157 snippet: " |
164 import {foo as goo} from \"bar\"; | 158 import {foo as goo} from \"bar\"; |
165 goo(42); | 159 goo(42); |
166 { let x; { goo(42) } }; | 160 { let x; { goo(42) } }; |
167 " | 161 " |
168 frame size: 9 | 162 frame size: 7 |
169 parameter count: 2 | 163 parameter count: 2 |
170 bytecode array length: 203 | 164 bytecode array length: 195 |
171 bytecodes: [ | 165 bytecodes: [ |
172 B(Mov), R(new_target), R(0), | 166 B(Mov), R(new_target), R(0), |
173 B(Ldar), R(new_target), | 167 B(Ldar), R(new_target), |
174 B(JumpIfUndefined), U8(25), | 168 B(JumpIfUndefined), U8(25), |
175 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetContext), R(0), U8
(1), | 169 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetContext), R(0), U8
(1), |
176 B(PushContext), R(2), | 170 B(PushContext), R(2), |
177 B(RestoreGeneratorState), R(0), | 171 B(RestoreGeneratorState), R(0), |
178 B(Star), R(1), | 172 B(Star), R(1), |
179 B(SwitchOnSmiNoFeedback), U8(0), U8(1), I8(0), | 173 B(SwitchOnSmiNoFeedback), U8(0), U8(1), I8(0), |
180 B(LdaSmi), I8(79), | 174 B(LdaSmi), I8(79), |
(...skipping 22 matching lines...) Expand all Loading... |
203 /* 64 S> */ B(Return), | 197 /* 64 S> */ B(Return), |
204 B(RestoreGeneratorRegisters), R(0), R(0), U8(5), | 198 B(RestoreGeneratorRegisters), R(0), R(0), U8(5), |
205 B(LdaSmi), I8(-2), | 199 B(LdaSmi), I8(-2), |
206 B(Star), R(1), | 200 B(Star), R(1), |
207 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos),
R(4), U8(1), | 201 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos),
R(4), U8(1), |
208 B(Star), R(5), | 202 B(Star), R(5), |
209 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(4),
U8(1), | 203 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(4),
U8(1), |
210 B(Star), R(6), | 204 B(Star), R(6), |
211 B(LdaZero), | 205 B(LdaZero), |
212 B(TestEqualStrictNoFeedback), R(6), | 206 B(TestEqualStrictNoFeedback), R(6), |
213 B(JumpIfTrue), U8(22), | 207 B(JumpIfTrue), U8(14), |
214 B(LdaSmi), I8(2), | 208 B(LdaSmi), I8(2), |
215 B(TestEqualStrictNoFeedback), R(6), | 209 B(TestEqualStrictNoFeedback), R(6), |
216 B(JumpIfTrue), U8(13), | 210 B(JumpIfTrue), U8(5), |
217 B(LdaTrue), | 211 B(Ldar), R(5), |
218 B(Star), R(8), | |
219 B(Mov), R(5), R(7), | |
220 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(7),
U8(2), | |
221 /* 64 S> */ B(Return), | 212 /* 64 S> */ B(Return), |
222 B(Ldar), R(5), | 213 B(Ldar), R(5), |
223 /* 0 E> */ B(Throw), | 214 /* 0 E> */ B(Throw), |
224 /* 32 S> */ B(LdaModuleVariable), I8(-1), U8(0), | 215 /* 32 S> */ B(LdaModuleVariable), I8(-1), U8(0), |
225 B(JumpIfNotHole), U8(11), | 216 B(JumpIfNotHole), U8(11), |
226 B(LdaConstant), U8(2), | 217 B(LdaConstant), U8(2), |
227 B(Star), R(5), | 218 B(Star), R(5), |
228 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(5), U8(1), | 219 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(5), U8(1), |
229 B(Star), R(4), | 220 B(Star), R(4), |
230 B(LdaSmi), I8(42), | 221 B(LdaSmi), I8(42), |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
263 ] | 254 ] |
264 handlers: [ | 255 handlers: [ |
265 ] | 256 ] |
266 | 257 |
267 --- | 258 --- |
268 snippet: " | 259 snippet: " |
269 export var foo = 42; | 260 export var foo = 42; |
270 foo++; | 261 foo++; |
271 { let x; { foo++ } }; | 262 { let x; { foo++ } }; |
272 " | 263 " |
273 frame size: 9 | 264 frame size: 7 |
274 parameter count: 2 | 265 parameter count: 2 |
275 bytecode array length: 183 | 266 bytecode array length: 175 |
276 bytecodes: [ | 267 bytecodes: [ |
277 B(Mov), R(new_target), R(0), | 268 B(Mov), R(new_target), R(0), |
278 B(Ldar), R(new_target), | 269 B(Ldar), R(new_target), |
279 B(JumpIfUndefined), U8(25), | 270 B(JumpIfUndefined), U8(25), |
280 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetContext), R(0), U8
(1), | 271 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetContext), R(0), U8
(1), |
281 B(PushContext), R(2), | 272 B(PushContext), R(2), |
282 B(RestoreGeneratorState), R(0), | 273 B(RestoreGeneratorState), R(0), |
283 B(Star), R(1), | 274 B(Star), R(1), |
284 B(SwitchOnSmiNoFeedback), U8(0), U8(1), I8(0), | 275 B(SwitchOnSmiNoFeedback), U8(0), U8(1), I8(0), |
285 B(LdaSmi), I8(79), | 276 B(LdaSmi), I8(79), |
(...skipping 22 matching lines...) Expand all Loading... |
308 /* 49 S> */ B(Return), | 299 /* 49 S> */ B(Return), |
309 B(RestoreGeneratorRegisters), R(0), R(0), U8(5), | 300 B(RestoreGeneratorRegisters), R(0), R(0), U8(5), |
310 B(LdaSmi), I8(-2), | 301 B(LdaSmi), I8(-2), |
311 B(Star), R(1), | 302 B(Star), R(1), |
312 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos),
R(4), U8(1), | 303 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos),
R(4), U8(1), |
313 B(Star), R(5), | 304 B(Star), R(5), |
314 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(4),
U8(1), | 305 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(4),
U8(1), |
315 B(Star), R(6), | 306 B(Star), R(6), |
316 B(LdaZero), | 307 B(LdaZero), |
317 B(TestEqualStrictNoFeedback), R(6), | 308 B(TestEqualStrictNoFeedback), R(6), |
318 B(JumpIfTrue), U8(22), | 309 B(JumpIfTrue), U8(14), |
319 B(LdaSmi), I8(2), | 310 B(LdaSmi), I8(2), |
320 B(TestEqualStrictNoFeedback), R(6), | 311 B(TestEqualStrictNoFeedback), R(6), |
321 B(JumpIfTrue), U8(13), | 312 B(JumpIfTrue), U8(5), |
322 B(LdaTrue), | 313 B(Ldar), R(5), |
323 B(Star), R(8), | |
324 B(Mov), R(5), R(7), | |
325 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(7),
U8(2), | |
326 /* 49 S> */ B(Return), | 314 /* 49 S> */ B(Return), |
327 B(Ldar), R(5), | 315 B(Ldar), R(5), |
328 /* 0 E> */ B(Throw), | 316 /* 0 E> */ B(Throw), |
329 /* 17 S> */ B(LdaSmi), I8(42), | 317 /* 17 S> */ B(LdaSmi), I8(42), |
330 /* 17 E> */ B(StaModuleVariable), I8(1), U8(0), | 318 /* 17 E> */ B(StaModuleVariable), I8(1), U8(0), |
331 /* 21 S> */ B(LdaModuleVariable), I8(1), U8(0), | 319 /* 21 S> */ B(LdaModuleVariable), I8(1), U8(0), |
332 B(Inc), U8(3), | 320 B(Inc), U8(3), |
333 /* 24 E> */ B(StaModuleVariable), I8(1), U8(0), | 321 /* 24 E> */ B(StaModuleVariable), I8(1), U8(0), |
334 B(Ldar), R(closure), | 322 B(Ldar), R(closure), |
335 B(CreateBlockContext), U8(2), | 323 B(CreateBlockContext), U8(2), |
(...skipping 24 matching lines...) Expand all Loading... |
360 ] | 348 ] |
361 handlers: [ | 349 handlers: [ |
362 ] | 350 ] |
363 | 351 |
364 --- | 352 --- |
365 snippet: " | 353 snippet: " |
366 export let foo = 42; | 354 export let foo = 42; |
367 foo++; | 355 foo++; |
368 { let x; { foo++ } }; | 356 { let x; { foo++ } }; |
369 " | 357 " |
370 frame size: 9 | 358 frame size: 7 |
371 parameter count: 2 | 359 parameter count: 2 |
372 bytecode array length: 187 | 360 bytecode array length: 179 |
373 bytecodes: [ | 361 bytecodes: [ |
374 B(Mov), R(new_target), R(0), | 362 B(Mov), R(new_target), R(0), |
375 B(Ldar), R(new_target), | 363 B(Ldar), R(new_target), |
376 B(JumpIfUndefined), U8(25), | 364 B(JumpIfUndefined), U8(25), |
377 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetContext), R(0), U8
(1), | 365 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetContext), R(0), U8
(1), |
378 B(PushContext), R(2), | 366 B(PushContext), R(2), |
379 B(RestoreGeneratorState), R(0), | 367 B(RestoreGeneratorState), R(0), |
380 B(Star), R(1), | 368 B(Star), R(1), |
381 B(SwitchOnSmiNoFeedback), U8(0), U8(1), I8(0), | 369 B(SwitchOnSmiNoFeedback), U8(0), U8(1), I8(0), |
382 B(LdaSmi), I8(79), | 370 B(LdaSmi), I8(79), |
(...skipping 24 matching lines...) Expand all Loading... |
407 /* 49 S> */ B(Return), | 395 /* 49 S> */ B(Return), |
408 B(RestoreGeneratorRegisters), R(0), R(0), U8(5), | 396 B(RestoreGeneratorRegisters), R(0), R(0), U8(5), |
409 B(LdaSmi), I8(-2), | 397 B(LdaSmi), I8(-2), |
410 B(Star), R(1), | 398 B(Star), R(1), |
411 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos),
R(4), U8(1), | 399 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos),
R(4), U8(1), |
412 B(Star), R(5), | 400 B(Star), R(5), |
413 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(4),
U8(1), | 401 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(4),
U8(1), |
414 B(Star), R(6), | 402 B(Star), R(6), |
415 B(LdaZero), | 403 B(LdaZero), |
416 B(TestEqualStrictNoFeedback), R(6), | 404 B(TestEqualStrictNoFeedback), R(6), |
417 B(JumpIfTrue), U8(22), | 405 B(JumpIfTrue), U8(14), |
418 B(LdaSmi), I8(2), | 406 B(LdaSmi), I8(2), |
419 B(TestEqualStrictNoFeedback), R(6), | 407 B(TestEqualStrictNoFeedback), R(6), |
420 B(JumpIfTrue), U8(13), | 408 B(JumpIfTrue), U8(5), |
421 B(LdaTrue), | 409 B(Ldar), R(5), |
422 B(Star), R(8), | |
423 B(Mov), R(5), R(7), | |
424 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(7),
U8(2), | |
425 /* 49 S> */ B(Return), | 410 /* 49 S> */ B(Return), |
426 B(Ldar), R(5), | 411 B(Ldar), R(5), |
427 /* 0 E> */ B(Throw), | 412 /* 0 E> */ B(Throw), |
428 /* 17 S> */ B(LdaSmi), I8(42), | 413 /* 17 S> */ B(LdaSmi), I8(42), |
429 /* 17 E> */ B(StaModuleVariable), I8(1), U8(0), | 414 /* 17 E> */ B(StaModuleVariable), I8(1), U8(0), |
430 /* 21 S> */ B(LdaModuleVariable), I8(1), U8(0), | 415 /* 21 S> */ B(LdaModuleVariable), I8(1), U8(0), |
431 B(Inc), U8(3), | 416 B(Inc), U8(3), |
432 /* 24 E> */ B(StaModuleVariable), I8(1), U8(0), | 417 /* 24 E> */ B(StaModuleVariable), I8(1), U8(0), |
433 B(Ldar), R(closure), | 418 B(Ldar), R(closure), |
434 B(CreateBlockContext), U8(2), | 419 B(CreateBlockContext), U8(2), |
(...skipping 24 matching lines...) Expand all Loading... |
459 ] | 444 ] |
460 handlers: [ | 445 handlers: [ |
461 ] | 446 ] |
462 | 447 |
463 --- | 448 --- |
464 snippet: " | 449 snippet: " |
465 export const foo = 42; | 450 export const foo = 42; |
466 foo++; | 451 foo++; |
467 { let x; { foo++ } }; | 452 { let x; { foo++ } }; |
468 " | 453 " |
469 frame size: 9 | 454 frame size: 7 |
470 parameter count: 2 | 455 parameter count: 2 |
471 bytecode array length: 191 | 456 bytecode array length: 183 |
472 bytecodes: [ | 457 bytecodes: [ |
473 B(Mov), R(new_target), R(0), | 458 B(Mov), R(new_target), R(0), |
474 B(Ldar), R(new_target), | 459 B(Ldar), R(new_target), |
475 B(JumpIfUndefined), U8(25), | 460 B(JumpIfUndefined), U8(25), |
476 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetContext), R(0), U8
(1), | 461 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetContext), R(0), U8
(1), |
477 B(PushContext), R(2), | 462 B(PushContext), R(2), |
478 B(RestoreGeneratorState), R(0), | 463 B(RestoreGeneratorState), R(0), |
479 B(Star), R(1), | 464 B(Star), R(1), |
480 B(SwitchOnSmiNoFeedback), U8(0), U8(1), I8(0), | 465 B(SwitchOnSmiNoFeedback), U8(0), U8(1), I8(0), |
481 B(LdaSmi), I8(79), | 466 B(LdaSmi), I8(79), |
(...skipping 24 matching lines...) Expand all Loading... |
506 /* 51 S> */ B(Return), | 491 /* 51 S> */ B(Return), |
507 B(RestoreGeneratorRegisters), R(0), R(0), U8(5), | 492 B(RestoreGeneratorRegisters), R(0), R(0), U8(5), |
508 B(LdaSmi), I8(-2), | 493 B(LdaSmi), I8(-2), |
509 B(Star), R(1), | 494 B(Star), R(1), |
510 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos),
R(4), U8(1), | 495 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos),
R(4), U8(1), |
511 B(Star), R(5), | 496 B(Star), R(5), |
512 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(4),
U8(1), | 497 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(4),
U8(1), |
513 B(Star), R(6), | 498 B(Star), R(6), |
514 B(LdaZero), | 499 B(LdaZero), |
515 B(TestEqualStrictNoFeedback), R(6), | 500 B(TestEqualStrictNoFeedback), R(6), |
516 B(JumpIfTrue), U8(22), | 501 B(JumpIfTrue), U8(14), |
517 B(LdaSmi), I8(2), | 502 B(LdaSmi), I8(2), |
518 B(TestEqualStrictNoFeedback), R(6), | 503 B(TestEqualStrictNoFeedback), R(6), |
519 B(JumpIfTrue), U8(13), | 504 B(JumpIfTrue), U8(5), |
520 B(LdaTrue), | 505 B(Ldar), R(5), |
521 B(Star), R(8), | |
522 B(Mov), R(5), R(7), | |
523 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(7),
U8(2), | |
524 /* 51 S> */ B(Return), | 506 /* 51 S> */ B(Return), |
525 B(Ldar), R(5), | 507 B(Ldar), R(5), |
526 /* 0 E> */ B(Throw), | 508 /* 0 E> */ B(Throw), |
527 /* 19 S> */ B(LdaSmi), I8(42), | 509 /* 19 S> */ B(LdaSmi), I8(42), |
528 /* 19 E> */ B(StaModuleVariable), I8(1), U8(0), | 510 /* 19 E> */ B(StaModuleVariable), I8(1), U8(0), |
529 /* 23 S> */ B(LdaModuleVariable), I8(1), U8(0), | 511 /* 23 S> */ B(LdaModuleVariable), I8(1), U8(0), |
530 B(Inc), U8(3), | 512 B(Inc), U8(3), |
531 /* 26 E> */ B(CallRuntime), U16(Runtime::kThrowConstAssignError), R(0), U8(0
), | 513 /* 26 E> */ B(CallRuntime), U16(Runtime::kThrowConstAssignError), R(0), U8(0
), |
532 B(Ldar), R(closure), | 514 B(Ldar), R(closure), |
533 B(CreateBlockContext), U8(2), | 515 B(CreateBlockContext), U8(2), |
(...skipping 22 matching lines...) Expand all Loading... |
556 FIXED_ARRAY_TYPE, | 538 FIXED_ARRAY_TYPE, |
557 FIXED_ARRAY_TYPE, | 539 FIXED_ARRAY_TYPE, |
558 ] | 540 ] |
559 handlers: [ | 541 handlers: [ |
560 ] | 542 ] |
561 | 543 |
562 --- | 544 --- |
563 snippet: " | 545 snippet: " |
564 export default (function () {}); | 546 export default (function () {}); |
565 " | 547 " |
566 frame size: 9 | 548 frame size: 7 |
567 parameter count: 2 | 549 parameter count: 2 |
568 bytecode array length: 152 | 550 bytecode array length: 144 |
569 bytecodes: [ | 551 bytecodes: [ |
570 B(Mov), R(new_target), R(0), | 552 B(Mov), R(new_target), R(0), |
571 B(Ldar), R(new_target), | 553 B(Ldar), R(new_target), |
572 B(JumpIfUndefined), U8(25), | 554 B(JumpIfUndefined), U8(25), |
573 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetContext), R(0), U8
(1), | 555 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetContext), R(0), U8
(1), |
574 B(PushContext), R(2), | 556 B(PushContext), R(2), |
575 B(RestoreGeneratorState), R(0), | 557 B(RestoreGeneratorState), R(0), |
576 B(Star), R(1), | 558 B(Star), R(1), |
577 B(SwitchOnSmiNoFeedback), U8(0), U8(1), I8(0), | 559 B(SwitchOnSmiNoFeedback), U8(0), U8(1), I8(0), |
578 B(LdaSmi), I8(79), | 560 B(LdaSmi), I8(79), |
(...skipping 24 matching lines...) Expand all Loading... |
603 /* 32 S> */ B(Return), | 585 /* 32 S> */ B(Return), |
604 B(RestoreGeneratorRegisters), R(0), R(0), U8(5), | 586 B(RestoreGeneratorRegisters), R(0), R(0), U8(5), |
605 B(LdaSmi), I8(-2), | 587 B(LdaSmi), I8(-2), |
606 B(Star), R(1), | 588 B(Star), R(1), |
607 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos),
R(4), U8(1), | 589 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos),
R(4), U8(1), |
608 B(Star), R(5), | 590 B(Star), R(5), |
609 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(4),
U8(1), | 591 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(4),
U8(1), |
610 B(Star), R(6), | 592 B(Star), R(6), |
611 B(LdaZero), | 593 B(LdaZero), |
612 B(TestEqualStrictNoFeedback), R(6), | 594 B(TestEqualStrictNoFeedback), R(6), |
613 B(JumpIfTrue), U8(22), | 595 B(JumpIfTrue), U8(14), |
614 B(LdaSmi), I8(2), | 596 B(LdaSmi), I8(2), |
615 B(TestEqualStrictNoFeedback), R(6), | 597 B(TestEqualStrictNoFeedback), R(6), |
616 B(JumpIfTrue), U8(13), | 598 B(JumpIfTrue), U8(5), |
617 B(LdaTrue), | 599 B(Ldar), R(5), |
618 B(Star), R(8), | |
619 B(Mov), R(5), R(7), | |
620 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(7),
U8(2), | |
621 /* 32 S> */ B(Return), | 600 /* 32 S> */ B(Return), |
622 B(Ldar), R(5), | 601 B(Ldar), R(5), |
623 /* 0 E> */ B(Throw), | 602 /* 0 E> */ B(Throw), |
624 B(Ldar), R(5), | 603 B(Ldar), R(5), |
625 B(StaCurrentContextSlot), U8(5), | 604 B(StaCurrentContextSlot), U8(5), |
626 B(CreateClosure), U8(2), U8(3), U8(0), | 605 B(CreateClosure), U8(2), U8(3), U8(0), |
627 B(StaModuleVariable), I8(1), U8(0), | 606 B(StaModuleVariable), I8(1), U8(0), |
628 B(LdaCurrentContextSlot), U8(5), | 607 B(LdaCurrentContextSlot), U8(5), |
629 B(Star), R(4), | 608 B(Star), R(4), |
630 B(LdaTrue), | 609 B(LdaTrue), |
631 B(Star), R(5), | 610 B(Star), R(5), |
632 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(4),
U8(2), | 611 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(4),
U8(2), |
633 /* 32 S> */ B(Return), | 612 /* 32 S> */ B(Return), |
634 ] | 613 ] |
635 constant pool: [ | 614 constant pool: [ |
636 Smi [67], | 615 Smi [67], |
637 FIXED_ARRAY_TYPE, | 616 FIXED_ARRAY_TYPE, |
638 SHARED_FUNCTION_INFO_TYPE, | 617 SHARED_FUNCTION_INFO_TYPE, |
639 ] | 618 ] |
640 handlers: [ | 619 handlers: [ |
641 ] | 620 ] |
642 | 621 |
643 --- | 622 --- |
644 snippet: " | 623 snippet: " |
645 export default (class {}); | 624 export default (class {}); |
646 " | 625 " |
647 frame size: 9 | 626 frame size: 9 |
648 parameter count: 2 | 627 parameter count: 2 |
649 bytecode array length: 185 | 628 bytecode array length: 177 |
650 bytecodes: [ | 629 bytecodes: [ |
651 B(Mov), R(new_target), R(0), | 630 B(Mov), R(new_target), R(0), |
652 B(Ldar), R(new_target), | 631 B(Ldar), R(new_target), |
653 B(JumpIfUndefined), U8(25), | 632 B(JumpIfUndefined), U8(25), |
654 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetContext), R(0), U8
(1), | 633 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetContext), R(0), U8
(1), |
655 B(PushContext), R(2), | 634 B(PushContext), R(2), |
656 B(RestoreGeneratorState), R(0), | 635 B(RestoreGeneratorState), R(0), |
657 B(Star), R(1), | 636 B(Star), R(1), |
658 B(SwitchOnSmiNoFeedback), U8(0), U8(1), I8(0), | 637 B(SwitchOnSmiNoFeedback), U8(0), U8(1), I8(0), |
659 B(LdaSmi), I8(79), | 638 B(LdaSmi), I8(79), |
(...skipping 24 matching lines...) Expand all Loading... |
684 /* 26 S> */ B(Return), | 663 /* 26 S> */ B(Return), |
685 B(RestoreGeneratorRegisters), R(0), R(0), U8(5), | 664 B(RestoreGeneratorRegisters), R(0), R(0), U8(5), |
686 B(LdaSmi), I8(-2), | 665 B(LdaSmi), I8(-2), |
687 B(Star), R(1), | 666 B(Star), R(1), |
688 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos),
R(4), U8(1), | 667 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos),
R(4), U8(1), |
689 B(Star), R(5), | 668 B(Star), R(5), |
690 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(4),
U8(1), | 669 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(4),
U8(1), |
691 B(Star), R(6), | 670 B(Star), R(6), |
692 B(LdaZero), | 671 B(LdaZero), |
693 B(TestEqualStrictNoFeedback), R(6), | 672 B(TestEqualStrictNoFeedback), R(6), |
694 B(JumpIfTrue), U8(22), | 673 B(JumpIfTrue), U8(14), |
695 B(LdaSmi), I8(2), | 674 B(LdaSmi), I8(2), |
696 B(TestEqualStrictNoFeedback), R(6), | 675 B(TestEqualStrictNoFeedback), R(6), |
697 B(JumpIfTrue), U8(13), | 676 B(JumpIfTrue), U8(5), |
698 B(LdaTrue), | 677 B(Ldar), R(5), |
699 B(Star), R(8), | |
700 B(Mov), R(5), R(7), | |
701 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(7),
U8(2), | |
702 /* 26 S> */ B(Return), | 678 /* 26 S> */ B(Return), |
703 B(Ldar), R(5), | 679 B(Ldar), R(5), |
704 /* 0 E> */ B(Throw), | 680 /* 0 E> */ B(Throw), |
705 B(Ldar), R(5), | 681 B(Ldar), R(5), |
706 B(StaCurrentContextSlot), U8(5), | 682 B(StaCurrentContextSlot), U8(5), |
707 B(CreateClosure), U8(2), U8(3), U8(0), | 683 B(CreateClosure), U8(2), U8(3), U8(0), |
708 B(Star), R(4), | 684 B(Star), R(4), |
709 B(LdaTheHole), | 685 B(LdaTheHole), |
710 B(Star), R(5), | 686 B(Star), R(5), |
711 B(LdaSmi), I8(16), | 687 B(LdaSmi), I8(16), |
(...skipping 18 matching lines...) Expand all Loading... |
730 FIXED_ARRAY_TYPE, | 706 FIXED_ARRAY_TYPE, |
731 SHARED_FUNCTION_INFO_TYPE, | 707 SHARED_FUNCTION_INFO_TYPE, |
732 ] | 708 ] |
733 handlers: [ | 709 handlers: [ |
734 ] | 710 ] |
735 | 711 |
736 --- | 712 --- |
737 snippet: " | 713 snippet: " |
738 export {foo as goo} from \"bar\" | 714 export {foo as goo} from \"bar\" |
739 " | 715 " |
740 frame size: 9 | 716 frame size: 7 |
741 parameter count: 2 | 717 parameter count: 2 |
742 bytecode array length: 141 | 718 bytecode array length: 133 |
743 bytecodes: [ | 719 bytecodes: [ |
744 B(Mov), R(new_target), R(0), | 720 B(Mov), R(new_target), R(0), |
745 B(Ldar), R(new_target), | 721 B(Ldar), R(new_target), |
746 B(JumpIfUndefined), U8(25), | 722 B(JumpIfUndefined), U8(25), |
747 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetContext), R(0), U8
(1), | 723 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetContext), R(0), U8
(1), |
748 B(PushContext), R(2), | 724 B(PushContext), R(2), |
749 B(RestoreGeneratorState), R(0), | 725 B(RestoreGeneratorState), R(0), |
750 B(Star), R(1), | 726 B(Star), R(1), |
751 B(SwitchOnSmiNoFeedback), U8(0), U8(1), I8(0), | 727 B(SwitchOnSmiNoFeedback), U8(0), U8(1), I8(0), |
752 B(LdaSmi), I8(79), | 728 B(LdaSmi), I8(79), |
(...skipping 22 matching lines...) Expand all Loading... |
775 /* 30 S> */ B(Return), | 751 /* 30 S> */ B(Return), |
776 B(RestoreGeneratorRegisters), R(0), R(0), U8(5), | 752 B(RestoreGeneratorRegisters), R(0), R(0), U8(5), |
777 B(LdaSmi), I8(-2), | 753 B(LdaSmi), I8(-2), |
778 B(Star), R(1), | 754 B(Star), R(1), |
779 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos),
R(4), U8(1), | 755 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos),
R(4), U8(1), |
780 B(Star), R(5), | 756 B(Star), R(5), |
781 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(4),
U8(1), | 757 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(4),
U8(1), |
782 B(Star), R(6), | 758 B(Star), R(6), |
783 B(LdaZero), | 759 B(LdaZero), |
784 B(TestEqualStrictNoFeedback), R(6), | 760 B(TestEqualStrictNoFeedback), R(6), |
785 B(JumpIfTrue), U8(22), | 761 B(JumpIfTrue), U8(14), |
786 B(LdaSmi), I8(2), | 762 B(LdaSmi), I8(2), |
787 B(TestEqualStrictNoFeedback), R(6), | 763 B(TestEqualStrictNoFeedback), R(6), |
788 B(JumpIfTrue), U8(13), | 764 B(JumpIfTrue), U8(5), |
789 B(LdaTrue), | 765 B(Ldar), R(5), |
790 B(Star), R(8), | |
791 B(Mov), R(5), R(7), | |
792 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(7),
U8(2), | |
793 /* 30 S> */ B(Return), | 766 /* 30 S> */ B(Return), |
794 B(Ldar), R(5), | 767 B(Ldar), R(5), |
795 /* 0 E> */ B(Throw), | 768 /* 0 E> */ B(Throw), |
796 B(Ldar), R(5), | 769 B(Ldar), R(5), |
797 B(StaCurrentContextSlot), U8(5), | 770 B(StaCurrentContextSlot), U8(5), |
798 B(LdaCurrentContextSlot), U8(5), | 771 B(LdaCurrentContextSlot), U8(5), |
799 B(Star), R(4), | 772 B(Star), R(4), |
800 B(LdaTrue), | 773 B(LdaTrue), |
801 B(Star), R(5), | 774 B(Star), R(5), |
802 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(4),
U8(2), | 775 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(4),
U8(2), |
803 /* 30 S> */ B(Return), | 776 /* 30 S> */ B(Return), |
804 ] | 777 ] |
805 constant pool: [ | 778 constant pool: [ |
806 Smi [63], | 779 Smi [63], |
807 FIXED_ARRAY_TYPE, | 780 FIXED_ARRAY_TYPE, |
808 ] | 781 ] |
809 handlers: [ | 782 handlers: [ |
810 ] | 783 ] |
811 | 784 |
812 --- | 785 --- |
813 snippet: " | 786 snippet: " |
814 export * from \"bar\" | 787 export * from \"bar\" |
815 " | 788 " |
816 frame size: 9 | 789 frame size: 7 |
817 parameter count: 2 | 790 parameter count: 2 |
818 bytecode array length: 141 | 791 bytecode array length: 133 |
819 bytecodes: [ | 792 bytecodes: [ |
820 B(Mov), R(new_target), R(0), | 793 B(Mov), R(new_target), R(0), |
821 B(Ldar), R(new_target), | 794 B(Ldar), R(new_target), |
822 B(JumpIfUndefined), U8(25), | 795 B(JumpIfUndefined), U8(25), |
823 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetContext), R(0), U8
(1), | 796 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetContext), R(0), U8
(1), |
824 B(PushContext), R(2), | 797 B(PushContext), R(2), |
825 B(RestoreGeneratorState), R(0), | 798 B(RestoreGeneratorState), R(0), |
826 B(Star), R(1), | 799 B(Star), R(1), |
827 B(SwitchOnSmiNoFeedback), U8(0), U8(1), I8(0), | 800 B(SwitchOnSmiNoFeedback), U8(0), U8(1), I8(0), |
828 B(LdaSmi), I8(79), | 801 B(LdaSmi), I8(79), |
(...skipping 22 matching lines...) Expand all Loading... |
851 /* 19 S> */ B(Return), | 824 /* 19 S> */ B(Return), |
852 B(RestoreGeneratorRegisters), R(0), R(0), U8(5), | 825 B(RestoreGeneratorRegisters), R(0), R(0), U8(5), |
853 B(LdaSmi), I8(-2), | 826 B(LdaSmi), I8(-2), |
854 B(Star), R(1), | 827 B(Star), R(1), |
855 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos),
R(4), U8(1), | 828 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos),
R(4), U8(1), |
856 B(Star), R(5), | 829 B(Star), R(5), |
857 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(4),
U8(1), | 830 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(4),
U8(1), |
858 B(Star), R(6), | 831 B(Star), R(6), |
859 B(LdaZero), | 832 B(LdaZero), |
860 B(TestEqualStrictNoFeedback), R(6), | 833 B(TestEqualStrictNoFeedback), R(6), |
861 B(JumpIfTrue), U8(22), | 834 B(JumpIfTrue), U8(14), |
862 B(LdaSmi), I8(2), | 835 B(LdaSmi), I8(2), |
863 B(TestEqualStrictNoFeedback), R(6), | 836 B(TestEqualStrictNoFeedback), R(6), |
864 B(JumpIfTrue), U8(13), | 837 B(JumpIfTrue), U8(5), |
865 B(LdaTrue), | 838 B(Ldar), R(5), |
866 B(Star), R(8), | |
867 B(Mov), R(5), R(7), | |
868 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(7),
U8(2), | |
869 /* 19 S> */ B(Return), | 839 /* 19 S> */ B(Return), |
870 B(Ldar), R(5), | 840 B(Ldar), R(5), |
871 /* 0 E> */ B(Throw), | 841 /* 0 E> */ B(Throw), |
872 B(Ldar), R(5), | 842 B(Ldar), R(5), |
873 B(StaCurrentContextSlot), U8(5), | 843 B(StaCurrentContextSlot), U8(5), |
874 B(LdaCurrentContextSlot), U8(5), | 844 B(LdaCurrentContextSlot), U8(5), |
875 B(Star), R(4), | 845 B(Star), R(4), |
876 B(LdaTrue), | 846 B(LdaTrue), |
877 B(Star), R(5), | 847 B(Star), R(5), |
878 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(4),
U8(2), | 848 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(4),
U8(2), |
879 /* 19 S> */ B(Return), | 849 /* 19 S> */ B(Return), |
880 ] | 850 ] |
881 constant pool: [ | 851 constant pool: [ |
882 Smi [63], | 852 Smi [63], |
883 FIXED_ARRAY_TYPE, | 853 FIXED_ARRAY_TYPE, |
884 ] | 854 ] |
885 handlers: [ | 855 handlers: [ |
886 ] | 856 ] |
887 | 857 |
888 --- | 858 --- |
889 snippet: " | 859 snippet: " |
890 import * as foo from \"bar\" | 860 import * as foo from \"bar\" |
891 foo.f(foo, foo.x); | 861 foo.f(foo, foo.x); |
892 " | 862 " |
893 frame size: 9 | 863 frame size: 8 |
894 parameter count: 2 | 864 parameter count: 2 |
895 bytecode array length: 179 | 865 bytecode array length: 171 |
896 bytecodes: [ | 866 bytecodes: [ |
897 B(Mov), R(new_target), R(0), | 867 B(Mov), R(new_target), R(0), |
898 B(Ldar), R(new_target), | 868 B(Ldar), R(new_target), |
899 B(JumpIfUndefined), U8(25), | 869 B(JumpIfUndefined), U8(25), |
900 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetContext), R(0), U8
(1), | 870 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetContext), R(0), U8
(1), |
901 B(PushContext), R(2), | 871 B(PushContext), R(2), |
902 B(RestoreGeneratorState), R(0), | 872 B(RestoreGeneratorState), R(0), |
903 B(Star), R(1), | 873 B(Star), R(1), |
904 B(SwitchOnSmiNoFeedback), U8(0), U8(1), I8(0), | 874 B(SwitchOnSmiNoFeedback), U8(0), U8(1), I8(0), |
905 B(LdaSmi), I8(79), | 875 B(LdaSmi), I8(79), |
(...skipping 26 matching lines...) Expand all Loading... |
932 /* 45 S> */ B(Return), | 902 /* 45 S> */ B(Return), |
933 B(RestoreGeneratorRegisters), R(0), R(0), U8(5), | 903 B(RestoreGeneratorRegisters), R(0), R(0), U8(5), |
934 B(LdaSmi), I8(-2), | 904 B(LdaSmi), I8(-2), |
935 B(Star), R(1), | 905 B(Star), R(1), |
936 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos),
R(4), U8(1), | 906 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos),
R(4), U8(1), |
937 B(Star), R(5), | 907 B(Star), R(5), |
938 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(4),
U8(1), | 908 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(4),
U8(1), |
939 B(Star), R(6), | 909 B(Star), R(6), |
940 B(LdaZero), | 910 B(LdaZero), |
941 B(TestEqualStrictNoFeedback), R(6), | 911 B(TestEqualStrictNoFeedback), R(6), |
942 B(JumpIfTrue), U8(22), | 912 B(JumpIfTrue), U8(14), |
943 B(LdaSmi), I8(2), | 913 B(LdaSmi), I8(2), |
944 B(TestEqualStrictNoFeedback), R(6), | 914 B(TestEqualStrictNoFeedback), R(6), |
945 B(JumpIfTrue), U8(13), | 915 B(JumpIfTrue), U8(5), |
946 B(LdaTrue), | 916 B(Ldar), R(5), |
947 B(Star), R(8), | |
948 B(Mov), R(5), R(7), | |
949 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(7),
U8(2), | |
950 /* 45 S> */ B(Return), | 917 /* 45 S> */ B(Return), |
951 B(Ldar), R(5), | 918 B(Ldar), R(5), |
952 /* 0 E> */ B(Throw), | 919 /* 0 E> */ B(Throw), |
953 /* 27 S> */ B(LdaImmutableCurrentContextSlot), U8(5), | 920 /* 27 S> */ B(LdaImmutableCurrentContextSlot), U8(5), |
954 B(Star), R(5), | 921 B(Star), R(5), |
955 /* 30 E> */ B(LdaNamedProperty), R(5), U8(2), U8(5), | 922 /* 30 E> */ B(LdaNamedProperty), R(5), U8(2), U8(5), |
956 B(Star), R(4), | 923 B(Star), R(4), |
957 B(LdaImmutableCurrentContextSlot), U8(5), | 924 B(LdaImmutableCurrentContextSlot), U8(5), |
958 B(Star), R(6), | 925 B(Star), R(6), |
959 B(LdaImmutableCurrentContextSlot), U8(5), | 926 B(LdaImmutableCurrentContextSlot), U8(5), |
(...skipping 11 matching lines...) Expand all Loading... |
971 ] | 938 ] |
972 constant pool: [ | 939 constant pool: [ |
973 Smi [73], | 940 Smi [73], |
974 FIXED_ARRAY_TYPE, | 941 FIXED_ARRAY_TYPE, |
975 ONE_BYTE_INTERNALIZED_STRING_TYPE ["f"], | 942 ONE_BYTE_INTERNALIZED_STRING_TYPE ["f"], |
976 ONE_BYTE_INTERNALIZED_STRING_TYPE ["x"], | 943 ONE_BYTE_INTERNALIZED_STRING_TYPE ["x"], |
977 ] | 944 ] |
978 handlers: [ | 945 handlers: [ |
979 ] | 946 ] |
980 | 947 |
OLD | NEW |