OLD | NEW |
1 # | 1 # |
2 # Autogenerated by generate-bytecode-expectations. | 2 # Autogenerated by generate-bytecode-expectations. |
3 # | 3 # |
4 | 4 |
5 --- | 5 --- |
6 execute: yes | 6 execute: yes |
7 wrap: yes | 7 wrap: yes |
8 | 8 |
9 --- | 9 --- |
10 snippet: " | 10 snippet: " |
11 return new.target; | 11 return new.target; |
12 " | 12 " |
13 frame size: 1 | 13 frame size: 1 |
14 parameter count: 1 | 14 parameter count: 1 |
15 bytecode array length: 7 | 15 bytecode array length: 9 |
16 bytecodes: [ | 16 bytecodes: [ |
17 B(Mov), R(new_target), R(0), | 17 B(Mov), R(new_target), R(0), |
| 18 B(Ldar), R(new_target), |
18 /* 30 E> */ B(StackCheck), | 19 /* 30 E> */ B(StackCheck), |
19 /* 34 S> */ B(Ldar), R(0), | 20 /* 34 S> */ B(Ldar), R(0), |
20 /* 53 S> */ B(Return), | 21 /* 53 S> */ B(Return), |
21 ] | 22 ] |
22 constant pool: [ | 23 constant pool: [ |
23 ] | 24 ] |
24 handlers: [ | 25 handlers: [ |
25 ] | 26 ] |
26 | 27 |
27 --- | 28 --- |
28 snippet: " | 29 snippet: " |
29 new.target; | 30 new.target; |
30 " | 31 " |
31 frame size: 1 | 32 frame size: 1 |
32 parameter count: 1 | 33 parameter count: 1 |
33 bytecode array length: 6 | 34 bytecode array length: 8 |
34 bytecodes: [ | 35 bytecodes: [ |
35 B(Mov), R(new_target), R(0), | 36 B(Mov), R(new_target), R(0), |
| 37 B(Ldar), R(new_target), |
36 /* 30 E> */ B(StackCheck), | 38 /* 30 E> */ B(StackCheck), |
37 /* 34 S> */ B(LdaUndefined), | 39 /* 34 S> */ B(LdaUndefined), |
38 /* 46 S> */ B(Return), | 40 /* 46 S> */ B(Return), |
39 ] | 41 ] |
40 constant pool: [ | 42 constant pool: [ |
41 ] | 43 ] |
42 handlers: [ | 44 handlers: [ |
43 ] | 45 ] |
44 | 46 |
OLD | NEW |