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

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

Issue 2209633002: [Interpreter] Assign feedback slots for binary operations and use them in ignition. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebased the patch. 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: string 6 pool type: string
7 execute: yes 7 execute: yes
8 wrap: yes 8 wrap: yes
9 9
10 --- 10 ---
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 ] 61 ]
62 62
63 --- 63 ---
64 snippet: " 64 snippet: "
65 var x = 55; 65 var x = 55;
66 x = x + (x = 100) + (x = 101); 66 x = x + (x = 100) + (x = 101);
67 return x; 67 return x;
68 " 68 "
69 frame size: 3 69 frame size: 3
70 parameter count: 1 70 parameter count: 1
71 bytecode array length: 26 71 bytecode array length: 28
72 bytecodes: [ 72 bytecodes: [
73 /* 30 E> */ B(StackCheck), 73 /* 30 E> */ B(StackCheck),
74 /* 42 S> */ B(LdaSmi), U8(55), 74 /* 42 S> */ B(LdaSmi), U8(55),
75 B(Star), R(0), 75 B(Star), R(0),
76 /* 46 S> */ B(LdaSmi), U8(100), 76 /* 46 S> */ B(LdaSmi), U8(100),
77 B(Mov), R(0), R(1), 77 B(Mov), R(0), R(1),
78 B(Star), R(0), 78 B(Star), R(0),
79 /* 57 E> */ B(Add), R(1), 79 /* 57 E> */ B(Add), R(1), U8(1),
80 B(Star), R(2), 80 B(Star), R(2),
81 B(LdaSmi), U8(101), 81 B(LdaSmi), U8(101),
82 B(Star), R(0), 82 B(Star), R(0),
83 /* 69 E> */ B(Add), R(2), 83 /* 69 E> */ B(Add), R(2), U8(2),
84 B(Star), R(0), 84 B(Star), R(0),
85 /* 77 S> */ B(Nop), 85 /* 77 S> */ B(Nop),
86 /* 87 S> */ B(Return), 86 /* 87 S> */ B(Return),
87 ] 87 ]
88 constant pool: [ 88 constant pool: [
89 ] 89 ]
90 handlers: [ 90 handlers: [
91 ] 91 ]
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: 26 102 bytecode array length: 29
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), U8(1),
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), U8(2),
114 B(Star), R(0), 114 B(Star), R(0),
115 /* 75 S> */ B(Inc), 115 /* 75 S> */ B(Inc), U8(3),
116 B(Star), R(0), 116 B(Star), R(0),
117 /* 80 S> */ B(Nop), 117 /* 80 S> */ B(Nop),
118 /* 90 S> */ B(Return), 118 /* 90 S> */ B(Return),
119 ] 119 ]
120 constant pool: [ 120 constant pool: [
121 ] 121 ]
122 handlers: [ 122 handlers: [
123 ] 123 ]
124 124
125 --- 125 ---
126 snippet: " 126 snippet: "
127 var x = 55; 127 var x = 55;
128 var y = x + (x = 1) + (x = 2) + (x = 3); 128 var y = x + (x = 1) + (x = 2) + (x = 3);
129 return y; 129 return y;
130 " 130 "
131 frame size: 4 131 frame size: 4
132 parameter count: 1 132 parameter count: 1
133 bytecode array length: 34 133 bytecode array length: 37
134 bytecodes: [ 134 bytecodes: [
135 /* 30 E> */ B(StackCheck), 135 /* 30 E> */ B(StackCheck),
136 /* 42 S> */ B(LdaSmi), U8(55), 136 /* 42 S> */ B(LdaSmi), U8(55),
137 B(Star), R(0), 137 B(Star), R(0),
138 /* 76 S> */ B(LdaSmi), U8(1), 138 /* 76 S> */ B(LdaSmi), U8(1),
139 B(Mov), R(0), R(2), 139 B(Mov), R(0), R(2),
140 B(Star), R(0), 140 B(Star), R(0),
141 /* 61 E> */ B(Add), R(2), 141 /* 61 E> */ B(Add), R(2), U8(1),
142 B(Star), R(3), 142 B(Star), R(3),
143 B(LdaSmi), U8(2), 143 B(LdaSmi), U8(2),
144 B(Star), R(0), 144 B(Star), R(0),
145 /* 71 E> */ B(Add), R(3), 145 /* 71 E> */ B(Add), R(3), U8(2),
146 B(Star), R(2), 146 B(Star), R(2),
147 B(LdaSmi), U8(3), 147 B(LdaSmi), U8(3),
148 B(Star), R(0), 148 B(Star), R(0),
149 /* 81 E> */ B(Add), R(2), 149 /* 81 E> */ B(Add), R(2), U8(3),
150 B(Star), R(1), 150 B(Star), R(1),
151 /* 87 S> */ B(Nop), 151 /* 87 S> */ B(Nop),
152 /* 97 S> */ B(Return), 152 /* 97 S> */ B(Return),
153 ] 153 ]
154 constant pool: [ 154 constant pool: [
155 ] 155 ]
156 handlers: [ 156 handlers: [
157 ] 157 ]
158 158
159 --- 159 ---
160 snippet: " 160 snippet: "
161 var x = 55; 161 var x = 55;
162 var x = x + (x = 1) + (x = 2) + (x = 3); 162 var x = x + (x = 1) + (x = 2) + (x = 3);
163 return x; 163 return x;
164 " 164 "
165 frame size: 3 165 frame size: 3
166 parameter count: 1 166 parameter count: 1
167 bytecode array length: 34 167 bytecode array length: 37
168 bytecodes: [ 168 bytecodes: [
169 /* 30 E> */ B(StackCheck), 169 /* 30 E> */ B(StackCheck),
170 /* 42 S> */ B(LdaSmi), U8(55), 170 /* 42 S> */ B(LdaSmi), U8(55),
171 B(Star), R(0), 171 B(Star), R(0),
172 /* 76 S> */ B(LdaSmi), U8(1), 172 /* 76 S> */ B(LdaSmi), U8(1),
173 B(Mov), R(0), R(1), 173 B(Mov), R(0), R(1),
174 B(Star), R(0), 174 B(Star), R(0),
175 /* 61 E> */ B(Add), R(1), 175 /* 61 E> */ B(Add), R(1), U8(1),
176 B(Star), R(2), 176 B(Star), R(2),
177 B(LdaSmi), U8(2), 177 B(LdaSmi), U8(2),
178 B(Star), R(0), 178 B(Star), R(0),
179 /* 71 E> */ B(Add), R(2), 179 /* 71 E> */ B(Add), R(2), U8(2),
180 B(Star), R(1), 180 B(Star), R(1),
181 B(LdaSmi), U8(3), 181 B(LdaSmi), U8(3),
182 B(Star), R(0), 182 B(Star), R(0),
183 /* 81 E> */ B(Add), R(1), 183 /* 81 E> */ B(Add), R(1), U8(3),
184 B(Star), R(0), 184 B(Star), R(0),
185 /* 87 S> */ B(Nop), 185 /* 87 S> */ B(Nop),
186 /* 97 S> */ B(Return), 186 /* 97 S> */ B(Return),
187 ] 187 ]
188 constant pool: [ 188 constant pool: [
189 ] 189 ]
190 handlers: [ 190 handlers: [
191 ] 191 ]
192 192
193 --- 193 ---
194 snippet: " 194 snippet: "
195 var x = 10, y = 20; 195 var x = 10, y = 20;
196 return x + (x = 1) + (x + 1) * (y = 2) + (y = 3) + (x = 4) + (y = 5) + y; 196 return x + (x = 1) + (x + 1) * (y = 2) + (y = 3) + (x = 4) + (y = 5) + y;
197 " 197 "
198 frame size: 5 198 frame size: 5
199 parameter count: 1 199 parameter count: 1
200 bytecode array length: 64 200 bytecode array length: 71
201 bytecodes: [ 201 bytecodes: [
202 /* 30 E> */ B(StackCheck), 202 /* 30 E> */ B(StackCheck),
203 /* 42 S> */ B(LdaSmi), U8(10), 203 /* 42 S> */ B(LdaSmi), U8(10),
204 B(Star), R(0), 204 B(Star), R(0),
205 /* 50 S> */ B(LdaSmi), U8(20), 205 /* 50 S> */ B(LdaSmi), U8(20),
206 B(Star), R(1), 206 B(Star), R(1),
207 /* 54 S> */ B(LdaSmi), U8(1), 207 /* 54 S> */ B(LdaSmi), U8(1),
208 B(Mov), R(0), R(2), 208 B(Mov), R(0), R(2),
209 B(Star), R(0), 209 B(Star), R(0),
210 /* 68 E> */ B(Add), R(2), 210 /* 68 E> */ B(Add), R(2), U8(1),
211 B(Star), R(3), 211 B(Star), R(3),
212 /* 76 E> */ B(AddSmi), U8(1), R(0), 212 /* 76 E> */ B(AddSmi), U8(1), R(0),
213 B(Star), R(4), 213 B(Star), R(4),
214 B(LdaSmi), U8(2), 214 B(LdaSmi), U8(2),
215 B(Star), R(1), 215 B(Star), R(1),
216 /* 88 E> */ B(Mul), R(4), 216 /* 88 E> */ B(Mul), R(4), U8(3),
217 B(Add), R(3), 217 B(Add), R(3), U8(4),
218 B(Star), R(2), 218 B(Star), R(2),
219 B(LdaSmi), U8(3), 219 B(LdaSmi), U8(3),
220 B(Star), R(1), 220 B(Star), R(1),
221 /* 98 E> */ B(Add), R(2), 221 /* 98 E> */ B(Add), R(2), U8(5),
222 B(Star), R(3), 222 B(Star), R(3),
223 B(LdaSmi), U8(4), 223 B(LdaSmi), U8(4),
224 B(Star), R(0), 224 B(Star), R(0),
225 /* 108 E> */ B(Add), R(3), 225 /* 108 E> */ B(Add), R(3), U8(6),
226 B(Star), R(2), 226 B(Star), R(2),
227 B(LdaSmi), U8(5), 227 B(LdaSmi), U8(5),
228 B(Star), R(1), 228 B(Star), R(1),
229 /* 118 E> */ B(Add), R(2), 229 /* 118 E> */ B(Add), R(2), U8(7),
230 B(Star), R(3), 230 B(Star), R(3),
231 B(Ldar), R(1), 231 B(Ldar), R(1),
232 /* 125 E> */ B(Add), R(3), 232 /* 125 E> */ B(Add), R(3), U8(8),
233 /* 128 S> */ B(Return), 233 /* 128 S> */ B(Return),
234 ] 234 ]
235 constant pool: [ 235 constant pool: [
236 ] 236 ]
237 handlers: [ 237 handlers: [
238 ] 238 ]
239 239
240 --- 240 ---
241 snippet: " 241 snippet: "
242 var x = 17; 242 var x = 17;
243 return 1 + x + (x++) + (++x); 243 return 1 + x + (x++) + (++x);
244 " 244 "
245 frame size: 4 245 frame size: 4
246 parameter count: 1 246 parameter count: 1
247 bytecode array length: 36 247 bytecode array length: 41
248 bytecodes: [ 248 bytecodes: [
249 /* 30 E> */ B(StackCheck), 249 /* 30 E> */ B(StackCheck),
250 /* 42 S> */ B(LdaSmi), U8(17), 250 /* 42 S> */ B(LdaSmi), U8(17),
251 B(Star), R(0), 251 B(Star), R(0),
252 /* 46 S> */ B(LdaSmi), U8(1), 252 /* 46 S> */ B(LdaSmi), U8(1),
253 B(Star), R(1), 253 B(Star), R(1),
254 B(Ldar), R(0), 254 B(Ldar), R(0),
255 /* 57 E> */ B(Add), R(1), 255 /* 57 E> */ B(Add), R(1), U8(1),
256 B(Star), R(2), 256 B(Star), R(2),
257 B(Ldar), R(0), 257 B(Ldar), R(0),
258 B(ToNumber), R(1), 258 B(ToNumber), R(1),
259 B(Inc), 259 B(Inc), U8(2),
260 B(Star), R(0), 260 B(Star), R(0),
261 B(Ldar), R(1), 261 B(Ldar), R(1),
262 /* 63 E> */ B(Add), R(2), 262 /* 63 E> */ B(Add), R(2), U8(3),
263 B(Star), R(3), 263 B(Star), R(3),
264 B(Ldar), R(0), 264 B(Ldar), R(0),
265 B(Inc), 265 B(Inc), U8(4),
266 B(Star), R(0), 266 B(Star), R(0),
267 /* 72 E> */ B(Add), R(3), 267 /* 72 E> */ B(Add), R(3), U8(5),
268 /* 76 S> */ B(Return), 268 /* 76 S> */ B(Return),
269 ] 269 ]
270 constant pool: [ 270 constant pool: [
271 ] 271 ]
272 handlers: [ 272 handlers: [
273 ] 273 ]
274 274
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698