OLD | NEW |
1 # | 1 # |
2 # Autogenerated by generate-bytecode-expectations. | 2 # Autogenerated by generate-bytecode-expectations. |
3 # | 3 # |
4 | 4 |
5 --- | 5 --- |
6 wrap: no | 6 wrap: no |
7 top level: yes | 7 top level: yes |
8 | 8 |
9 --- | 9 --- |
10 snippet: " | 10 snippet: " |
11 var a = 1; | 11 var a = 1; |
12 " | 12 " |
13 frame size: 4 | 13 frame size: 4 |
14 parameter count: 1 | 14 parameter count: 1 |
15 bytecode array length: 34 | 15 bytecode array length: 34 |
16 bytecodes: [ | 16 bytecodes: [ |
17 B(LdaConstant), U8(0), | 17 B(LdaConstant), U8(0), |
18 B(Star), R(1), | 18 B(Star), R(1), |
19 B(LdaZero), | 19 B(LdaZero), |
20 B(Star), R(2), | 20 B(Star), R(2), |
21 B(Mov), R(closure), R(3), | 21 B(Mov), R(closure), R(3), |
22 B(CallRuntime), U16(Runtime::kDeclareGlobalsForInterpreter), R(1
), U8(3), | 22 B(CallRuntime), U16(Runtime::kDeclareGlobalsForInterpreter), R(1
), U8(3), |
23 /* 0 E> */ B(StackCheck), | 23 /* 0 E> */ B(StackCheck), |
24 /* 8 S> */ B(LdaConstant), U8(1), | 24 /* 8 S> */ B(LdaConstant), U8(1), |
25 B(Star), R(1), | 25 B(Star), R(1), |
26 B(LdaZero), | 26 B(LdaZero), |
27 B(Star), R(2), | 27 B(Star), R(2), |
28 B(LdaSmi), U8(1), | 28 B(LdaSmi), I8(1), |
29 B(Star), R(3), | 29 B(Star), R(3), |
30 B(CallRuntime), U16(Runtime::kInitializeVarGlobal), R(1), U8(3), | 30 B(CallRuntime), U16(Runtime::kInitializeVarGlobal), R(1), U8(3), |
31 B(LdaUndefined), | 31 B(LdaUndefined), |
32 /* 10 S> */ B(Return), | 32 /* 10 S> */ B(Return), |
33 ] | 33 ] |
34 constant pool: [ | 34 constant pool: [ |
35 FIXED_ARRAY_TYPE, | 35 FIXED_ARRAY_TYPE, |
36 ONE_BYTE_INTERNALIZED_STRING_TYPE ["a"], | 36 ONE_BYTE_INTERNALIZED_STRING_TYPE ["a"], |
37 ] | 37 ] |
38 handlers: [ | 38 handlers: [ |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 B(Star), R(1), | 75 B(Star), R(1), |
76 B(LdaZero), | 76 B(LdaZero), |
77 B(Star), R(2), | 77 B(Star), R(2), |
78 B(Mov), R(closure), R(3), | 78 B(Mov), R(closure), R(3), |
79 B(CallRuntime), U16(Runtime::kDeclareGlobalsForInterpreter), R(1
), U8(3), | 79 B(CallRuntime), U16(Runtime::kDeclareGlobalsForInterpreter), R(1
), U8(3), |
80 /* 0 E> */ B(StackCheck), | 80 /* 0 E> */ B(StackCheck), |
81 /* 8 S> */ B(LdaConstant), U8(1), | 81 /* 8 S> */ B(LdaConstant), U8(1), |
82 B(Star), R(1), | 82 B(Star), R(1), |
83 B(LdaZero), | 83 B(LdaZero), |
84 B(Star), R(2), | 84 B(Star), R(2), |
85 B(LdaSmi), U8(1), | 85 B(LdaSmi), I8(1), |
86 B(Star), R(3), | 86 B(Star), R(3), |
87 B(CallRuntime), U16(Runtime::kInitializeVarGlobal), R(1), U8(3), | 87 B(CallRuntime), U16(Runtime::kInitializeVarGlobal), R(1), U8(3), |
88 /* 11 S> */ B(LdaSmi), U8(2), | 88 /* 11 S> */ B(LdaSmi), I8(2), |
89 /* 12 E> */ B(StaGlobalSloppy), U8(1), U8(4), | 89 /* 12 E> */ B(StaGlobalSloppy), U8(1), U8(4), |
90 B(Star), R(0), | 90 B(Star), R(0), |
91 /* 15 S> */ B(Return), | 91 /* 15 S> */ B(Return), |
92 ] | 92 ] |
93 constant pool: [ | 93 constant pool: [ |
94 FIXED_ARRAY_TYPE, | 94 FIXED_ARRAY_TYPE, |
95 ONE_BYTE_INTERNALIZED_STRING_TYPE ["a"], | 95 ONE_BYTE_INTERNALIZED_STRING_TYPE ["a"], |
96 ] | 96 ] |
97 handlers: [ | 97 handlers: [ |
98 ] | 98 ] |
(...skipping 22 matching lines...) Expand all Loading... |
121 B(Star), R(0), | 121 B(Star), R(0), |
122 /* 20 S> */ B(Return), | 122 /* 20 S> */ B(Return), |
123 ] | 123 ] |
124 constant pool: [ | 124 constant pool: [ |
125 FIXED_ARRAY_TYPE, | 125 FIXED_ARRAY_TYPE, |
126 ONE_BYTE_INTERNALIZED_STRING_TYPE ["f"], | 126 ONE_BYTE_INTERNALIZED_STRING_TYPE ["f"], |
127 ] | 127 ] |
128 handlers: [ | 128 handlers: [ |
129 ] | 129 ] |
130 | 130 |
OLD | NEW |