OLD | NEW |
1 # | 1 # |
2 # Autogenerated by generate-bytecode-expectations. | 2 # Autogenerated by generate-bytecode-expectations. |
3 # | 3 # |
4 | 4 |
5 --- | 5 --- |
6 wrap: yes | 6 wrap: yes |
7 | 7 |
8 --- | 8 --- |
9 snippet: " | 9 snippet: " |
10 for (var p in null) {} | 10 for (var p in null) {} |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 B(JumpIfFalse), U8(23), | 78 B(JumpIfFalse), U8(23), |
79 B(ForInNext), R(3), R(7), R(4), U8(2), | 79 B(ForInNext), R(3), R(7), R(4), U8(2), |
80 B(JumpIfUndefined), U8(9), | 80 B(JumpIfUndefined), U8(9), |
81 B(Star), R(1), | 81 B(Star), R(1), |
82 /* 54 E> */ B(StackCheck), | 82 /* 54 E> */ B(StackCheck), |
83 B(Star), R(2), | 83 B(Star), R(2), |
84 /* 73 S> */ B(Nop), | 84 /* 73 S> */ B(Nop), |
85 /* 85 S> */ B(Return), | 85 /* 85 S> */ B(Return), |
86 B(ForInStep), R(7), | 86 B(ForInStep), R(7), |
87 B(Star), R(7), | 87 B(Star), R(7), |
88 B(JumpLoop), U8(23), U8(0), | 88 B(JumpLoop), U8(23), I8(0), |
89 B(LdaUndefined), | 89 B(LdaUndefined), |
90 /* 85 S> */ B(Return), | 90 /* 85 S> */ B(Return), |
91 ] | 91 ] |
92 constant pool: [ | 92 constant pool: [ |
93 ONE_BYTE_INTERNALIZED_STRING_TYPE ["potatoes"], | 93 ONE_BYTE_INTERNALIZED_STRING_TYPE ["potatoes"], |
94 ] | 94 ] |
95 handlers: [ | 95 handlers: [ |
96 ] | 96 ] |
97 | 97 |
98 --- | 98 --- |
(...skipping 21 matching lines...) Expand all Loading... |
120 B(JumpIfUndefined), U8(17), | 120 B(JumpIfUndefined), U8(17), |
121 B(Star), R(1), | 121 B(Star), R(1), |
122 /* 45 E> */ B(StackCheck), | 122 /* 45 E> */ B(StackCheck), |
123 B(Star), R(2), | 123 B(Star), R(2), |
124 /* 70 S> */ B(Ldar), R(1), | 124 /* 70 S> */ B(Ldar), R(1), |
125 /* 75 E> */ B(Add), R(0), U8(2), | 125 /* 75 E> */ B(Add), R(0), U8(2), |
126 B(Mov), R(0), R(8), | 126 B(Mov), R(0), R(8), |
127 B(Star), R(0), | 127 B(Star), R(0), |
128 /* 72 E> */ B(ForInStep), R(7), | 128 /* 72 E> */ B(ForInStep), R(7), |
129 B(Star), R(7), | 129 B(Star), R(7), |
130 B(JumpLoop), U8(31), U8(0), | 130 B(JumpLoop), U8(31), I8(0), |
131 B(LdaUndefined), | 131 B(LdaUndefined), |
132 /* 80 S> */ B(Return), | 132 /* 80 S> */ B(Return), |
133 ] | 133 ] |
134 constant pool: [ | 134 constant pool: [ |
135 CONSTANT_ELEMENTS_PAIR_TYPE, | 135 CONSTANT_ELEMENTS_PAIR_TYPE, |
136 ] | 136 ] |
137 handlers: [ | 137 handlers: [ |
138 ] | 138 ] |
139 | 139 |
140 --- | 140 --- |
(...skipping 21 matching lines...) Expand all Loading... |
162 /* 68 S> */ B(ForInContinue), R(5), R(4), | 162 /* 68 S> */ B(ForInContinue), R(5), R(4), |
163 B(JumpIfFalse), U8(55), | 163 B(JumpIfFalse), U8(55), |
164 B(ForInNext), R(1), R(5), R(2), U8(12), | 164 B(ForInNext), R(1), R(5), R(2), U8(12), |
165 B(JumpIfUndefined), U8(41), | 165 B(JumpIfUndefined), U8(41), |
166 B(Star), R(6), | 166 B(Star), R(6), |
167 /* 67 E> */ B(StaNamedPropertySloppy), R(0), U8(2), U8(10), | 167 /* 67 E> */ B(StaNamedPropertySloppy), R(0), U8(2), U8(10), |
168 /* 62 E> */ B(StackCheck), | 168 /* 62 E> */ B(StackCheck), |
169 /* 95 S> */ B(Nop), | 169 /* 95 S> */ B(Nop), |
170 /* 100 E> */ B(LdaNamedProperty), R(0), U8(2), U8(4), | 170 /* 100 E> */ B(LdaNamedProperty), R(0), U8(2), U8(4), |
171 B(Star), R(6), | 171 B(Star), R(6), |
172 B(LdaSmi), U8(10), | 172 B(LdaSmi), I8(10), |
173 /* 106 E> */ B(TestEqual), R(6), U8(6), | 173 /* 106 E> */ B(TestEqual), R(6), U8(6), |
174 B(JumpIfFalse), U8(4), | 174 B(JumpIfFalse), U8(4), |
175 /* 113 S> */ B(Jump), U8(18), | 175 /* 113 S> */ B(Jump), U8(18), |
176 /* 125 S> */ B(Nop), | 176 /* 125 S> */ B(Nop), |
177 /* 130 E> */ B(LdaNamedProperty), R(0), U8(2), U8(7), | 177 /* 130 E> */ B(LdaNamedProperty), R(0), U8(2), U8(7), |
178 B(Star), R(6), | 178 B(Star), R(6), |
179 B(LdaSmi), U8(20), | 179 B(LdaSmi), I8(20), |
180 /* 136 E> */ B(TestEqual), R(6), U8(9), | 180 /* 136 E> */ B(TestEqual), R(6), U8(9), |
181 B(JumpIfFalse), U8(4), | 181 B(JumpIfFalse), U8(4), |
182 /* 143 S> */ B(Jump), U8(9), | 182 /* 143 S> */ B(Jump), U8(9), |
183 B(ForInStep), R(5), | 183 B(ForInStep), R(5), |
184 B(Star), R(5), | 184 B(Star), R(5), |
185 B(JumpLoop), U8(55), U8(0), | 185 B(JumpLoop), U8(55), I8(0), |
186 B(LdaUndefined), | 186 B(LdaUndefined), |
187 /* 152 S> */ B(Return), | 187 /* 152 S> */ B(Return), |
188 ] | 188 ] |
189 constant pool: [ | 189 constant pool: [ |
190 FIXED_ARRAY_TYPE, | 190 FIXED_ARRAY_TYPE, |
191 CONSTANT_ELEMENTS_PAIR_TYPE, | 191 CONSTANT_ELEMENTS_PAIR_TYPE, |
192 ONE_BYTE_INTERNALIZED_STRING_TYPE ["a"], | 192 ONE_BYTE_INTERNALIZED_STRING_TYPE ["a"], |
193 ] | 193 ] |
194 handlers: [ | 194 handlers: [ |
195 ] | 195 ] |
(...skipping 20 matching lines...) Expand all Loading... |
216 /* 65 S> */ B(ForInContinue), R(5), R(4), | 216 /* 65 S> */ B(ForInContinue), R(5), R(4), |
217 B(JumpIfFalse), U8(34), | 217 B(JumpIfFalse), U8(34), |
218 B(ForInNext), R(1), R(5), R(2), U8(8), | 218 B(ForInNext), R(1), R(5), R(2), U8(8), |
219 B(JumpIfUndefined), U8(20), | 219 B(JumpIfUndefined), U8(20), |
220 B(Star), R(6), | 220 B(Star), R(6), |
221 B(LdaZero), | 221 B(LdaZero), |
222 B(Star), R(8), | 222 B(Star), R(8), |
223 B(Ldar), R(6), | 223 B(Ldar), R(6), |
224 /* 64 E> */ B(StaKeyedPropertySloppy), R(0), R(8), U8(6), | 224 /* 64 E> */ B(StaKeyedPropertySloppy), R(0), R(8), U8(6), |
225 /* 59 E> */ B(StackCheck), | 225 /* 59 E> */ B(StackCheck), |
226 /* 83 S> */ B(LdaSmi), U8(3), | 226 /* 83 S> */ B(LdaSmi), I8(3), |
227 /* 91 E> */ B(LdaKeyedProperty), R(0), U8(4), | 227 /* 91 E> */ B(LdaKeyedProperty), R(0), U8(4), |
228 /* 98 S> */ B(Return), | 228 /* 98 S> */ B(Return), |
229 B(ForInStep), R(5), | 229 B(ForInStep), R(5), |
230 B(Star), R(5), | 230 B(Star), R(5), |
231 B(JumpLoop), U8(34), U8(0), | 231 B(JumpLoop), U8(34), I8(0), |
232 B(LdaUndefined), | 232 B(LdaUndefined), |
233 /* 98 S> */ B(Return), | 233 /* 98 S> */ B(Return), |
234 ] | 234 ] |
235 constant pool: [ | 235 constant pool: [ |
236 CONSTANT_ELEMENTS_PAIR_TYPE, | 236 CONSTANT_ELEMENTS_PAIR_TYPE, |
237 CONSTANT_ELEMENTS_PAIR_TYPE, | 237 CONSTANT_ELEMENTS_PAIR_TYPE, |
238 ] | 238 ] |
239 handlers: [ | 239 handlers: [ |
240 ] | 240 ] |
241 | 241 |
OLD | NEW |