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

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

Issue 2254493002: [interpreter] Use VisitForTest for loop conditions (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rebase(line) golden file Created 4 years, 4 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 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 if (i == 2) break; 158 if (i == 2) break;
159 i = i + 1; 159 i = i + 1;
160 } 160 }
161 i = i + 1; 161 i = i + 1;
162 break; 162 break;
163 } 163 }
164 return i; 164 return i;
165 " 165 "
166 frame size: 1 166 frame size: 1
167 parameter count: 1 167 parameter count: 1
168 bytecode array length: 39 168 bytecode array length: 37
169 bytecodes: [ 169 bytecodes: [
170 /* 30 E> */ B(StackCheck), 170 /* 30 E> */ B(StackCheck),
171 /* 42 S> */ B(LdaZero), 171 /* 42 S> */ B(LdaZero),
172 B(Star), R(0), 172 B(Star), R(0),
173 /* 45 E> */ B(StackCheck), 173 /* 45 E> */ B(StackCheck),
174 /* 71 S> */ B(LdaSmi), U8(3), 174 /* 71 S> */ B(LdaSmi), U8(3),
175 /* 71 E> */ B(TestLessThan), R(0), 175 /* 71 E> */ B(TestLessThan), R(0),
176 B(JumpIfFalse), U8(18), 176 B(JumpIfFalse), U8(18),
177 /* 62 E> */ B(StackCheck), 177 /* 62 E> */ B(StackCheck),
178 /* 82 S> */ B(LdaSmi), U8(2), 178 /* 82 S> */ B(LdaSmi), U8(2),
179 /* 88 E> */ B(TestEqual), R(0), 179 /* 88 E> */ B(TestEqual), R(0),
180 B(JumpIfFalse), U8(4), 180 B(JumpIfFalse), U8(4),
181 /* 94 S> */ B(Jump), U8(9), 181 /* 94 S> */ B(Jump), U8(9),
182 /* 105 S> */ B(AddSmi), U8(1), R(0), 182 /* 105 S> */ B(AddSmi), U8(1), R(0),
183 B(Star), R(0), 183 B(Star), R(0),
184 B(Jump), U8(-20), 184 B(Jump), U8(-20),
185 /* 122 S> */ B(AddSmi), U8(1), R(0), 185 /* 122 S> */ B(AddSmi), U8(1), R(0),
186 B(Star), R(0), 186 B(Star), R(0),
187 /* 135 S> */ B(Jump), U8(4), 187 /* 135 S> */ B(Jump), U8(2),
188 B(Jump), U8(-30),
189 /* 144 S> */ B(Ldar), R(0), 188 /* 144 S> */ B(Ldar), R(0),
190 /* 154 S> */ B(Return), 189 /* 154 S> */ B(Return),
191 ] 190 ]
192 constant pool: [ 191 constant pool: [
193 ] 192 ]
194 handlers: [ 193 handlers: [
195 ] 194 ]
196 195
197 --- 196 ---
198 snippet: " 197 snippet: "
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 var x = 10; 279 var x = 10;
281 var y = 1; 280 var y = 1;
282 do { 281 do {
283 y = y * 12; 282 y = y * 12;
284 x = x - 1; 283 x = x - 1;
285 } while (x); 284 } while (x);
286 return y; 285 return y;
287 " 286 "
288 frame size: 2 287 frame size: 2
289 parameter count: 1 288 parameter count: 1
290 bytecode array length: 29 289 bytecode array length: 27
291 bytecodes: [ 290 bytecodes: [
292 /* 30 E> */ B(StackCheck), 291 /* 30 E> */ B(StackCheck),
293 /* 42 S> */ B(LdaSmi), U8(10), 292 /* 42 S> */ B(LdaSmi), U8(10),
294 B(Star), R(0), 293 B(Star), R(0),
295 /* 54 S> */ B(LdaSmi), U8(1), 294 /* 54 S> */ B(LdaSmi), U8(1),
296 B(Star), R(1), 295 B(Star), R(1),
297 /* 57 E> */ B(StackCheck), 296 /* 57 E> */ B(StackCheck),
298 /* 64 S> */ B(LdaSmi), U8(12), 297 /* 64 S> */ B(LdaSmi), U8(12),
299 B(Mul), R(1), U8(1), 298 B(Mul), R(1), U8(1),
300 B(Star), R(1), 299 B(Star), R(1),
301 /* 78 S> */ B(SubSmi), U8(1), R(0), 300 /* 78 S> */ B(SubSmi), U8(1), R(0),
302 B(Star), R(0), 301 B(Star), R(0),
303 /* 98 S> */ B(Ldar), R(0), 302 /* 98 S> */ B(JumpIfToBooleanTrue), U8(-13),
304 B(JumpIfToBooleanTrue), U8(-15),
305 /* 102 S> */ B(Ldar), R(1), 303 /* 102 S> */ B(Ldar), R(1),
306 /* 112 S> */ B(Return), 304 /* 112 S> */ B(Return),
307 ] 305 ]
308 constant pool: [ 306 constant pool: [
309 ] 307 ]
310 handlers: [ 308 handlers: [
311 ] 309 ]
312 310
313 --- 311 ---
314 snippet: " 312 snippet: "
(...skipping 413 matching lines...) Expand 10 before | Expand all | Expand 10 after
728 /* 137 S> */ B(Return), 726 /* 137 S> */ B(Return),
729 ] 727 ]
730 constant pool: [ 728 constant pool: [
731 InstanceType::FIXED_ARRAY_TYPE, 729 InstanceType::FIXED_ARRAY_TYPE,
732 InstanceType::SHARED_FUNCTION_INFO_TYPE, 730 InstanceType::SHARED_FUNCTION_INFO_TYPE,
733 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 731 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
734 ] 732 ]
735 handlers: [ 733 handlers: [
736 ] 734 ]
737 735
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698