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: 8 | 14 frame size: 8 |
15 parameter count: 2 | 15 parameter count: 2 |
16 bytecode array length: 136 | 16 bytecode array length: 133 |
17 bytecodes: [ | 17 bytecodes: [ |
18 B(Ldar), R(new_target), | 18 B(Ldar), R(new_target), |
19 B(JumpIfUndefined), U8(26), | 19 B(JumpIfUndefined), U8(25), |
20 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe
t), U8(1), | 20 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetContext), R(new_ta
rget), 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(SwitchOnSmiNoFeedback), U8(0), U8(1), I8(0), | 24 B(SwitchOnSmiNoFeedback), U8(0), U8(1), I8(0), |
25 B(LdaSmi), I8(79), | 25 B(LdaSmi), I8(79), |
26 B(Star), R(3), | 26 B(Star), R(3), |
27 B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1), | 27 B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1), |
28 B(LdaSmi), I8(-2), | 28 B(LdaSmi), I8(-2), |
29 B(Star), R(1), | 29 B(Star), R(1), |
30 B(LdaConstant), U8(1), | 30 B(LdaConstant), U8(1), |
(...skipping 10 matching lines...) Expand all Loading... |
41 B(LdaImmutableCurrentContextSlot), U8(4), | 41 B(LdaImmutableCurrentContextSlot), U8(4), |
42 B(Star), R(3), | 42 B(Star), R(3), |
43 B(LdaImmutableCurrentContextSlot), U8(4), | 43 B(LdaImmutableCurrentContextSlot), U8(4), |
44 B(Star), R(4), | 44 B(Star), R(4), |
45 B(LdaZero), | 45 B(LdaZero), |
46 /* 0 E> */ B(SuspendGenerator), R(3), U8(0), | 46 /* 0 E> */ B(SuspendGenerator), R(3), U8(0), |
47 B(Ldar), R(4), | 47 B(Ldar), R(4), |
48 /* 13 S> */ B(Return), | 48 /* 13 S> */ B(Return), |
49 B(LdaSmi), I8(-2), | 49 B(LdaSmi), I8(-2), |
50 B(Star), R(1), | 50 B(Star), R(1), |
51 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(3
), U8(1), | 51 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos),
R(3), U8(1), |
52 B(Star), R(4), | 52 B(Star), R(4), |
53 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(3), U8
(1), | 53 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(3),
U8(1), |
54 B(Star), R(5), | 54 B(Star), R(5), |
55 B(LdaZero), | 55 B(LdaZero), |
56 B(TestEqualStrictNoFeedback), R(5), | 56 B(TestEqualStrictNoFeedback), R(5), |
57 B(JumpIfTrue), U8(22), | 57 B(JumpIfTrue), U8(22), |
58 B(LdaSmi), I8(2), | 58 B(LdaSmi), I8(2), |
59 B(TestEqualStrictNoFeedback), R(5), | 59 B(TestEqualStrictNoFeedback), R(5), |
60 B(JumpIfTrue), U8(13), | 60 B(JumpIfTrue), U8(13), |
61 B(LdaTrue), | 61 B(LdaTrue), |
62 B(Star), R(7), | 62 B(Star), R(7), |
63 B(Mov), R(4), R(6), | 63 B(Mov), R(4), R(6), |
(...skipping 16 matching lines...) Expand all Loading... |
80 ] | 80 ] |
81 handlers: [ | 81 handlers: [ |
82 ] | 82 ] |
83 | 83 |
84 --- | 84 --- |
85 snippet: " | 85 snippet: " |
86 import {foo} from \"bar\"; | 86 import {foo} from \"bar\"; |
87 " | 87 " |
88 frame size: 8 | 88 frame size: 8 |
89 parameter count: 2 | 89 parameter count: 2 |
90 bytecode array length: 136 | 90 bytecode array length: 133 |
91 bytecodes: [ | 91 bytecodes: [ |
92 B(Ldar), R(new_target), | 92 B(Ldar), R(new_target), |
93 B(JumpIfUndefined), U8(26), | 93 B(JumpIfUndefined), U8(25), |
94 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe
t), U8(1), | 94 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetContext), R(new_ta
rget), U8(1), |
95 B(PushContext), R(2), | 95 B(PushContext), R(2), |
96 B(ResumeGenerator), R(new_target), | 96 B(ResumeGenerator), R(new_target), |
97 B(Star), R(1), | 97 B(Star), R(1), |
98 B(SwitchOnSmiNoFeedback), U8(0), U8(1), I8(0), | 98 B(SwitchOnSmiNoFeedback), U8(0), U8(1), I8(0), |
99 B(LdaSmi), I8(79), | 99 B(LdaSmi), I8(79), |
100 B(Star), R(3), | 100 B(Star), R(3), |
101 B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1), | 101 B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1), |
102 B(LdaSmi), I8(-2), | 102 B(LdaSmi), I8(-2), |
103 B(Star), R(1), | 103 B(Star), R(1), |
104 B(LdaConstant), U8(1), | 104 B(LdaConstant), U8(1), |
(...skipping 10 matching lines...) Expand all Loading... |
115 B(LdaImmutableCurrentContextSlot), U8(4), | 115 B(LdaImmutableCurrentContextSlot), U8(4), |
116 B(Star), R(3), | 116 B(Star), R(3), |
117 B(LdaImmutableCurrentContextSlot), U8(4), | 117 B(LdaImmutableCurrentContextSlot), U8(4), |
118 B(Star), R(4), | 118 B(Star), R(4), |
119 B(LdaZero), | 119 B(LdaZero), |
120 /* 0 E> */ B(SuspendGenerator), R(3), U8(0), | 120 /* 0 E> */ B(SuspendGenerator), R(3), U8(0), |
121 B(Ldar), R(4), | 121 B(Ldar), R(4), |
122 /* 24 S> */ B(Return), | 122 /* 24 S> */ B(Return), |
123 B(LdaSmi), I8(-2), | 123 B(LdaSmi), I8(-2), |
124 B(Star), R(1), | 124 B(Star), R(1), |
125 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(3
), U8(1), | 125 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos),
R(3), U8(1), |
126 B(Star), R(4), | 126 B(Star), R(4), |
127 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(3), U8
(1), | 127 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(3),
U8(1), |
128 B(Star), R(5), | 128 B(Star), R(5), |
129 B(LdaZero), | 129 B(LdaZero), |
130 B(TestEqualStrictNoFeedback), R(5), | 130 B(TestEqualStrictNoFeedback), R(5), |
131 B(JumpIfTrue), U8(22), | 131 B(JumpIfTrue), U8(22), |
132 B(LdaSmi), I8(2), | 132 B(LdaSmi), I8(2), |
133 B(TestEqualStrictNoFeedback), R(5), | 133 B(TestEqualStrictNoFeedback), R(5), |
134 B(JumpIfTrue), U8(13), | 134 B(JumpIfTrue), U8(13), |
135 B(LdaTrue), | 135 B(LdaTrue), |
136 B(Star), R(7), | 136 B(Star), R(7), |
137 B(Mov), R(4), R(6), | 137 B(Mov), R(4), R(6), |
(...skipping 18 matching lines...) Expand all Loading... |
156 ] | 156 ] |
157 | 157 |
158 --- | 158 --- |
159 snippet: " | 159 snippet: " |
160 import {foo as goo} from \"bar\"; | 160 import {foo as goo} from \"bar\"; |
161 goo(42); | 161 goo(42); |
162 { let x; { goo(42) } }; | 162 { let x; { goo(42) } }; |
163 " | 163 " |
164 frame size: 9 | 164 frame size: 9 |
165 parameter count: 2 | 165 parameter count: 2 |
166 bytecode array length: 198 | 166 bytecode array length: 195 |
167 bytecodes: [ | 167 bytecodes: [ |
168 B(Ldar), R(new_target), | 168 B(Ldar), R(new_target), |
169 B(JumpIfUndefined), U8(26), | 169 B(JumpIfUndefined), U8(25), |
170 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe
t), U8(1), | 170 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetContext), R(new_ta
rget), U8(1), |
171 B(PushContext), R(3), | 171 B(PushContext), R(3), |
172 B(ResumeGenerator), R(new_target), | 172 B(ResumeGenerator), R(new_target), |
173 B(Star), R(2), | 173 B(Star), R(2), |
174 B(SwitchOnSmiNoFeedback), U8(0), U8(1), I8(0), | 174 B(SwitchOnSmiNoFeedback), U8(0), U8(1), I8(0), |
175 B(LdaSmi), I8(79), | 175 B(LdaSmi), I8(79), |
176 B(Star), R(4), | 176 B(Star), R(4), |
177 B(CallRuntime), U16(Runtime::kAbort), R(4), U8(1), | 177 B(CallRuntime), U16(Runtime::kAbort), R(4), U8(1), |
178 B(LdaSmi), I8(-2), | 178 B(LdaSmi), I8(-2), |
179 B(Star), R(2), | 179 B(Star), R(2), |
180 B(LdaConstant), U8(1), | 180 B(LdaConstant), U8(1), |
(...skipping 10 matching lines...) Expand all Loading... |
191 B(LdaImmutableCurrentContextSlot), U8(4), | 191 B(LdaImmutableCurrentContextSlot), U8(4), |
192 B(Star), R(4), | 192 B(Star), R(4), |
193 B(LdaImmutableCurrentContextSlot), U8(4), | 193 B(LdaImmutableCurrentContextSlot), U8(4), |
194 B(Star), R(5), | 194 B(Star), R(5), |
195 B(LdaZero), | 195 B(LdaZero), |
196 /* 0 E> */ B(SuspendGenerator), R(4), U8(0), | 196 /* 0 E> */ B(SuspendGenerator), R(4), U8(0), |
197 B(Ldar), R(5), | 197 B(Ldar), R(5), |
198 /* 64 S> */ B(Return), | 198 /* 64 S> */ B(Return), |
199 B(LdaSmi), I8(-2), | 199 B(LdaSmi), I8(-2), |
200 B(Star), R(2), | 200 B(Star), R(2), |
201 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(4
), U8(1), | 201 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos),
R(4), U8(1), |
202 B(Star), R(5), | 202 B(Star), R(5), |
203 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(4), U8
(1), | 203 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(4),
U8(1), |
204 B(Star), R(6), | 204 B(Star), R(6), |
205 B(LdaZero), | 205 B(LdaZero), |
206 B(TestEqualStrictNoFeedback), R(6), | 206 B(TestEqualStrictNoFeedback), R(6), |
207 B(JumpIfTrue), U8(22), | 207 B(JumpIfTrue), U8(22), |
208 B(LdaSmi), I8(2), | 208 B(LdaSmi), I8(2), |
209 B(TestEqualStrictNoFeedback), R(6), | 209 B(TestEqualStrictNoFeedback), R(6), |
210 B(JumpIfTrue), U8(13), | 210 B(JumpIfTrue), U8(13), |
211 B(LdaTrue), | 211 B(LdaTrue), |
212 B(Star), R(8), | 212 B(Star), R(8), |
213 B(Mov), R(5), R(7), | 213 B(Mov), R(5), R(7), |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
259 ] | 259 ] |
260 | 260 |
261 --- | 261 --- |
262 snippet: " | 262 snippet: " |
263 export var foo = 42; | 263 export var foo = 42; |
264 foo++; | 264 foo++; |
265 { let x; { foo++ } }; | 265 { let x; { foo++ } }; |
266 " | 266 " |
267 frame size: 9 | 267 frame size: 9 |
268 parameter count: 2 | 268 parameter count: 2 |
269 bytecode array length: 178 | 269 bytecode array length: 175 |
270 bytecodes: [ | 270 bytecodes: [ |
271 B(Ldar), R(new_target), | 271 B(Ldar), R(new_target), |
272 B(JumpIfUndefined), U8(26), | 272 B(JumpIfUndefined), U8(25), |
273 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe
t), U8(1), | 273 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetContext), R(new_ta
rget), U8(1), |
274 B(PushContext), R(3), | 274 B(PushContext), R(3), |
275 B(ResumeGenerator), R(new_target), | 275 B(ResumeGenerator), R(new_target), |
276 B(Star), R(2), | 276 B(Star), R(2), |
277 B(SwitchOnSmiNoFeedback), U8(0), U8(1), I8(0), | 277 B(SwitchOnSmiNoFeedback), U8(0), U8(1), I8(0), |
278 B(LdaSmi), I8(79), | 278 B(LdaSmi), I8(79), |
279 B(Star), R(4), | 279 B(Star), R(4), |
280 B(CallRuntime), U16(Runtime::kAbort), R(4), U8(1), | 280 B(CallRuntime), U16(Runtime::kAbort), R(4), U8(1), |
281 B(LdaSmi), I8(-2), | 281 B(LdaSmi), I8(-2), |
282 B(Star), R(2), | 282 B(Star), R(2), |
283 B(LdaConstant), U8(1), | 283 B(LdaConstant), U8(1), |
(...skipping 10 matching lines...) Expand all Loading... |
294 B(LdaImmutableCurrentContextSlot), U8(4), | 294 B(LdaImmutableCurrentContextSlot), U8(4), |
295 B(Star), R(4), | 295 B(Star), R(4), |
296 B(LdaImmutableCurrentContextSlot), U8(4), | 296 B(LdaImmutableCurrentContextSlot), U8(4), |
297 B(Star), R(5), | 297 B(Star), R(5), |
298 B(LdaZero), | 298 B(LdaZero), |
299 /* 0 E> */ B(SuspendGenerator), R(4), U8(0), | 299 /* 0 E> */ B(SuspendGenerator), R(4), U8(0), |
300 B(Ldar), R(5), | 300 B(Ldar), R(5), |
301 /* 49 S> */ B(Return), | 301 /* 49 S> */ B(Return), |
302 B(LdaSmi), I8(-2), | 302 B(LdaSmi), I8(-2), |
303 B(Star), R(2), | 303 B(Star), R(2), |
304 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(4
), U8(1), | 304 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos),
R(4), U8(1), |
305 B(Star), R(5), | 305 B(Star), R(5), |
306 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(4), U8
(1), | 306 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(4),
U8(1), |
307 B(Star), R(6), | 307 B(Star), R(6), |
308 B(LdaZero), | 308 B(LdaZero), |
309 B(TestEqualStrictNoFeedback), R(6), | 309 B(TestEqualStrictNoFeedback), R(6), |
310 B(JumpIfTrue), U8(22), | 310 B(JumpIfTrue), U8(22), |
311 B(LdaSmi), I8(2), | 311 B(LdaSmi), I8(2), |
312 B(TestEqualStrictNoFeedback), R(6), | 312 B(TestEqualStrictNoFeedback), R(6), |
313 B(JumpIfTrue), U8(13), | 313 B(JumpIfTrue), U8(13), |
314 B(LdaTrue), | 314 B(LdaTrue), |
315 B(Star), R(8), | 315 B(Star), R(8), |
316 B(Mov), R(5), R(7), | 316 B(Mov), R(5), R(7), |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
354 ] | 354 ] |
355 | 355 |
356 --- | 356 --- |
357 snippet: " | 357 snippet: " |
358 export let foo = 42; | 358 export let foo = 42; |
359 foo++; | 359 foo++; |
360 { let x; { foo++ } }; | 360 { let x; { foo++ } }; |
361 " | 361 " |
362 frame size: 9 | 362 frame size: 9 |
363 parameter count: 2 | 363 parameter count: 2 |
364 bytecode array length: 182 | 364 bytecode array length: 179 |
365 bytecodes: [ | 365 bytecodes: [ |
366 B(Ldar), R(new_target), | 366 B(Ldar), R(new_target), |
367 B(JumpIfUndefined), U8(26), | 367 B(JumpIfUndefined), U8(25), |
368 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe
t), U8(1), | 368 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetContext), R(new_ta
rget), U8(1), |
369 B(PushContext), R(3), | 369 B(PushContext), R(3), |
370 B(ResumeGenerator), R(new_target), | 370 B(ResumeGenerator), R(new_target), |
371 B(Star), R(2), | 371 B(Star), R(2), |
372 B(SwitchOnSmiNoFeedback), U8(0), U8(1), I8(0), | 372 B(SwitchOnSmiNoFeedback), U8(0), U8(1), I8(0), |
373 B(LdaSmi), I8(79), | 373 B(LdaSmi), I8(79), |
374 B(Star), R(4), | 374 B(Star), R(4), |
375 B(CallRuntime), U16(Runtime::kAbort), R(4), U8(1), | 375 B(CallRuntime), U16(Runtime::kAbort), R(4), U8(1), |
376 B(LdaSmi), I8(-2), | 376 B(LdaSmi), I8(-2), |
377 B(Star), R(2), | 377 B(Star), R(2), |
378 B(LdaConstant), U8(1), | 378 B(LdaConstant), U8(1), |
(...skipping 12 matching lines...) Expand all Loading... |
391 B(LdaImmutableCurrentContextSlot), U8(4), | 391 B(LdaImmutableCurrentContextSlot), U8(4), |
392 B(Star), R(4), | 392 B(Star), R(4), |
393 B(LdaImmutableCurrentContextSlot), U8(4), | 393 B(LdaImmutableCurrentContextSlot), U8(4), |
394 B(Star), R(5), | 394 B(Star), R(5), |
395 B(LdaZero), | 395 B(LdaZero), |
396 /* 0 E> */ B(SuspendGenerator), R(4), U8(0), | 396 /* 0 E> */ B(SuspendGenerator), R(4), U8(0), |
397 B(Ldar), R(5), | 397 B(Ldar), R(5), |
398 /* 49 S> */ B(Return), | 398 /* 49 S> */ B(Return), |
399 B(LdaSmi), I8(-2), | 399 B(LdaSmi), I8(-2), |
400 B(Star), R(2), | 400 B(Star), R(2), |
401 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(4
), U8(1), | 401 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos),
R(4), U8(1), |
402 B(Star), R(5), | 402 B(Star), R(5), |
403 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(4), U8
(1), | 403 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(4),
U8(1), |
404 B(Star), R(6), | 404 B(Star), R(6), |
405 B(LdaZero), | 405 B(LdaZero), |
406 B(TestEqualStrictNoFeedback), R(6), | 406 B(TestEqualStrictNoFeedback), R(6), |
407 B(JumpIfTrue), U8(22), | 407 B(JumpIfTrue), U8(22), |
408 B(LdaSmi), I8(2), | 408 B(LdaSmi), I8(2), |
409 B(TestEqualStrictNoFeedback), R(6), | 409 B(TestEqualStrictNoFeedback), R(6), |
410 B(JumpIfTrue), U8(13), | 410 B(JumpIfTrue), U8(13), |
411 B(LdaTrue), | 411 B(LdaTrue), |
412 B(Star), R(8), | 412 B(Star), R(8), |
413 B(Mov), R(5), R(7), | 413 B(Mov), R(5), R(7), |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
451 ] | 451 ] |
452 | 452 |
453 --- | 453 --- |
454 snippet: " | 454 snippet: " |
455 export const foo = 42; | 455 export const foo = 42; |
456 foo++; | 456 foo++; |
457 { let x; { foo++ } }; | 457 { let x; { foo++ } }; |
458 " | 458 " |
459 frame size: 9 | 459 frame size: 9 |
460 parameter count: 2 | 460 parameter count: 2 |
461 bytecode array length: 186 | 461 bytecode array length: 183 |
462 bytecodes: [ | 462 bytecodes: [ |
463 B(Ldar), R(new_target), | 463 B(Ldar), R(new_target), |
464 B(JumpIfUndefined), U8(26), | 464 B(JumpIfUndefined), U8(25), |
465 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe
t), U8(1), | 465 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetContext), R(new_ta
rget), U8(1), |
466 B(PushContext), R(3), | 466 B(PushContext), R(3), |
467 B(ResumeGenerator), R(new_target), | 467 B(ResumeGenerator), R(new_target), |
468 B(Star), R(2), | 468 B(Star), R(2), |
469 B(SwitchOnSmiNoFeedback), U8(0), U8(1), I8(0), | 469 B(SwitchOnSmiNoFeedback), U8(0), U8(1), I8(0), |
470 B(LdaSmi), I8(79), | 470 B(LdaSmi), I8(79), |
471 B(Star), R(4), | 471 B(Star), R(4), |
472 B(CallRuntime), U16(Runtime::kAbort), R(4), U8(1), | 472 B(CallRuntime), U16(Runtime::kAbort), R(4), U8(1), |
473 B(LdaSmi), I8(-2), | 473 B(LdaSmi), I8(-2), |
474 B(Star), R(2), | 474 B(Star), R(2), |
475 B(LdaConstant), U8(1), | 475 B(LdaConstant), U8(1), |
(...skipping 12 matching lines...) Expand all Loading... |
488 B(LdaImmutableCurrentContextSlot), U8(4), | 488 B(LdaImmutableCurrentContextSlot), U8(4), |
489 B(Star), R(4), | 489 B(Star), R(4), |
490 B(LdaImmutableCurrentContextSlot), U8(4), | 490 B(LdaImmutableCurrentContextSlot), U8(4), |
491 B(Star), R(5), | 491 B(Star), R(5), |
492 B(LdaZero), | 492 B(LdaZero), |
493 /* 0 E> */ B(SuspendGenerator), R(4), U8(0), | 493 /* 0 E> */ B(SuspendGenerator), R(4), U8(0), |
494 B(Ldar), R(5), | 494 B(Ldar), R(5), |
495 /* 51 S> */ B(Return), | 495 /* 51 S> */ B(Return), |
496 B(LdaSmi), I8(-2), | 496 B(LdaSmi), I8(-2), |
497 B(Star), R(2), | 497 B(Star), R(2), |
498 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(4
), U8(1), | 498 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos),
R(4), U8(1), |
499 B(Star), R(5), | 499 B(Star), R(5), |
500 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(4), U8
(1), | 500 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(4),
U8(1), |
501 B(Star), R(6), | 501 B(Star), R(6), |
502 B(LdaZero), | 502 B(LdaZero), |
503 B(TestEqualStrictNoFeedback), R(6), | 503 B(TestEqualStrictNoFeedback), R(6), |
504 B(JumpIfTrue), U8(22), | 504 B(JumpIfTrue), U8(22), |
505 B(LdaSmi), I8(2), | 505 B(LdaSmi), I8(2), |
506 B(TestEqualStrictNoFeedback), R(6), | 506 B(TestEqualStrictNoFeedback), R(6), |
507 B(JumpIfTrue), U8(13), | 507 B(JumpIfTrue), U8(13), |
508 B(LdaTrue), | 508 B(LdaTrue), |
509 B(Star), R(8), | 509 B(Star), R(8), |
510 B(Mov), R(5), R(7), | 510 B(Mov), R(5), R(7), |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
546 ] | 546 ] |
547 handlers: [ | 547 handlers: [ |
548 ] | 548 ] |
549 | 549 |
550 --- | 550 --- |
551 snippet: " | 551 snippet: " |
552 export default (function () {}); | 552 export default (function () {}); |
553 " | 553 " |
554 frame size: 8 | 554 frame size: 8 |
555 parameter count: 2 | 555 parameter count: 2 |
556 bytecode array length: 147 | 556 bytecode array length: 144 |
557 bytecodes: [ | 557 bytecodes: [ |
558 B(Ldar), R(new_target), | 558 B(Ldar), R(new_target), |
559 B(JumpIfUndefined), U8(26), | 559 B(JumpIfUndefined), U8(25), |
560 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe
t), U8(1), | 560 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetContext), R(new_ta
rget), U8(1), |
561 B(PushContext), R(2), | 561 B(PushContext), R(2), |
562 B(ResumeGenerator), R(new_target), | 562 B(ResumeGenerator), R(new_target), |
563 B(Star), R(1), | 563 B(Star), R(1), |
564 B(SwitchOnSmiNoFeedback), U8(0), U8(1), I8(0), | 564 B(SwitchOnSmiNoFeedback), U8(0), U8(1), I8(0), |
565 B(LdaSmi), I8(79), | 565 B(LdaSmi), I8(79), |
566 B(Star), R(3), | 566 B(Star), R(3), |
567 B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1), | 567 B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1), |
568 B(LdaSmi), I8(-2), | 568 B(LdaSmi), I8(-2), |
569 B(Star), R(1), | 569 B(Star), R(1), |
570 B(LdaConstant), U8(1), | 570 B(LdaConstant), U8(1), |
(...skipping 12 matching lines...) Expand all Loading... |
583 B(LdaImmutableCurrentContextSlot), U8(4), | 583 B(LdaImmutableCurrentContextSlot), U8(4), |
584 B(Star), R(3), | 584 B(Star), R(3), |
585 B(LdaImmutableCurrentContextSlot), U8(4), | 585 B(LdaImmutableCurrentContextSlot), U8(4), |
586 B(Star), R(4), | 586 B(Star), R(4), |
587 B(LdaZero), | 587 B(LdaZero), |
588 /* 0 E> */ B(SuspendGenerator), R(3), U8(0), | 588 /* 0 E> */ B(SuspendGenerator), R(3), U8(0), |
589 B(Ldar), R(4), | 589 B(Ldar), R(4), |
590 /* 32 S> */ B(Return), | 590 /* 32 S> */ B(Return), |
591 B(LdaSmi), I8(-2), | 591 B(LdaSmi), I8(-2), |
592 B(Star), R(1), | 592 B(Star), R(1), |
593 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(3
), U8(1), | 593 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos),
R(3), U8(1), |
594 B(Star), R(4), | 594 B(Star), R(4), |
595 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(3), U8
(1), | 595 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(3),
U8(1), |
596 B(Star), R(5), | 596 B(Star), R(5), |
597 B(LdaZero), | 597 B(LdaZero), |
598 B(TestEqualStrictNoFeedback), R(5), | 598 B(TestEqualStrictNoFeedback), R(5), |
599 B(JumpIfTrue), U8(22), | 599 B(JumpIfTrue), U8(22), |
600 B(LdaSmi), I8(2), | 600 B(LdaSmi), I8(2), |
601 B(TestEqualStrictNoFeedback), R(5), | 601 B(TestEqualStrictNoFeedback), R(5), |
602 B(JumpIfTrue), U8(13), | 602 B(JumpIfTrue), U8(13), |
603 B(LdaTrue), | 603 B(LdaTrue), |
604 B(Star), R(7), | 604 B(Star), R(7), |
605 B(Mov), R(4), R(6), | 605 B(Mov), R(4), R(6), |
(...skipping 19 matching lines...) Expand all Loading... |
625 ] | 625 ] |
626 handlers: [ | 626 handlers: [ |
627 ] | 627 ] |
628 | 628 |
629 --- | 629 --- |
630 snippet: " | 630 snippet: " |
631 export default (class {}); | 631 export default (class {}); |
632 " | 632 " |
633 frame size: 8 | 633 frame size: 8 |
634 parameter count: 2 | 634 parameter count: 2 |
635 bytecode array length: 180 | 635 bytecode array length: 177 |
636 bytecodes: [ | 636 bytecodes: [ |
637 B(Ldar), R(new_target), | 637 B(Ldar), R(new_target), |
638 B(JumpIfUndefined), U8(26), | 638 B(JumpIfUndefined), U8(25), |
639 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe
t), U8(1), | 639 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetContext), R(new_ta
rget), U8(1), |
640 B(PushContext), R(2), | 640 B(PushContext), R(2), |
641 B(ResumeGenerator), R(new_target), | 641 B(ResumeGenerator), R(new_target), |
642 B(Star), R(1), | 642 B(Star), R(1), |
643 B(SwitchOnSmiNoFeedback), U8(0), U8(1), I8(0), | 643 B(SwitchOnSmiNoFeedback), U8(0), U8(1), I8(0), |
644 B(LdaSmi), I8(79), | 644 B(LdaSmi), I8(79), |
645 B(Star), R(3), | 645 B(Star), R(3), |
646 B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1), | 646 B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1), |
647 B(LdaSmi), I8(-2), | 647 B(LdaSmi), I8(-2), |
648 B(Star), R(1), | 648 B(Star), R(1), |
649 B(LdaConstant), U8(1), | 649 B(LdaConstant), U8(1), |
(...skipping 12 matching lines...) Expand all Loading... |
662 B(LdaImmutableCurrentContextSlot), U8(4), | 662 B(LdaImmutableCurrentContextSlot), U8(4), |
663 B(Star), R(3), | 663 B(Star), R(3), |
664 B(LdaImmutableCurrentContextSlot), U8(4), | 664 B(LdaImmutableCurrentContextSlot), U8(4), |
665 B(Star), R(4), | 665 B(Star), R(4), |
666 B(LdaZero), | 666 B(LdaZero), |
667 /* 0 E> */ B(SuspendGenerator), R(3), U8(0), | 667 /* 0 E> */ B(SuspendGenerator), R(3), U8(0), |
668 B(Ldar), R(4), | 668 B(Ldar), R(4), |
669 /* 26 S> */ B(Return), | 669 /* 26 S> */ B(Return), |
670 B(LdaSmi), I8(-2), | 670 B(LdaSmi), I8(-2), |
671 B(Star), R(1), | 671 B(Star), R(1), |
672 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(3
), U8(1), | 672 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos),
R(3), U8(1), |
673 B(Star), R(4), | 673 B(Star), R(4), |
674 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(3), U8
(1), | 674 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(3),
U8(1), |
675 B(Star), R(5), | 675 B(Star), R(5), |
676 B(LdaZero), | 676 B(LdaZero), |
677 B(TestEqualStrictNoFeedback), R(5), | 677 B(TestEqualStrictNoFeedback), R(5), |
678 B(JumpIfTrue), U8(22), | 678 B(JumpIfTrue), U8(22), |
679 B(LdaSmi), I8(2), | 679 B(LdaSmi), I8(2), |
680 B(TestEqualStrictNoFeedback), R(5), | 680 B(TestEqualStrictNoFeedback), R(5), |
681 B(JumpIfTrue), U8(13), | 681 B(JumpIfTrue), U8(13), |
682 B(LdaTrue), | 682 B(LdaTrue), |
683 B(Star), R(7), | 683 B(Star), R(7), |
684 B(Mov), R(4), R(6), | 684 B(Mov), R(4), R(6), |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
716 ] | 716 ] |
717 handlers: [ | 717 handlers: [ |
718 ] | 718 ] |
719 | 719 |
720 --- | 720 --- |
721 snippet: " | 721 snippet: " |
722 export {foo as goo} from \"bar\" | 722 export {foo as goo} from \"bar\" |
723 " | 723 " |
724 frame size: 8 | 724 frame size: 8 |
725 parameter count: 2 | 725 parameter count: 2 |
726 bytecode array length: 136 | 726 bytecode array length: 133 |
727 bytecodes: [ | 727 bytecodes: [ |
728 B(Ldar), R(new_target), | 728 B(Ldar), R(new_target), |
729 B(JumpIfUndefined), U8(26), | 729 B(JumpIfUndefined), U8(25), |
730 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe
t), U8(1), | 730 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetContext), R(new_ta
rget), U8(1), |
731 B(PushContext), R(2), | 731 B(PushContext), R(2), |
732 B(ResumeGenerator), R(new_target), | 732 B(ResumeGenerator), R(new_target), |
733 B(Star), R(1), | 733 B(Star), R(1), |
734 B(SwitchOnSmiNoFeedback), U8(0), U8(1), I8(0), | 734 B(SwitchOnSmiNoFeedback), U8(0), U8(1), I8(0), |
735 B(LdaSmi), I8(79), | 735 B(LdaSmi), I8(79), |
736 B(Star), R(3), | 736 B(Star), R(3), |
737 B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1), | 737 B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1), |
738 B(LdaSmi), I8(-2), | 738 B(LdaSmi), I8(-2), |
739 B(Star), R(1), | 739 B(Star), R(1), |
740 B(LdaConstant), U8(1), | 740 B(LdaConstant), U8(1), |
(...skipping 10 matching lines...) Expand all Loading... |
751 B(LdaImmutableCurrentContextSlot), U8(4), | 751 B(LdaImmutableCurrentContextSlot), U8(4), |
752 B(Star), R(3), | 752 B(Star), R(3), |
753 B(LdaImmutableCurrentContextSlot), U8(4), | 753 B(LdaImmutableCurrentContextSlot), U8(4), |
754 B(Star), R(4), | 754 B(Star), R(4), |
755 B(LdaZero), | 755 B(LdaZero), |
756 /* 0 E> */ B(SuspendGenerator), R(3), U8(0), | 756 /* 0 E> */ B(SuspendGenerator), R(3), U8(0), |
757 B(Ldar), R(4), | 757 B(Ldar), R(4), |
758 /* 30 S> */ B(Return), | 758 /* 30 S> */ B(Return), |
759 B(LdaSmi), I8(-2), | 759 B(LdaSmi), I8(-2), |
760 B(Star), R(1), | 760 B(Star), R(1), |
761 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(3
), U8(1), | 761 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos),
R(3), U8(1), |
762 B(Star), R(4), | 762 B(Star), R(4), |
763 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(3), U8
(1), | 763 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(3),
U8(1), |
764 B(Star), R(5), | 764 B(Star), R(5), |
765 B(LdaZero), | 765 B(LdaZero), |
766 B(TestEqualStrictNoFeedback), R(5), | 766 B(TestEqualStrictNoFeedback), R(5), |
767 B(JumpIfTrue), U8(22), | 767 B(JumpIfTrue), U8(22), |
768 B(LdaSmi), I8(2), | 768 B(LdaSmi), I8(2), |
769 B(TestEqualStrictNoFeedback), R(5), | 769 B(TestEqualStrictNoFeedback), R(5), |
770 B(JumpIfTrue), U8(13), | 770 B(JumpIfTrue), U8(13), |
771 B(LdaTrue), | 771 B(LdaTrue), |
772 B(Star), R(7), | 772 B(Star), R(7), |
773 B(Mov), R(4), R(6), | 773 B(Mov), R(4), R(6), |
(...skipping 16 matching lines...) Expand all Loading... |
790 ] | 790 ] |
791 handlers: [ | 791 handlers: [ |
792 ] | 792 ] |
793 | 793 |
794 --- | 794 --- |
795 snippet: " | 795 snippet: " |
796 export * from \"bar\" | 796 export * from \"bar\" |
797 " | 797 " |
798 frame size: 8 | 798 frame size: 8 |
799 parameter count: 2 | 799 parameter count: 2 |
800 bytecode array length: 136 | 800 bytecode array length: 133 |
801 bytecodes: [ | 801 bytecodes: [ |
802 B(Ldar), R(new_target), | 802 B(Ldar), R(new_target), |
803 B(JumpIfUndefined), U8(26), | 803 B(JumpIfUndefined), U8(25), |
804 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe
t), U8(1), | 804 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetContext), R(new_ta
rget), U8(1), |
805 B(PushContext), R(2), | 805 B(PushContext), R(2), |
806 B(ResumeGenerator), R(new_target), | 806 B(ResumeGenerator), R(new_target), |
807 B(Star), R(1), | 807 B(Star), R(1), |
808 B(SwitchOnSmiNoFeedback), U8(0), U8(1), I8(0), | 808 B(SwitchOnSmiNoFeedback), U8(0), U8(1), I8(0), |
809 B(LdaSmi), I8(79), | 809 B(LdaSmi), I8(79), |
810 B(Star), R(3), | 810 B(Star), R(3), |
811 B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1), | 811 B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1), |
812 B(LdaSmi), I8(-2), | 812 B(LdaSmi), I8(-2), |
813 B(Star), R(1), | 813 B(Star), R(1), |
814 B(LdaConstant), U8(1), | 814 B(LdaConstant), U8(1), |
(...skipping 10 matching lines...) Expand all Loading... |
825 B(LdaImmutableCurrentContextSlot), U8(4), | 825 B(LdaImmutableCurrentContextSlot), U8(4), |
826 B(Star), R(3), | 826 B(Star), R(3), |
827 B(LdaImmutableCurrentContextSlot), U8(4), | 827 B(LdaImmutableCurrentContextSlot), U8(4), |
828 B(Star), R(4), | 828 B(Star), R(4), |
829 B(LdaZero), | 829 B(LdaZero), |
830 /* 0 E> */ B(SuspendGenerator), R(3), U8(0), | 830 /* 0 E> */ B(SuspendGenerator), R(3), U8(0), |
831 B(Ldar), R(4), | 831 B(Ldar), R(4), |
832 /* 19 S> */ B(Return), | 832 /* 19 S> */ B(Return), |
833 B(LdaSmi), I8(-2), | 833 B(LdaSmi), I8(-2), |
834 B(Star), R(1), | 834 B(Star), R(1), |
835 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(3
), U8(1), | 835 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos),
R(3), U8(1), |
836 B(Star), R(4), | 836 B(Star), R(4), |
837 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(3), U8
(1), | 837 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(3),
U8(1), |
838 B(Star), R(5), | 838 B(Star), R(5), |
839 B(LdaZero), | 839 B(LdaZero), |
840 B(TestEqualStrictNoFeedback), R(5), | 840 B(TestEqualStrictNoFeedback), R(5), |
841 B(JumpIfTrue), U8(22), | 841 B(JumpIfTrue), U8(22), |
842 B(LdaSmi), I8(2), | 842 B(LdaSmi), I8(2), |
843 B(TestEqualStrictNoFeedback), R(5), | 843 B(TestEqualStrictNoFeedback), R(5), |
844 B(JumpIfTrue), U8(13), | 844 B(JumpIfTrue), U8(13), |
845 B(LdaTrue), | 845 B(LdaTrue), |
846 B(Star), R(7), | 846 B(Star), R(7), |
847 B(Mov), R(4), R(6), | 847 B(Mov), R(4), R(6), |
(...skipping 17 matching lines...) Expand all Loading... |
865 handlers: [ | 865 handlers: [ |
866 ] | 866 ] |
867 | 867 |
868 --- | 868 --- |
869 snippet: " | 869 snippet: " |
870 import * as foo from \"bar\" | 870 import * as foo from \"bar\" |
871 foo.f(foo, foo.x); | 871 foo.f(foo, foo.x); |
872 " | 872 " |
873 frame size: 8 | 873 frame size: 8 |
874 parameter count: 2 | 874 parameter count: 2 |
875 bytecode array length: 174 | 875 bytecode array length: 171 |
876 bytecodes: [ | 876 bytecodes: [ |
877 B(Ldar), R(new_target), | 877 B(Ldar), R(new_target), |
878 B(JumpIfUndefined), U8(26), | 878 B(JumpIfUndefined), U8(25), |
879 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe
t), U8(1), | 879 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetContext), R(new_ta
rget), U8(1), |
880 B(PushContext), R(2), | 880 B(PushContext), R(2), |
881 B(ResumeGenerator), R(new_target), | 881 B(ResumeGenerator), R(new_target), |
882 B(Star), R(1), | 882 B(Star), R(1), |
883 B(SwitchOnSmiNoFeedback), U8(0), U8(1), I8(0), | 883 B(SwitchOnSmiNoFeedback), U8(0), U8(1), I8(0), |
884 B(LdaSmi), I8(79), | 884 B(LdaSmi), I8(79), |
885 B(Star), R(3), | 885 B(Star), R(3), |
886 B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1), | 886 B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1), |
887 B(LdaSmi), I8(-2), | 887 B(LdaSmi), I8(-2), |
888 B(Star), R(1), | 888 B(Star), R(1), |
889 B(LdaConstant), U8(1), | 889 B(LdaConstant), U8(1), |
(...skipping 14 matching lines...) Expand all Loading... |
904 B(LdaImmutableCurrentContextSlot), U8(4), | 904 B(LdaImmutableCurrentContextSlot), U8(4), |
905 B(Star), R(3), | 905 B(Star), R(3), |
906 B(LdaImmutableCurrentContextSlot), U8(4), | 906 B(LdaImmutableCurrentContextSlot), U8(4), |
907 B(Star), R(4), | 907 B(Star), R(4), |
908 B(LdaZero), | 908 B(LdaZero), |
909 /* 0 E> */ B(SuspendGenerator), R(3), U8(0), | 909 /* 0 E> */ B(SuspendGenerator), R(3), U8(0), |
910 B(Ldar), R(4), | 910 B(Ldar), R(4), |
911 /* 45 S> */ B(Return), | 911 /* 45 S> */ B(Return), |
912 B(LdaSmi), I8(-2), | 912 B(LdaSmi), I8(-2), |
913 B(Star), R(1), | 913 B(Star), R(1), |
914 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(3
), U8(1), | 914 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos),
R(3), U8(1), |
915 B(Star), R(4), | 915 B(Star), R(4), |
916 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(3), U8
(1), | 916 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(3),
U8(1), |
917 B(Star), R(5), | 917 B(Star), R(5), |
918 B(LdaZero), | 918 B(LdaZero), |
919 B(TestEqualStrictNoFeedback), R(5), | 919 B(TestEqualStrictNoFeedback), R(5), |
920 B(JumpIfTrue), U8(22), | 920 B(JumpIfTrue), U8(22), |
921 B(LdaSmi), I8(2), | 921 B(LdaSmi), I8(2), |
922 B(TestEqualStrictNoFeedback), R(5), | 922 B(TestEqualStrictNoFeedback), R(5), |
923 B(JumpIfTrue), U8(13), | 923 B(JumpIfTrue), U8(13), |
924 B(LdaTrue), | 924 B(LdaTrue), |
925 B(Star), R(7), | 925 B(Star), R(7), |
926 B(Mov), R(4), R(6), | 926 B(Mov), R(4), R(6), |
(...skipping 22 matching lines...) Expand all Loading... |
949 ] | 949 ] |
950 constant pool: [ | 950 constant pool: [ |
951 Smi [72], | 951 Smi [72], |
952 FIXED_ARRAY_TYPE, | 952 FIXED_ARRAY_TYPE, |
953 ONE_BYTE_INTERNALIZED_STRING_TYPE ["f"], | 953 ONE_BYTE_INTERNALIZED_STRING_TYPE ["f"], |
954 ONE_BYTE_INTERNALIZED_STRING_TYPE ["x"], | 954 ONE_BYTE_INTERNALIZED_STRING_TYPE ["x"], |
955 ] | 955 ] |
956 handlers: [ | 956 handlers: [ |
957 ] | 957 ] |
958 | 958 |
OLD | NEW |