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

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

Issue 2795183002: [Interpreter] Move ToBoolean elision in BytecodeGenerator. (Closed)
Patch Set: tests Created 3 years, 8 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 wrap: yes 6 wrap: yes
7 7
8 --- 8 ---
9 snippet: " 9 snippet: "
10 var a = 1; 10 var a = 1;
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 return null == a ? 1 : 2; 136 return null == a ? 1 : 2;
137 " 137 "
138 frame size: 1 138 frame size: 1
139 parameter count: 1 139 parameter count: 1
140 bytecode array length: 14 140 bytecode array length: 14
141 bytecodes: [ 141 bytecodes: [
142 /* 30 E> */ B(StackCheck), 142 /* 30 E> */ B(StackCheck),
143 /* 42 S> */ B(LdaZero), 143 /* 42 S> */ B(LdaZero),
144 B(Star), R(0), 144 B(Star), R(0),
145 /* 45 S> */ B(TestUndetectable), 145 /* 45 S> */ B(TestUndetectable),
146 /* 57 E> */ B(JumpIfFalse), U8(6), 146 B(JumpIfFalse), U8(6),
147 B(LdaSmi), I8(1), 147 B(LdaSmi), I8(1),
148 B(Jump), U8(4), 148 B(Jump), U8(4),
149 B(LdaSmi), I8(2), 149 B(LdaSmi), I8(2),
150 /* 71 S> */ B(Return), 150 /* 71 S> */ B(Return),
151 ] 151 ]
152 constant pool: [ 152 constant pool: [
153 ] 153 ]
154 handlers: [ 154 handlers: [
155 ] 155 ]
156 156
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 } 237 }
238 " 238 "
239 frame size: 1 239 frame size: 1
240 parameter count: 1 240 parameter count: 1
241 bytecode array length: 12 241 bytecode array length: 12
242 bytecodes: [ 242 bytecodes: [
243 /* 30 E> */ B(StackCheck), 243 /* 30 E> */ B(StackCheck),
244 /* 42 S> */ B(LdaZero), 244 /* 42 S> */ B(LdaZero),
245 B(Star), R(0), 245 B(Star), R(0),
246 /* 45 S> */ B(TestUndetectable), 246 /* 45 S> */ B(TestUndetectable),
247 /* 51 E> */ B(JumpIfTrue), U8(5), 247 B(JumpIfTrue), U8(5),
248 /* 69 S> */ B(LdaSmi), I8(1), 248 /* 69 S> */ B(LdaSmi), I8(1),
249 /* 81 S> */ B(Return), 249 /* 81 S> */ B(Return),
250 B(LdaUndefined), 250 B(LdaUndefined),
251 /* 81 S> */ B(Return), 251 /* 81 S> */ B(Return),
252 ] 252 ]
253 constant pool: [ 253 constant pool: [
254 ] 254 ]
255 handlers: [ 255 handlers: [
256 ] 256 ]
257 257
(...skipping 22 matching lines...) Expand all
280 B(Star), R(1), 280 B(Star), R(1),
281 B(JumpLoop), U8(11), I8(0), 281 B(JumpLoop), U8(11), I8(0),
282 B(LdaUndefined), 282 B(LdaUndefined),
283 /* 99 S> */ B(Return), 283 /* 99 S> */ B(Return),
284 ] 284 ]
285 constant pool: [ 285 constant pool: [
286 ] 286 ]
287 handlers: [ 287 handlers: [
288 ] 288 ]
289 289
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698