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 handlers: [ | 190 handlers: [ |
191 ] | 191 ] |
192 | 192 |
193 --- | 193 --- |
194 snippet: " | 194 snippet: " |
195 var count = 0; | 195 var count = 0; |
196 class C { constructor() { count++; }} | 196 class C { constructor() { count++; }} |
197 return new C(); | 197 return new C(); |
198 " | 198 " |
199 frame size: 10 | 199 frame size: 7 |
200 parameter count: 1 | 200 parameter count: 1 |
201 bytecode array length: 74 | 201 bytecode array length: 74 |
202 bytecodes: [ | 202 bytecodes: [ |
203 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U
8(1), | 203 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U
8(1), |
204 B(PushContext), R(2), | 204 B(PushContext), R(2), |
205 B(LdaTheHole), | 205 B(LdaTheHole), |
206 B(Star), R(1), | 206 B(Star), R(1), |
207 /* 30 E> */ B(StackCheck), | 207 /* 30 E> */ B(StackCheck), |
208 /* 46 S> */ B(LdaZero), | 208 /* 46 S> */ B(LdaZero), |
209 /* 46 E> */ B(StaContextSlot), R(context), U8(4), | 209 /* 46 E> */ B(StaContextSlot), R(context), U8(4), |
(...skipping 23 matching lines...) Expand all Loading... |
233 /* 103 S> */ B(Return), | 233 /* 103 S> */ B(Return), |
234 ] | 234 ] |
235 constant pool: [ | 235 constant pool: [ |
236 InstanceType::SHARED_FUNCTION_INFO_TYPE, | 236 InstanceType::SHARED_FUNCTION_INFO_TYPE, |
237 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 237 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
238 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 238 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
239 ] | 239 ] |
240 handlers: [ | 240 handlers: [ |
241 ] | 241 ] |
242 | 242 |
OLD | NEW |