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