OLD | NEW |
1 # | 1 # |
2 # Autogenerated by generate-bytecode-expectations. | 2 # Autogenerated by generate-bytecode-expectations. |
3 # | 3 # |
4 | 4 |
5 --- | 5 --- |
6 pool type: mixed | 6 pool type: mixed |
7 execute: yes | 7 execute: yes |
8 wrap: yes | 8 wrap: yes |
9 | 9 |
10 --- | 10 --- |
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
189 ] | 189 ] |
190 | 190 |
191 --- | 191 --- |
192 snippet: " | 192 snippet: " |
193 var count = 0; | 193 var count = 0; |
194 class C { constructor() { count++; }} | 194 class C { constructor() { count++; }} |
195 return new C(); | 195 return new C(); |
196 " | 196 " |
197 frame size: 8 | 197 frame size: 8 |
198 parameter count: 1 | 198 parameter count: 1 |
199 bytecode array length: 72 | 199 bytecode array length: 73 |
200 bytecodes: [ | 200 bytecodes: [ |
201 B(CreateFunctionContext), U8(1), | 201 B(CreateFunctionContext), U8(1), |
202 B(PushContext), R(3), | 202 B(PushContext), R(3), |
203 B(LdaTheHole), | 203 B(LdaTheHole), |
204 B(Star), R(2), | 204 B(Star), R(2), |
205 /* 30 E> */ B(StackCheck), | 205 /* 30 E> */ B(StackCheck), |
206 /* 46 S> */ B(LdaZero), | 206 /* 46 S> */ B(LdaZero), |
207 /* 46 E> */ B(StaContextSlot), R(context), U8(4), | 207 /* 46 E> */ B(StaContextSlot), R(context), U8(4), |
208 B(LdaTheHole), | 208 B(LdaTheHole), |
209 B(Star), R(0), | 209 B(Star), R(0), |
(...skipping 10 matching lines...) Expand all Loading... |
220 B(LdrNamedProperty), R(4), U8(1), U8(1), R(5), | 220 B(LdrNamedProperty), R(4), U8(1), U8(1), R(5), |
221 B(CallRuntime), U16(Runtime::kToFastProperties), R(4), U8(1), | 221 B(CallRuntime), U16(Runtime::kToFastProperties), R(4), U8(1), |
222 B(Star), R(0), | 222 B(Star), R(0), |
223 B(Star), R(1), | 223 B(Star), R(1), |
224 B(Star), R(2), | 224 B(Star), R(2), |
225 /* 87 S> */ B(JumpIfNotHole), U8(11), | 225 /* 87 S> */ B(JumpIfNotHole), U8(11), |
226 B(LdaConstant), U8(2), | 226 B(LdaConstant), U8(2), |
227 B(Star), R(5), | 227 B(Star), R(5), |
228 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(5), U8(1), | 228 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(5), U8(1), |
229 B(Star), R(4), | 229 B(Star), R(4), |
230 /* 94 E> */ B(New), R(4), R(0), U8(0), | 230 /* 94 E> */ B(New), R(4), R(0), U8(0), U8(3), |
231 /* 103 S> */ B(Return), | 231 /* 103 S> */ B(Return), |
232 ] | 232 ] |
233 constant pool: [ | 233 constant pool: [ |
234 InstanceType::SHARED_FUNCTION_INFO_TYPE, | 234 InstanceType::SHARED_FUNCTION_INFO_TYPE, |
235 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 235 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
236 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 236 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
237 ] | 237 ] |
238 handlers: [ | 238 handlers: [ |
239 ] | 239 ] |
240 | 240 |
OLD | NEW |