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: 49 | 17 bytecode array length: 44 |
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(CallRuntime), U16(Runtime::kDeclareGlobals), R(1), U8(2), | 23 B(CallRuntime), U16(Runtime::kDeclareGlobals), R(1), U8(2), |
24 B(StackCheck), | 24 B(StackCheck), |
25 B(LdaConstant), U8(1), | 25 B(LdaConstant), U8(1), |
26 B(Star), R(1), | 26 B(Star), R(1), |
27 B(LdaZero), | 27 B(LdaZero), |
28 B(Star), R(2), | 28 B(Star), R(2), |
29 B(CreateObjectLiteral), U8(2), U8(0), U8(11), | 29 B(CreateObjectLiteral), U8(2), U8(0), U8(5), |
30 B(Star), R(4), | 30 B(Star), R(4), |
31 B(CreateClosure), U8(3), U8(1), | 31 B(CreateClosure), U8(3), U8(0), |
32 B(StoreICSloppy), R(4), U8(4), U8(3), | 32 B(StoreICSloppy), R(4), U8(4), U8(3), |
33 B(CallRuntime), U16(Runtime::kToFastProperties), R(4), U8(1), | |
34 B(Ldar), R(4), | 33 B(Ldar), R(4), |
35 B(Star), R(3), | 34 B(Star), R(3), |
36 B(CallRuntime), U16(Runtime::kInitializeVarGlobal), R(1), U8(3), | 35 B(CallRuntime), U16(Runtime::kInitializeVarGlobal), R(1), U8(3), |
37 B(LdaUndefined), | 36 B(LdaUndefined), |
38 B(Return), | 37 B(Return), |
39 ] | 38 ] |
40 constant pool: [ | 39 constant pool: [ |
41 InstanceType::FIXED_ARRAY_TYPE, | 40 InstanceType::FIXED_ARRAY_TYPE, |
42 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 41 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
43 InstanceType::FIXED_ARRAY_TYPE, | 42 InstanceType::FIXED_ARRAY_TYPE, |
44 InstanceType::SHARED_FUNCTION_INFO_TYPE, | 43 InstanceType::SHARED_FUNCTION_INFO_TYPE, |
45 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 44 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
46 ] | 45 ] |
47 handlers: [ | 46 handlers: [ |
48 ] | 47 ] |
49 | 48 |
OLD | NEW |