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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 | 97 |
98 --- | 98 --- |
99 snippet: " | 99 snippet: " |
100 var a = { val: 1 }; return a.val++; | 100 var a = { val: 1 }; return a.val++; |
101 " | 101 " |
102 frame size: 3 | 102 frame size: 3 |
103 parameter count: 1 | 103 parameter count: 1 |
104 bytecode array length: 26 | 104 bytecode array length: 26 |
105 bytecodes: [ | 105 bytecodes: [ |
106 B(StackCheck), | 106 B(StackCheck), |
107 B(CreateObjectLiteral), U8(0), U8(0), U8(9), | 107 B(CreateObjectLiteral), U8(0), U8(0), U8(5), |
108 B(Star), R(1), | 108 B(Star), R(1), |
109 B(Star), R(0), | 109 B(Star), R(0), |
110 B(Star), R(1), | 110 B(Star), R(1), |
111 B(LoadIC), R(1), U8(1), U8(1), | 111 B(LoadIC), R(1), U8(1), U8(1), |
112 B(ToNumber), | 112 B(ToNumber), |
113 B(Star), R(2), | 113 B(Star), R(2), |
114 B(Inc), | 114 B(Inc), |
115 B(StoreICSloppy), R(1), U8(1), U8(3), | 115 B(StoreICSloppy), R(1), U8(1), U8(3), |
116 B(Ldar), R(2), | 116 B(Ldar), R(2), |
117 B(Return), | 117 B(Return), |
118 ] | 118 ] |
119 constant pool: [ | 119 constant pool: [ |
120 InstanceType::FIXED_ARRAY_TYPE, | 120 InstanceType::FIXED_ARRAY_TYPE, |
121 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 121 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
122 ] | 122 ] |
123 handlers: [ | 123 handlers: [ |
124 ] | 124 ] |
125 | 125 |
126 --- | 126 --- |
127 snippet: " | 127 snippet: " |
128 var a = { val: 1 }; return --a.val; | 128 var a = { val: 1 }; return --a.val; |
129 " | 129 " |
130 frame size: 2 | 130 frame size: 2 |
131 parameter count: 1 | 131 parameter count: 1 |
132 bytecode array length: 22 | 132 bytecode array length: 22 |
133 bytecodes: [ | 133 bytecodes: [ |
134 B(StackCheck), | 134 B(StackCheck), |
135 B(CreateObjectLiteral), U8(0), U8(0), U8(9), | 135 B(CreateObjectLiteral), U8(0), U8(0), U8(5), |
136 B(Star), R(1), | 136 B(Star), R(1), |
137 B(Star), R(0), | 137 B(Star), R(0), |
138 B(Star), R(1), | 138 B(Star), R(1), |
139 B(LoadIC), R(1), U8(1), U8(1), | 139 B(LoadIC), R(1), U8(1), U8(1), |
140 B(ToNumber), | 140 B(ToNumber), |
141 B(Dec), | 141 B(Dec), |
142 B(StoreICSloppy), R(1), U8(1), U8(3), | 142 B(StoreICSloppy), R(1), U8(1), U8(3), |
143 B(Return), | 143 B(Return), |
144 ] | 144 ] |
145 constant pool: [ | 145 constant pool: [ |
146 InstanceType::FIXED_ARRAY_TYPE, | 146 InstanceType::FIXED_ARRAY_TYPE, |
147 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 147 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
148 ] | 148 ] |
149 handlers: [ | 149 handlers: [ |
150 ] | 150 ] |
151 | 151 |
152 --- | 152 --- |
153 snippet: " | 153 snippet: " |
154 var name = 'var'; var a = { val: 1 }; return a[name]--; | 154 var name = 'var'; var a = { val: 1 }; return a[name]--; |
155 " | 155 " |
156 frame size: 5 | 156 frame size: 5 |
157 parameter count: 1 | 157 parameter count: 1 |
158 bytecode array length: 33 | 158 bytecode array length: 33 |
159 bytecodes: [ | 159 bytecodes: [ |
160 B(StackCheck), | 160 B(StackCheck), |
161 B(LdaConstant), U8(0), | 161 B(LdaConstant), U8(0), |
162 B(Star), R(0), | 162 B(Star), R(0), |
163 B(CreateObjectLiteral), U8(1), U8(0), U8(9), | 163 B(CreateObjectLiteral), U8(1), U8(0), U8(5), |
164 B(Star), R(2), | 164 B(Star), R(2), |
165 B(Star), R(1), | 165 B(Star), R(1), |
166 B(Star), R(2), | 166 B(Star), R(2), |
167 B(Ldar), R(0), | 167 B(Ldar), R(0), |
168 B(Star), R(3), | 168 B(Star), R(3), |
169 B(KeyedLoadIC), R(2), U8(1), | 169 B(KeyedLoadIC), R(2), U8(1), |
170 B(ToNumber), | 170 B(ToNumber), |
171 B(Star), R(4), | 171 B(Star), R(4), |
172 B(Dec), | 172 B(Dec), |
173 B(KeyedStoreICSloppy), R(2), R(3), U8(3), | 173 B(KeyedStoreICSloppy), R(2), R(3), U8(3), |
(...skipping 11 matching lines...) Expand all Loading... |
185 snippet: " | 185 snippet: " |
186 var name = 'var'; var a = { val: 1 }; return ++a[name]; | 186 var name = 'var'; var a = { val: 1 }; return ++a[name]; |
187 " | 187 " |
188 frame size: 4 | 188 frame size: 4 |
189 parameter count: 1 | 189 parameter count: 1 |
190 bytecode array length: 29 | 190 bytecode array length: 29 |
191 bytecodes: [ | 191 bytecodes: [ |
192 B(StackCheck), | 192 B(StackCheck), |
193 B(LdaConstant), U8(0), | 193 B(LdaConstant), U8(0), |
194 B(Star), R(0), | 194 B(Star), R(0), |
195 B(CreateObjectLiteral), U8(1), U8(0), U8(9), | 195 B(CreateObjectLiteral), U8(1), U8(0), U8(5), |
196 B(Star), R(2), | 196 B(Star), R(2), |
197 B(Star), R(1), | 197 B(Star), R(1), |
198 B(Star), R(2), | 198 B(Star), R(2), |
199 B(Ldar), R(0), | 199 B(Ldar), R(0), |
200 B(Star), R(3), | 200 B(Star), R(3), |
201 B(KeyedLoadIC), R(2), U8(1), | 201 B(KeyedLoadIC), R(2), U8(1), |
202 B(ToNumber), | 202 B(ToNumber), |
203 B(Inc), | 203 B(Inc), |
204 B(KeyedStoreICSloppy), R(2), R(3), U8(3), | 204 B(KeyedStoreICSloppy), R(2), R(3), U8(3), |
205 B(Return), | 205 B(Return), |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
289 B(LdaSmi8), U8(2), | 289 B(LdaSmi8), U8(2), |
290 B(KeyedStoreICSloppy), R(2), R(3), U8(1), | 290 B(KeyedStoreICSloppy), R(2), R(3), U8(1), |
291 B(Return), | 291 B(Return), |
292 ] | 292 ] |
293 constant pool: [ | 293 constant pool: [ |
294 InstanceType::FIXED_ARRAY_TYPE, | 294 InstanceType::FIXED_ARRAY_TYPE, |
295 ] | 295 ] |
296 handlers: [ | 296 handlers: [ |
297 ] | 297 ] |
298 | 298 |
OLD | NEW |