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

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

Issue 2165953002: [interpreter] Add a register operand to ToNumber (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: comments Created 4 years, 5 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: string 6 pool type: string
7 execute: yes 7 execute: yes
8 wrap: yes 8 wrap: yes
9 9
10 --- 10 ---
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 92
93 --- 93 ---
94 snippet: " 94 snippet: "
95 var x = 55; 95 var x = 55;
96 x = (x = 56) - x + (x = 57); 96 x = (x = 56) - x + (x = 57);
97 x++; 97 x++;
98 return x; 98 return x;
99 " 99 "
100 frame size: 3 100 frame size: 3
101 parameter count: 1 101 parameter count: 1
102 bytecode array length: 29 102 bytecode array length: 28
103 bytecodes: [ 103 bytecodes: [
104 /* 30 E> */ B(StackCheck), 104 /* 30 E> */ B(StackCheck),
105 /* 42 S> */ B(LdaSmi), U8(55), 105 /* 42 S> */ B(LdaSmi), U8(55),
106 B(Star), R(0), 106 B(Star), R(0),
107 /* 46 S> */ B(LdaSmi), U8(56), 107 /* 46 S> */ B(LdaSmi), U8(56),
108 B(Star), R(0), 108 B(Star), R(0),
109 /* 61 E> */ B(Sub), R(0), 109 /* 61 E> */ B(Sub), R(0),
110 B(Star), R(2), 110 B(Star), R(2),
111 B(LdaSmi), U8(57), 111 B(LdaSmi), U8(57),
112 B(Star), R(0), 112 B(Star), R(0),
113 /* 68 E> */ B(Add), R(2), 113 /* 68 E> */ B(Add), R(2),
114 B(Star), R(0), 114 B(Star), R(0),
115 /* 75 S> */ B(ToNumber), 115 /* 75 S> */ B(ToNumber), R(1),
116 B(Star), R(1),
117 B(Inc), 116 B(Inc),
118 B(Star), R(0), 117 B(Star), R(0),
119 /* 80 S> */ B(Nop), 118 /* 80 S> */ B(Nop),
120 /* 90 S> */ B(Return), 119 /* 90 S> */ B(Return),
121 ] 120 ]
122 constant pool: [ 121 constant pool: [
123 ] 122 ]
124 handlers: [ 123 handlers: [
125 ] 124 ]
126 125
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 handlers: [ 238 handlers: [
240 ] 239 ]
241 240
242 --- 241 ---
243 snippet: " 242 snippet: "
244 var x = 17; 243 var x = 17;
245 return 1 + x + (x++) + (++x); 244 return 1 + x + (x++) + (++x);
246 " 245 "
247 frame size: 4 246 frame size: 4
248 parameter count: 1 247 parameter count: 1
249 bytecode array length: 37 248 bytecode array length: 36
250 bytecodes: [ 249 bytecodes: [
251 /* 30 E> */ B(StackCheck), 250 /* 30 E> */ B(StackCheck),
252 /* 42 S> */ B(LdaSmi), U8(17), 251 /* 42 S> */ B(LdaSmi), U8(17),
253 B(Star), R(0), 252 B(Star), R(0),
254 /* 46 S> */ B(LdaSmi), U8(1), 253 /* 46 S> */ B(LdaSmi), U8(1),
255 B(Star), R(1), 254 B(Star), R(1),
256 B(Ldar), R(0), 255 B(Ldar), R(0),
257 /* 57 E> */ B(Add), R(1), 256 /* 57 E> */ B(Add), R(1),
258 B(Star), R(2), 257 B(Star), R(2),
259 B(Ldar), R(0), 258 B(Ldar), R(0),
260 B(ToNumber), 259 B(ToNumber), R(1),
261 B(Star), R(1),
262 B(Inc), 260 B(Inc),
263 B(Star), R(0), 261 B(Star), R(0),
264 B(Ldar), R(1), 262 B(Ldar), R(1),
265 /* 63 E> */ B(Add), R(2), 263 /* 63 E> */ B(Add), R(2),
266 B(Star), R(3), 264 B(Star), R(3),
267 B(Ldar), R(0), 265 B(Ldar), R(0),
268 B(Inc), 266 B(Inc),
269 B(Star), R(0), 267 B(Star), R(0),
270 /* 72 E> */ B(Add), R(3), 268 /* 72 E> */ B(Add), R(3),
271 /* 76 S> */ B(Return), 269 /* 76 S> */ B(Return),
272 ] 270 ]
273 constant pool: [ 271 constant pool: [
274 ] 272 ]
275 handlers: [ 273 handlers: [
276 ] 274 ]
277 275
OLDNEW
« no previous file with comments | « src/interpreter/interpreter.cc ('k') | test/cctest/interpreter/bytecode_expectations/BasicLoops.golden » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698