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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 bytecodes: [ | 111 bytecodes: [ |
112 B(Mov), R(closure), R(1), | 112 B(Mov), R(closure), R(1), |
113 B(Mov), R(new_target), R(0), | 113 B(Mov), R(new_target), R(0), |
114 B(Ldar), R(new_target), | 114 B(Ldar), R(new_target), |
115 /* 113 E> */ B(StackCheck), | 115 /* 113 E> */ B(StackCheck), |
116 /* 118 S> */ B(Ldar), R(1), | 116 /* 118 S> */ B(Ldar), R(1), |
117 B(GetSuperConstructor), R(2), | 117 B(GetSuperConstructor), R(2), |
118 B(LdaSmi), I8(1), | 118 B(LdaSmi), I8(1), |
119 B(Star), R(3), | 119 B(Star), R(3), |
120 B(Ldar), R(0), | 120 B(Ldar), R(0), |
121 /* 118 E> */ B(New), R(2), R(3), U8(1), U8(2), | 121 /* 118 E> */ B(Construct), R(2), R(3), U8(1), U8(2), |
122 B(Star), R(2), | 122 B(Star), R(2), |
123 B(Ldar), R(this), | 123 B(Ldar), R(this), |
124 B(JumpIfNotHole), U8(4), | 124 B(JumpIfNotHole), U8(4), |
125 B(Jump), U8(7), | 125 B(Jump), U8(7), |
126 /* 118 E> */ B(CallRuntime), U16(Runtime::kThrowSuperAlreadyCalledError), R(0
), U8(0), | 126 /* 118 E> */ B(CallRuntime), U16(Runtime::kThrowSuperAlreadyCalledError), R(0
), U8(0), |
127 B(Mov), R(2), R(this), | 127 B(Mov), R(2), R(this), |
128 /* 128 S> */ B(Ldar), R(this), | 128 /* 128 S> */ B(Ldar), R(this), |
129 B(JumpIfNotHole), U8(11), | 129 B(JumpIfNotHole), U8(11), |
130 B(LdaConstant), U8(0), | 130 B(LdaConstant), U8(0), |
131 B(Star), R(2), | 131 B(Star), R(2), |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 parameter count: 1 | 164 parameter count: 1 |
165 bytecode array length: 71 | 165 bytecode array length: 71 |
166 bytecodes: [ | 166 bytecodes: [ |
167 B(Mov), R(closure), R(1), | 167 B(Mov), R(closure), R(1), |
168 B(Mov), R(new_target), R(0), | 168 B(Mov), R(new_target), R(0), |
169 B(Ldar), R(new_target), | 169 B(Ldar), R(new_target), |
170 /* 112 E> */ B(StackCheck), | 170 /* 112 E> */ B(StackCheck), |
171 /* 117 S> */ B(Ldar), R(1), | 171 /* 117 S> */ B(Ldar), R(1), |
172 B(GetSuperConstructor), R(2), | 172 B(GetSuperConstructor), R(2), |
173 B(Ldar), R(0), | 173 B(Ldar), R(0), |
174 /* 117 E> */ B(New), R(2), R(0), U8(0), U8(2), | 174 /* 117 E> */ B(Construct), R(2), R(0), U8(0), U8(2), |
175 B(Star), R(2), | 175 B(Star), R(2), |
176 B(Ldar), R(this), | 176 B(Ldar), R(this), |
177 B(JumpIfNotHole), U8(4), | 177 B(JumpIfNotHole), U8(4), |
178 B(Jump), U8(7), | 178 B(Jump), U8(7), |
179 /* 117 E> */ B(CallRuntime), U16(Runtime::kThrowSuperAlreadyCalledError), R(0
), U8(0), | 179 /* 117 E> */ B(CallRuntime), U16(Runtime::kThrowSuperAlreadyCalledError), R(0
), U8(0), |
180 B(Mov), R(2), R(this), | 180 B(Mov), R(2), R(this), |
181 /* 126 S> */ B(Ldar), R(this), | 181 /* 126 S> */ B(Ldar), R(this), |
182 B(JumpIfNotHole), U8(11), | 182 B(JumpIfNotHole), U8(11), |
183 B(LdaConstant), U8(0), | 183 B(LdaConstant), U8(0), |
184 B(Star), R(2), | 184 B(Star), R(2), |
185 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(2), U8(1), | 185 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(2), U8(1), |
186 B(Star), R(2), | 186 B(Star), R(2), |
187 B(LdaSmi), I8(2), | 187 B(LdaSmi), I8(2), |
188 /* 134 E> */ B(StaNamedPropertyStrict), R(2), U8(1), U8(4), | 188 /* 134 E> */ B(StaNamedPropertyStrict), R(2), U8(1), U8(4), |
189 B(Ldar), R(this), | 189 B(Ldar), R(this), |
190 B(JumpIfNotHole), U8(11), | 190 B(JumpIfNotHole), U8(11), |
191 B(LdaConstant), U8(0), | 191 B(LdaConstant), U8(0), |
192 B(Star), R(2), | 192 B(Star), R(2), |
193 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(2), U8(1), | 193 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(2), U8(1), |
194 /* 139 S> */ B(Return), | 194 /* 139 S> */ B(Return), |
195 ] | 195 ] |
196 constant pool: [ | 196 constant pool: [ |
197 ONE_BYTE_INTERNALIZED_STRING_TYPE ["this"], | 197 ONE_BYTE_INTERNALIZED_STRING_TYPE ["this"], |
198 ONE_BYTE_INTERNALIZED_STRING_TYPE ["y_"], | 198 ONE_BYTE_INTERNALIZED_STRING_TYPE ["y_"], |
199 ] | 199 ] |
200 handlers: [ | 200 handlers: [ |
201 ] | 201 ] |
202 | 202 |
OLD | NEW |