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: no | 7 execute: no |
8 wrap: no | 8 wrap: no |
9 top level: yes | 9 top level: yes |
10 | 10 |
11 --- | 11 --- |
12 snippet: " | 12 snippet: " |
13 var a = { func: function() { } }; | 13 var a = { func: function() { } }; |
14 " | 14 " |
15 frame size: 5 | 15 frame size: 5 |
16 parameter count: 1 | 16 parameter count: 1 |
17 bytecode array length: 46 | 17 bytecode array length: 45 |
18 bytecodes: [ | 18 bytecodes: [ |
19 B(LdaConstant), U8(0), | 19 B(LdaConstant), U8(0), |
20 B(Star), R(1), | 20 B(Star), R(1), |
21 B(LdaZero), | 21 B(LdaZero), |
22 B(Star), R(2), | 22 B(Star), R(2), |
23 B(Mov), R(closure), R(3), | 23 B(Mov), R(closure), R(3), |
24 B(CallRuntime), U16(Runtime::kDeclareGlobalsForInterpreter), R(1
), U8(3), | 24 B(CallRuntime), U16(Runtime::kDeclareGlobalsForInterpreter), R(1
), U8(3), |
25 /* 0 E> */ B(StackCheck), | 25 /* 0 E> */ B(StackCheck), |
26 /* 8 S> */ B(LdaConstant), U8(1), | 26 /* 8 S> */ B(LdaConstant), U8(1), |
27 B(Star), R(1), | 27 B(Star), R(1), |
28 B(LdaZero), | 28 B(LdaZero), |
| 29 B(CreateObjectLiteral), U8(2), U8(0), U8(1), R(4), |
29 B(Star), R(2), | 30 B(Star), R(2), |
30 B(CreateObjectLiteral), U8(2), U8(0), U8(1), | |
31 B(Star), R(4), | |
32 B(CreateClosure), U8(3), U8(0), | 31 B(CreateClosure), U8(3), U8(0), |
33 B(StaNamedPropertySloppy), R(4), U8(4), U8(3), | 32 B(StaNamedPropertySloppy), R(4), U8(4), U8(3), |
34 B(Mov), R(4), R(3), | 33 B(Mov), R(4), R(3), |
35 B(CallRuntime), U16(Runtime::kInitializeVarGlobal), R(1), U8(3), | 34 B(CallRuntime), U16(Runtime::kInitializeVarGlobal), R(1), U8(3), |
36 B(LdaUndefined), | 35 B(LdaUndefined), |
37 /* 33 S> */ B(Return), | 36 /* 33 S> */ B(Return), |
38 ] | 37 ] |
39 constant pool: [ | 38 constant pool: [ |
40 InstanceType::FIXED_ARRAY_TYPE, | 39 InstanceType::FIXED_ARRAY_TYPE, |
41 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 40 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
42 InstanceType::FIXED_ARRAY_TYPE, | 41 InstanceType::FIXED_ARRAY_TYPE, |
43 InstanceType::SHARED_FUNCTION_INFO_TYPE, | 42 InstanceType::SHARED_FUNCTION_INFO_TYPE, |
44 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 43 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
45 ] | 44 ] |
46 handlers: [ | 45 handlers: [ |
47 ] | 46 ] |
48 | 47 |
OLD | NEW |