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: test | 7 test function name: test |
8 | 8 |
9 --- | 9 --- |
10 snippet: " | 10 snippet: " |
(...skipping 12 matching lines...) Expand all Loading... |
23 bytecodes: [ | 23 bytecodes: [ |
24 B(CreateRestParameter), | 24 B(CreateRestParameter), |
25 B(Star), R(2), | 25 B(Star), R(2), |
26 B(Mov), R(closure), R(1), | 26 B(Mov), R(closure), R(1), |
27 B(Mov), R(new_target), R(0), | 27 B(Mov), R(new_target), R(0), |
28 B(Ldar), R(new_target), | 28 B(Ldar), R(new_target), |
29 /* 93 E> */ B(StackCheck), | 29 /* 93 E> */ B(StackCheck), |
30 /* 93 S> */ B(Ldar), R(1), | 30 /* 93 S> */ B(Ldar), R(1), |
31 B(GetSuperConstructor), R(3), | 31 B(GetSuperConstructor), R(3), |
32 B(Ldar), R(0), | 32 B(Ldar), R(0), |
33 /* 93 E> */ B(NewWithSpread), R(3), R(2), U8(1), | 33 /* 93 E> */ B(ConstructWithSpread), R(3), R(2), U8(1), |
34 /* 93 S> */ B(Return), | 34 /* 93 S> */ B(Return), |
35 ] | 35 ] |
36 constant pool: [ | 36 constant pool: [ |
37 ] | 37 ] |
38 handlers: [ | 38 handlers: [ |
39 ] | 39 ] |
40 | 40 |
41 --- | 41 --- |
42 snippet: " | 42 snippet: " |
43 var test; | 43 var test; |
(...skipping 16 matching lines...) Expand all Loading... |
60 B(Mov), R(closure), R(1), | 60 B(Mov), R(closure), R(1), |
61 B(Mov), R(new_target), R(0), | 61 B(Mov), R(new_target), R(0), |
62 B(Ldar), R(new_target), | 62 B(Ldar), R(new_target), |
63 /* 128 E> */ B(StackCheck), | 63 /* 128 E> */ B(StackCheck), |
64 /* 140 S> */ B(Ldar), R(1), | 64 /* 140 S> */ B(Ldar), R(1), |
65 B(GetSuperConstructor), R(3), | 65 B(GetSuperConstructor), R(3), |
66 B(LdaSmi), I8(1), | 66 B(LdaSmi), I8(1), |
67 B(Star), R(4), | 67 B(Star), R(4), |
68 B(Ldar), R(0), | 68 B(Ldar), R(0), |
69 B(Mov), R(2), R(5), | 69 B(Mov), R(2), R(5), |
70 /* 140 E> */ B(NewWithSpread), R(3), R(4), U8(2), | 70 /* 140 E> */ B(ConstructWithSpread), R(3), R(4), U8(2), |
71 B(Star), R(3), | 71 B(Star), R(3), |
72 B(Ldar), R(this), | 72 B(Ldar), R(this), |
73 B(JumpIfNotHole), U8(4), | 73 B(JumpIfNotHole), U8(4), |
74 B(Jump), U8(7), | 74 B(Jump), U8(7), |
75 /* 140 E> */ B(CallRuntime), U16(Runtime::kThrowSuperAlreadyCalledError), R(0
), U8(0), | 75 /* 140 E> */ B(CallRuntime), U16(Runtime::kThrowSuperAlreadyCalledError), R(0
), U8(0), |
76 B(Mov), R(3), R(this), | 76 B(Mov), R(3), R(this), |
77 B(Ldar), R(this), | 77 B(Ldar), R(this), |
78 B(JumpIfNotHole), U8(11), | 78 B(JumpIfNotHole), U8(11), |
79 B(LdaConstant), U8(0), | 79 B(LdaConstant), U8(0), |
80 B(Star), R(3), | 80 B(Star), R(3), |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 /* 162 S> */ B(Return), | 143 /* 162 S> */ B(Return), |
144 ] | 144 ] |
145 constant pool: [ | 145 constant pool: [ |
146 CONSTANT_ELEMENTS_PAIR_TYPE, | 146 CONSTANT_ELEMENTS_PAIR_TYPE, |
147 CONSTANT_ELEMENTS_PAIR_TYPE, | 147 CONSTANT_ELEMENTS_PAIR_TYPE, |
148 ONE_BYTE_INTERNALIZED_STRING_TYPE ["this"], | 148 ONE_BYTE_INTERNALIZED_STRING_TYPE ["this"], |
149 ] | 149 ] |
150 handlers: [ | 150 handlers: [ |
151 ] | 151 ] |
152 | 152 |
OLD | NEW |