Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(123)

Side by Side Diff: test/cctest/interpreter/bytecode_expectations/ForIn.golden

Issue 1985753002: [interpreter] Introduce fused bytecodes for common sequences. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase. Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 --- 147 ---
148 snippet: " 148 snippet: "
149 var x = { 'a': 1, 'b': 2 }; 149 var x = { 'a': 1, 'b': 2 };
150 for (x['a'] in [10, 20, 30]) { 150 for (x['a'] in [10, 20, 30]) {
151 if (x['a'] == 10) continue; 151 if (x['a'] == 10) continue;
152 if (x['a'] == 20) break; 152 if (x['a'] == 20) break;
153 } 153 }
154 " 154 "
155 frame size: 8 155 frame size: 8
156 parameter count: 1 156 parameter count: 1
157 bytecode array length: 94 157 bytecode array length: 92
158 bytecodes: [ 158 bytecodes: [
159 /* 30 E> */ B(StackCheck), 159 /* 30 E> */ B(StackCheck),
160 /* 42 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), 160 /* 42 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1),
161 B(Star), R(1), 161 B(Star), R(1),
162 B(Star), R(0), 162 B(Star), R(0),
163 /* 77 S> */ B(CreateArrayLiteral), U8(1), U8(1), U8(3), 163 /* 77 S> */ B(CreateArrayLiteral), U8(1), U8(1), U8(3),
164 B(JumpIfUndefined), U8(79), 164 B(JumpIfUndefined), U8(77),
165 B(JumpIfNull), U8(77), 165 B(JumpIfNull), U8(75),
166 B(ToObject), 166 B(ToObject),
167 B(Star), R(1), 167 B(Star), R(1),
168 B(ForInPrepare), R(2), 168 B(ForInPrepare), R(2),
169 B(LdaZero), 169 B(LdaZero),
170 B(Star), R(5), 170 B(Star), R(5),
171 /* 68 S> */ B(ForInDone), R(5), R(4), 171 /* 68 S> */ B(ForInDone), R(5), R(4),
172 B(JumpIfTrue), U8(64), 172 B(JumpIfTrue), U8(62),
173 B(ForInNext), R(1), R(5), R(2), U8(9), 173 B(ForInNext), R(1), R(5), R(2), U8(9),
174 B(JumpIfUndefined), U8(51), 174 B(JumpIfUndefined), U8(49),
175 B(Star), R(6), 175 B(Star), R(6),
176 /* 67 E> */ B(Ldar), R(0), 176 /* 67 E> */ B(Ldar), R(0),
177 B(Star), R(7), 177 B(Star), R(7),
178 B(Ldar), R(6), 178 B(Ldar), R(6),
179 B(StoreICSloppy), R(7), U8(2), U8(7), 179 B(StoreICSloppy), R(7), U8(2), U8(7),
180 /* 62 E> */ B(StackCheck), 180 /* 62 E> */ B(StackCheck),
181 /* 95 S> */ B(Ldar), R(0), 181 /* 95 S> */ B(Ldar), R(0),
182 B(Star), R(6), 182 B(Star), R(6),
183 /* 100 E> */ B(LoadIC), R(6), U8(2), U8(3), 183 /* 100 E> */ B(LdrNamedProperty), R(6), U8(2), U8(3), R(7),
184 B(Star), R(7),
185 B(LdaSmi), U8(10), 184 B(LdaSmi), U8(10),
186 /* 106 E> */ B(TestEqual), R(7), 185 /* 106 E> */ B(TestEqual), R(7),
187 B(JumpIfFalse), U8(4), 186 B(JumpIfFalse), U8(4),
188 /* 113 S> */ B(Jump), U8(20), 187 /* 113 S> */ B(Jump), U8(19),
189 /* 125 S> */ B(Ldar), R(0), 188 /* 125 S> */ B(Ldar), R(0),
190 B(Star), R(6), 189 B(Star), R(6),
191 /* 130 E> */ B(LoadIC), R(6), U8(2), U8(5), 190 /* 130 E> */ B(LdrNamedProperty), R(6), U8(2), U8(5), R(7),
192 B(Star), R(7),
193 B(LdaSmi), U8(20), 191 B(LdaSmi), U8(20),
194 /* 136 E> */ B(TestEqual), R(7), 192 /* 136 E> */ B(TestEqual), R(7),
195 B(JumpIfFalse), U8(4), 193 B(JumpIfFalse), U8(4),
196 /* 143 S> */ B(Jump), U8(8), 194 /* 143 S> */ B(Jump), U8(8),
197 B(ForInStep), R(5), 195 B(ForInStep), R(5),
198 B(Star), R(5), 196 B(Star), R(5),
199 B(Jump), U8(-65), 197 B(Jump), U8(-63),
200 B(LdaUndefined), 198 B(LdaUndefined),
201 /* 152 S> */ B(Return), 199 /* 152 S> */ B(Return),
202 ] 200 ]
203 constant pool: [ 201 constant pool: [
204 InstanceType::FIXED_ARRAY_TYPE, 202 InstanceType::FIXED_ARRAY_TYPE,
205 InstanceType::FIXED_ARRAY_TYPE, 203 InstanceType::FIXED_ARRAY_TYPE,
206 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 204 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
207 ] 205 ]
208 handlers: [ 206 handlers: [
209 ] 207 ]
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 B(LdaUndefined), 249 B(LdaUndefined),
252 /* 98 S> */ B(Return), 250 /* 98 S> */ B(Return),
253 ] 251 ]
254 constant pool: [ 252 constant pool: [
255 InstanceType::FIXED_ARRAY_TYPE, 253 InstanceType::FIXED_ARRAY_TYPE,
256 InstanceType::FIXED_ARRAY_TYPE, 254 InstanceType::FIXED_ARRAY_TYPE,
257 ] 255 ]
258 handlers: [ 256 handlers: [
259 ] 257 ]
260 258
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698