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

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

Issue 1963663002: [interpreter] Add checks for source position to test-bytecode-generator. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix bad implicit cast. 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 ---
11 snippet: " 11 snippet: "
12 var x = 0; 12 var x = 0;
13 while (false) { x = 99; break; continue; } 13 while (false) { x = 99; break; continue; }
14 return x; 14 return x;
15 " 15 "
16 frame size: 1 16 frame size: 1
17 parameter count: 1 17 parameter count: 1
18 bytecode array length: 5 18 bytecode array length: 5
19 bytecodes: [ 19 bytecodes: [
20 B(StackCheck), 20 /* 30 E> */ B(StackCheck),
21 B(LdaZero), 21 /* 42 S> */ B(LdaZero),
22 B(Star), R(0), 22 /* 42 E> */ B(Star), R(0),
23 B(Return), 23 /* 98 S> */ B(Return),
24 ] 24 ]
25 constant pool: [ 25 constant pool: [
26 ] 26 ]
27 handlers: [ 27 handlers: [
28 ] 28 ]
29 29
30 --- 30 ---
31 snippet: " 31 snippet: "
32 var x = 0; 32 var x = 0;
33 while (false) { 33 while (false) {
34 x = x + 1; 34 x = x + 1;
35 }; 35 };
36 return x; 36 return x;
37 " 37 "
38 frame size: 1 38 frame size: 1
39 parameter count: 1 39 parameter count: 1
40 bytecode array length: 5 40 bytecode array length: 5
41 bytecodes: [ 41 bytecodes: [
42 B(StackCheck), 42 /* 30 E> */ B(StackCheck),
43 B(LdaZero), 43 /* 42 S> */ B(LdaZero),
44 B(Star), R(0), 44 /* 42 E> */ B(Star), R(0),
45 B(Return), 45 /* 87 S> */ B(Return),
46 ] 46 ]
47 constant pool: [ 47 constant pool: [
48 ] 48 ]
49 handlers: [ 49 handlers: [
50 ] 50 ]
51 51
52 --- 52 ---
53 snippet: " 53 snippet: "
54 var x = 0; 54 var x = 0;
55 var y = 1; 55 var y = 1;
56 while (x < 10) { 56 while (x < 10) {
57 y = y * 12; 57 y = y * 12;
58 x = x + 1; 58 x = x + 1;
59 if (x == 3) continue; 59 if (x == 3) continue;
60 if (x == 4) break; 60 if (x == 4) break;
61 } 61 }
62 return y; 62 return y;
63 " 63 "
64 frame size: 3 64 frame size: 3
65 parameter count: 1 65 parameter count: 1
66 bytecode array length: 66 66 bytecode array length: 66
67 bytecodes: [ 67 bytecodes: [
68 B(StackCheck), 68 /* 30 E> */ B(StackCheck),
69 B(LdaZero), 69 /* 42 S> */ B(LdaZero),
70 B(Star), R(0), 70 /* 42 E> */ B(Star), R(0),
71 B(LdaSmi), U8(1), 71 /* 53 S> */ B(LdaSmi), U8(1),
72 B(Star), R(1), 72 /* 53 E> */ B(Star), R(1),
73 B(Ldar), R(0), 73 /* 65 S> */ B(Ldar), R(0),
74 B(Star), R(2), 74 B(Star), R(2),
75 B(LdaSmi), U8(10), 75 B(LdaSmi), U8(10),
76 B(TestLessThan), R(2), 76 /* 65 E> */ B(TestLessThan), R(2),
77 B(JumpIfFalse), U8(47), 77 B(JumpIfFalse), U8(47),
78 B(StackCheck), 78 /* 56 E> */ B(StackCheck),
79 B(Ldar), R(1), 79 /* 75 S> */ B(Ldar), R(1),
80 B(Star), R(2), 80 B(Star), R(2),
81 B(LdaSmi), U8(12), 81 B(LdaSmi), U8(12),
82 B(Mul), R(2), 82 B(Mul), R(2),
83 B(Star), R(1), 83 /* 77 E> */ B(Star), R(1),
84 B(Ldar), R(0), 84 /* 89 S> */ B(Ldar), R(0),
85 B(Star), R(2), 85 B(Star), R(2),
86 B(LdaSmi), U8(1), 86 B(LdaSmi), U8(1),
87 B(Add), R(2), 87 B(Add), R(2),
88 B(Star), R(0), 88 /* 91 E> */ B(Star), R(0),
89 B(Star), R(2), 89 /* 102 S> */ B(Star), R(2),
90 B(LdaSmi), U8(3), 90 B(LdaSmi), U8(3),
91 B(TestEqual), R(2), 91 /* 108 E> */ B(TestEqual), R(2),
92 B(JumpIfFalse), U8(4), 92 B(JumpIfFalse), U8(4),
93 B(Jump), U8(14), 93 /* 114 S> */ B(Jump), U8(14),
94 B(Ldar), R(0), 94 /* 126 S> */ B(Ldar), R(0),
95 B(Star), R(2), 95 B(Star), R(2),
96 B(LdaSmi), U8(4), 96 B(LdaSmi), U8(4),
97 B(TestEqual), R(2), 97 /* 132 E> */ B(TestEqual), R(2),
98 B(JumpIfFalse), U8(4), 98 B(JumpIfFalse), U8(4),
99 B(Jump), U8(4), 99 /* 138 S> */ B(Jump), U8(4),
100 B(Jump), U8(-53), 100 B(Jump), U8(-53),
101 B(Ldar), R(1), 101 /* 147 S> */ B(Ldar), R(1),
102 B(Return), 102 /* 157 S> */ B(Return),
103 ] 103 ]
104 constant pool: [ 104 constant pool: [
105 ] 105 ]
106 handlers: [ 106 handlers: [
107 ] 107 ]
108 108
109 --- 109 ---
110 snippet: " 110 snippet: "
111 var i = 0; 111 var i = 0;
112 while (true) { 112 while (true) {
113 if (i < 0) continue; 113 if (i < 0) continue;
114 if (i == 3) break; 114 if (i == 3) break;
115 if (i == 4) break; 115 if (i == 4) break;
116 if (i == 10) continue; 116 if (i == 10) continue;
117 if (i == 5) break; 117 if (i == 5) break;
118 i = i + 1; 118 i = i + 1;
119 } 119 }
120 return i; 120 return i;
121 " 121 "
122 frame size: 2 122 frame size: 2
123 parameter count: 1 123 parameter count: 1
124 bytecode array length: 79 124 bytecode array length: 79
125 bytecodes: [ 125 bytecodes: [
126 B(StackCheck), 126 /* 30 E> */ B(StackCheck),
127 B(LdaZero), 127 /* 42 S> */ B(LdaZero),
128 B(Star), R(0), 128 /* 42 E> */ B(Star), R(0),
129 B(StackCheck), 129 /* 45 E> */ B(StackCheck),
130 B(Ldar), R(0), 130 /* 62 S> */ B(Ldar), R(0),
131 B(Star), R(1), 131 B(Star), R(1),
132 B(LdaZero), 132 B(LdaZero),
133 B(TestLessThan), R(1), 133 /* 68 E> */ B(TestLessThan), R(1),
134 B(JumpIfFalse), U8(4), 134 B(JumpIfFalse), U8(4),
135 B(Jump), U8(60), 135 /* 73 S> */ B(Jump), U8(60),
136 B(Ldar), R(0), 136 /* 85 S> */ B(Ldar), R(0),
137 B(Star), R(1), 137 B(Star), R(1),
138 B(LdaSmi), U8(3), 138 B(LdaSmi), U8(3),
139 B(TestEqual), R(1), 139 /* 91 E> */ B(TestEqual), R(1),
140 B(JumpIfFalse), U8(4), 140 B(JumpIfFalse), U8(4),
141 B(Jump), U8(50), 141 /* 97 S> */ B(Jump), U8(50),
142 B(Ldar), R(0), 142 /* 106 S> */ B(Ldar), R(0),
143 B(Star), R(1), 143 B(Star), R(1),
144 B(LdaSmi), U8(4), 144 B(LdaSmi), U8(4),
145 B(TestEqual), R(1), 145 /* 112 E> */ B(TestEqual), R(1),
146 B(JumpIfFalse), U8(4), 146 B(JumpIfFalse), U8(4),
147 B(Jump), U8(38), 147 /* 118 S> */ B(Jump), U8(38),
148 B(Ldar), R(0), 148 /* 127 S> */ B(Ldar), R(0),
149 B(Star), R(1), 149 B(Star), R(1),
150 B(LdaSmi), U8(10), 150 B(LdaSmi), U8(10),
151 B(TestEqual), R(1), 151 /* 133 E> */ B(TestEqual), R(1),
152 B(JumpIfFalse), U8(4), 152 B(JumpIfFalse), U8(4),
153 B(Jump), U8(24), 153 /* 140 S> */ B(Jump), U8(24),
154 B(Ldar), R(0), 154 /* 152 S> */ B(Ldar), R(0),
155 B(Star), R(1), 155 B(Star), R(1),
156 B(LdaSmi), U8(5), 156 B(LdaSmi), U8(5),
157 B(TestEqual), R(1), 157 /* 158 E> */ B(TestEqual), R(1),
158 B(JumpIfFalse), U8(4), 158 B(JumpIfFalse), U8(4),
159 B(Jump), U8(14), 159 /* 164 S> */ B(Jump), U8(14),
160 B(Ldar), R(0), 160 /* 173 S> */ B(Ldar), R(0),
161 B(Star), R(1), 161 B(Star), R(1),
162 B(LdaSmi), U8(1), 162 B(LdaSmi), U8(1),
163 B(Add), R(1), 163 B(Add), R(1),
164 B(Star), R(0), 164 /* 175 E> */ B(Star), R(0),
165 B(Jump), U8(-70), 165 B(Jump), U8(-70),
166 B(Ldar), R(0), 166 /* 186 S> */ B(Ldar), R(0),
167 B(Return), 167 /* 196 S> */ B(Return),
168 ] 168 ]
169 constant pool: [ 169 constant pool: [
170 ] 170 ]
171 handlers: [ 171 handlers: [
172 ] 172 ]
173 173
174 --- 174 ---
175 snippet: " 175 snippet: "
176 var i = 0; 176 var i = 0;
177 while (true) { 177 while (true) {
178 while (i < 3) { 178 while (i < 3) {
179 if (i == 2) break; 179 if (i == 2) break;
180 i = i + 1; 180 i = i + 1;
181 } 181 }
182 i = i + 1; 182 i = i + 1;
183 break; 183 break;
184 } 184 }
185 return i; 185 return i;
186 " 186 "
187 frame size: 2 187 frame size: 2
188 parameter count: 1 188 parameter count: 1
189 bytecode array length: 57 189 bytecode array length: 57
190 bytecodes: [ 190 bytecodes: [
191 B(StackCheck), 191 /* 30 E> */ B(StackCheck),
192 B(LdaZero), 192 /* 42 S> */ B(LdaZero),
193 B(Star), R(0), 193 /* 42 E> */ B(Star), R(0),
194 B(StackCheck), 194 /* 45 E> */ B(StackCheck),
195 B(Ldar), R(0), 195 /* 71 S> */ B(Ldar), R(0),
196 B(Star), R(1), 196 B(Star), R(1),
197 B(LdaSmi), U8(3), 197 B(LdaSmi), U8(3),
198 B(TestLessThan), R(1), 198 /* 71 E> */ B(TestLessThan), R(1),
199 B(JumpIfFalse), U8(27), 199 B(JumpIfFalse), U8(27),
200 B(StackCheck), 200 /* 62 E> */ B(StackCheck),
201 B(Ldar), R(0), 201 /* 82 S> */ B(Ldar), R(0),
202 B(Star), R(1), 202 B(Star), R(1),
203 B(LdaSmi), U8(2), 203 B(LdaSmi), U8(2),
204 B(TestEqual), R(1), 204 /* 88 E> */ B(TestEqual), R(1),
205 B(JumpIfFalse), U8(4), 205 B(JumpIfFalse), U8(4),
206 B(Jump), U8(14), 206 /* 94 S> */ B(Jump), U8(14),
207 B(Ldar), R(0), 207 /* 105 S> */ B(Ldar), R(0),
208 B(Star), R(1), 208 B(Star), R(1),
209 B(LdaSmi), U8(1), 209 B(LdaSmi), U8(1),
210 B(Add), R(1), 210 B(Add), R(1),
211 B(Star), R(0), 211 /* 107 E> */ B(Star), R(0),
212 B(Jump), U8(-33), 212 B(Jump), U8(-33),
213 B(Ldar), R(0), 213 /* 122 S> */ B(Ldar), R(0),
214 B(Star), R(1), 214 B(Star), R(1),
215 B(LdaSmi), U8(1), 215 B(LdaSmi), U8(1),
216 B(Add), R(1), 216 B(Add), R(1),
217 B(Star), R(0), 217 /* 124 E> */ B(Star), R(0),
218 B(Jump), U8(4), 218 /* 135 S> */ B(Jump), U8(4),
219 B(Jump), U8(-48), 219 B(Jump), U8(-48),
220 B(Ldar), R(0), 220 /* 144 S> */ B(Ldar), R(0),
221 B(Return), 221 /* 154 S> */ B(Return),
222 ] 222 ]
223 constant pool: [ 223 constant pool: [
224 ] 224 ]
225 handlers: [ 225 handlers: [
226 ] 226 ]
227 227
228 --- 228 ---
229 snippet: " 229 snippet: "
230 var x = 10; 230 var x = 10;
231 var y = 1; 231 var y = 1;
232 while (x) { 232 while (x) {
233 y = y * 12; 233 y = y * 12;
234 x = x - 1; 234 x = x - 1;
235 } 235 }
236 return y; 236 return y;
237 " 237 "
238 frame size: 3 238 frame size: 3
239 parameter count: 1 239 parameter count: 1
240 bytecode array length: 39 240 bytecode array length: 39
241 bytecodes: [ 241 bytecodes: [
242 B(StackCheck), 242 /* 30 E> */ B(StackCheck),
243 B(LdaSmi), U8(10), 243 /* 42 S> */ B(LdaSmi), U8(10),
244 B(Star), R(0), 244 /* 42 E> */ B(Star), R(0),
245 B(LdaSmi), U8(1), 245 /* 54 S> */ B(LdaSmi), U8(1),
246 B(Star), R(1), 246 /* 54 E> */ B(Star), R(1),
247 B(Ldar), R(0), 247 /* 64 S> */ B(Ldar), R(0),
248 B(JumpIfToBooleanFalse), U8(25), 248 B(JumpIfToBooleanFalse), U8(25),
249 B(StackCheck), 249 /* 57 E> */ B(StackCheck),
250 B(Ldar), R(1), 250 /* 71 S> */ B(Ldar), R(1),
251 B(Star), R(2), 251 B(Star), R(2),
252 B(LdaSmi), U8(12), 252 B(LdaSmi), U8(12),
253 B(Mul), R(2), 253 B(Mul), R(2),
254 B(Star), R(1), 254 /* 73 E> */ B(Star), R(1),
255 B(Ldar), R(0), 255 /* 85 S> */ B(Ldar), R(0),
256 B(Star), R(2), 256 B(Star), R(2),
257 B(LdaSmi), U8(1), 257 B(LdaSmi), U8(1),
258 B(Sub), R(2), 258 B(Sub), R(2),
259 B(Star), R(0), 259 /* 87 E> */ B(Star), R(0),
260 B(Jump), U8(-25), 260 B(Jump), U8(-25),
261 B(Ldar), R(1), 261 /* 98 S> */ B(Ldar), R(1),
262 B(Return), 262 /* 108 S> */ B(Return),
263 ] 263 ]
264 constant pool: [ 264 constant pool: [
265 ] 265 ]
266 handlers: [ 266 handlers: [
267 ] 267 ]
268 268
269 --- 269 ---
270 snippet: " 270 snippet: "
271 var x = 0; var y = 1; 271 var x = 0; var y = 1;
272 do { 272 do {
273 y = y * 10; 273 y = y * 10;
274 if (x == 5) break; 274 if (x == 5) break;
275 if (x == 6) continue; 275 if (x == 6) continue;
276 x = x + 1; 276 x = x + 1;
277 } while (x < 10); 277 } while (x < 10);
278 return y; 278 return y;
279 " 279 "
280 frame size: 3 280 frame size: 3
281 parameter count: 1 281 parameter count: 1
282 bytecode array length: 66 282 bytecode array length: 66
283 bytecodes: [ 283 bytecodes: [
284 B(StackCheck), 284 /* 30 E> */ B(StackCheck),
285 B(LdaZero), 285 /* 42 S> */ B(LdaZero),
286 B(Star), R(0), 286 /* 42 E> */ B(Star), R(0),
287 B(LdaSmi), U8(1), 287 /* 53 S> */ B(LdaSmi), U8(1),
288 B(Star), R(1), 288 /* 53 E> */ B(Star), R(1),
289 B(StackCheck), 289 /* 56 E> */ B(StackCheck),
290 B(Ldar), R(1), 290 /* 63 S> */ B(Ldar), R(1),
291 B(Star), R(2), 291 B(Star), R(2),
292 B(LdaSmi), U8(10), 292 B(LdaSmi), U8(10),
293 B(Mul), R(2), 293 B(Mul), R(2),
294 B(Star), R(1), 294 /* 65 E> */ B(Star), R(1),
295 B(Ldar), R(0), 295 /* 77 S> */ B(Ldar), R(0),
296 B(Star), R(2), 296 B(Star), R(2),
297 B(LdaSmi), U8(5), 297 B(LdaSmi), U8(5),
298 B(TestEqual), R(2), 298 /* 83 E> */ B(TestEqual), R(2),
299 B(JumpIfFalse), U8(4), 299 B(JumpIfFalse), U8(4),
300 B(Jump), U8(34), 300 /* 89 S> */ B(Jump), U8(34),
301 B(Ldar), R(0), 301 /* 98 S> */ B(Ldar), R(0),
302 B(Star), R(2), 302 B(Star), R(2),
303 B(LdaSmi), U8(6), 303 B(LdaSmi), U8(6),
304 B(TestEqual), R(2), 304 /* 104 E> */ B(TestEqual), R(2),
305 B(JumpIfFalse), U8(4), 305 B(JumpIfFalse), U8(4),
306 B(Jump), U8(12), 306 /* 110 S> */ B(Jump), U8(12),
307 B(Ldar), R(0), 307 /* 122 S> */ B(Ldar), R(0),
308 B(Star), R(2), 308 B(Star), R(2),
309 B(LdaSmi), U8(1), 309 B(LdaSmi), U8(1),
310 B(Add), R(2), 310 B(Add), R(2),
311 B(Star), R(0), 311 /* 124 E> */ B(Star), R(0),
312 B(Ldar), R(0), 312 /* 144 S> */ B(Ldar), R(0),
313 B(Star), R(2), 313 B(Star), R(2),
314 B(LdaSmi), U8(10), 314 B(LdaSmi), U8(10),
315 B(TestLessThan), R(2), 315 /* 144 E> */ B(TestLessThan), R(2),
316 B(JumpIfTrue), U8(-53), 316 B(JumpIfTrue), U8(-53),
317 B(Ldar), R(1), 317 /* 151 S> */ B(Ldar), R(1),
318 B(Return), 318 /* 161 S> */ B(Return),
319 ] 319 ]
320 constant pool: [ 320 constant pool: [
321 ] 321 ]
322 handlers: [ 322 handlers: [
323 ] 323 ]
324 324
325 --- 325 ---
326 snippet: " 326 snippet: "
327 var x = 10; 327 var x = 10;
328 var y = 1; 328 var y = 1;
329 do { 329 do {
330 y = y * 12; 330 y = y * 12;
331 x = x - 1; 331 x = x - 1;
332 } while (x); 332 } while (x);
333 return y; 333 return y;
334 " 334 "
335 frame size: 3 335 frame size: 3
336 parameter count: 1 336 parameter count: 1
337 bytecode array length: 37 337 bytecode array length: 37
338 bytecodes: [ 338 bytecodes: [
339 B(StackCheck), 339 /* 30 E> */ B(StackCheck),
340 B(LdaSmi), U8(10), 340 /* 42 S> */ B(LdaSmi), U8(10),
341 B(Star), R(0), 341 /* 42 E> */ B(Star), R(0),
342 B(LdaSmi), U8(1), 342 /* 54 S> */ B(LdaSmi), U8(1),
343 B(Star), R(1), 343 /* 54 E> */ B(Star), R(1),
344 B(StackCheck), 344 /* 57 E> */ B(StackCheck),
345 B(Ldar), R(1), 345 /* 64 S> */ B(Ldar), R(1),
346 B(Star), R(2), 346 B(Star), R(2),
347 B(LdaSmi), U8(12), 347 B(LdaSmi), U8(12),
348 B(Mul), R(2), 348 B(Mul), R(2),
349 B(Star), R(1), 349 /* 66 E> */ B(Star), R(1),
350 B(Ldar), R(0), 350 /* 78 S> */ B(Ldar), R(0),
351 B(Star), R(2), 351 B(Star), R(2),
352 B(LdaSmi), U8(1), 352 B(LdaSmi), U8(1),
353 B(Sub), R(2), 353 B(Sub), R(2),
354 B(Star), R(0), 354 /* 80 E> */ B(Star), R(0),
355 B(Ldar), R(0), 355 /* 98 S> */ B(Ldar), R(0),
356 B(JumpIfToBooleanTrue), U8(-23), 356 B(JumpIfToBooleanTrue), U8(-23),
357 B(Ldar), R(1), 357 /* 102 S> */ B(Ldar), R(1),
358 B(Return), 358 /* 112 S> */ B(Return),
359 ] 359 ]
360 constant pool: [ 360 constant pool: [
361 ] 361 ]
362 handlers: [ 362 handlers: [
363 ] 363 ]
364 364
365 --- 365 ---
366 snippet: " 366 snippet: "
367 var x = 0; var y = 1; 367 var x = 0; var y = 1;
368 do { 368 do {
369 y = y * 10; 369 y = y * 10;
370 if (x == 5) break; 370 if (x == 5) break;
371 x = x + 1; 371 x = x + 1;
372 if (x == 6) continue; 372 if (x == 6) continue;
373 } while (false); 373 } while (false);
374 return y; 374 return y;
375 " 375 "
376 frame size: 3 376 frame size: 3
377 parameter count: 1 377 parameter count: 1
378 bytecode array length: 54 378 bytecode array length: 54
379 bytecodes: [ 379 bytecodes: [
380 B(StackCheck), 380 /* 30 E> */ B(StackCheck),
381 B(LdaZero), 381 /* 42 S> */ B(LdaZero),
382 B(Star), R(0), 382 /* 42 E> */ B(Star), R(0),
383 B(LdaSmi), U8(1), 383 /* 53 S> */ B(LdaSmi), U8(1),
384 B(Star), R(1), 384 /* 53 E> */ B(Star), R(1),
385 B(StackCheck), 385 /* 56 E> */ B(StackCheck),
386 B(Ldar), R(1), 386 /* 63 S> */ B(Ldar), R(1),
387 B(Star), R(2), 387 B(Star), R(2),
388 B(LdaSmi), U8(10), 388 B(LdaSmi), U8(10),
389 B(Mul), R(2), 389 B(Mul), R(2),
390 B(Star), R(1), 390 /* 65 E> */ B(Star), R(1),
391 B(Ldar), R(0), 391 /* 77 S> */ B(Ldar), R(0),
392 B(Star), R(2), 392 B(Star), R(2),
393 B(LdaSmi), U8(5), 393 B(LdaSmi), U8(5),
394 B(TestEqual), R(2), 394 /* 83 E> */ B(TestEqual), R(2),
395 B(JumpIfFalse), U8(4), 395 B(JumpIfFalse), U8(4),
396 B(Jump), U8(22), 396 /* 89 S> */ B(Jump), U8(22),
397 B(Ldar), R(0), 397 /* 98 S> */ B(Ldar), R(0),
398 B(Star), R(2), 398 B(Star), R(2),
399 B(LdaSmi), U8(1), 399 B(LdaSmi), U8(1),
400 B(Add), R(2), 400 B(Add), R(2),
401 B(Star), R(0), 401 /* 100 E> */ B(Star), R(0),
402 B(Star), R(2), 402 /* 111 S> */ B(Star), R(2),
403 B(LdaSmi), U8(6), 403 B(LdaSmi), U8(6),
404 B(TestEqual), R(2), 404 /* 117 E> */ B(TestEqual), R(2),
405 B(JumpIfFalse), U8(4), 405 B(JumpIfFalse), U8(4),
406 B(Jump), U8(2), 406 /* 123 S> */ B(Jump), U8(2),
407 B(Ldar), R(1), 407 /* 150 S> */ B(Ldar), R(1),
408 B(Return), 408 /* 160 S> */ B(Return),
409 ] 409 ]
410 constant pool: [ 410 constant pool: [
411 ] 411 ]
412 handlers: [ 412 handlers: [
413 ] 413 ]
414 414
415 --- 415 ---
416 snippet: " 416 snippet: "
417 var x = 0; var y = 1; 417 var x = 0; var y = 1;
418 do { 418 do {
419 y = y * 10; 419 y = y * 10;
420 if (x == 5) break; 420 if (x == 5) break;
421 x = x + 1; 421 x = x + 1;
422 if (x == 6) continue; 422 if (x == 6) continue;
423 } while (true); 423 } while (true);
424 return y; 424 return y;
425 " 425 "
426 frame size: 3 426 frame size: 3
427 parameter count: 1 427 parameter count: 1
428 bytecode array length: 56 428 bytecode array length: 56
429 bytecodes: [ 429 bytecodes: [
430 B(StackCheck), 430 /* 30 E> */ B(StackCheck),
431 B(LdaZero), 431 /* 42 S> */ B(LdaZero),
432 B(Star), R(0), 432 /* 42 E> */ B(Star), R(0),
433 B(LdaSmi), U8(1), 433 /* 53 S> */ B(LdaSmi), U8(1),
434 B(Star), R(1), 434 /* 53 E> */ B(Star), R(1),
435 B(StackCheck), 435 /* 56 E> */ B(StackCheck),
436 B(Ldar), R(1), 436 /* 63 S> */ B(Ldar), R(1),
437 B(Star), R(2), 437 B(Star), R(2),
438 B(LdaSmi), U8(10), 438 B(LdaSmi), U8(10),
439 B(Mul), R(2), 439 B(Mul), R(2),
440 B(Star), R(1), 440 /* 65 E> */ B(Star), R(1),
441 B(Ldar), R(0), 441 /* 77 S> */ B(Ldar), R(0),
442 B(Star), R(2), 442 B(Star), R(2),
443 B(LdaSmi), U8(5), 443 B(LdaSmi), U8(5),
444 B(TestEqual), R(2), 444 /* 83 E> */ B(TestEqual), R(2),
445 B(JumpIfFalse), U8(4), 445 B(JumpIfFalse), U8(4),
446 B(Jump), U8(24), 446 /* 89 S> */ B(Jump), U8(24),
447 B(Ldar), R(0), 447 /* 98 S> */ B(Ldar), R(0),
448 B(Star), R(2), 448 B(Star), R(2),
449 B(LdaSmi), U8(1), 449 B(LdaSmi), U8(1),
450 B(Add), R(2), 450 B(Add), R(2),
451 B(Star), R(0), 451 /* 100 E> */ B(Star), R(0),
452 B(Star), R(2), 452 /* 111 S> */ B(Star), R(2),
453 B(LdaSmi), U8(6), 453 B(LdaSmi), U8(6),
454 B(TestEqual), R(2), 454 /* 117 E> */ B(TestEqual), R(2),
455 B(JumpIfFalse), U8(4), 455 B(JumpIfFalse), U8(4),
456 B(Jump), U8(2), 456 /* 123 S> */ B(Jump), U8(2),
457 B(Jump), U8(-43), 457 B(Jump), U8(-43),
458 B(Ldar), R(1), 458 /* 149 S> */ B(Ldar), R(1),
459 B(Return), 459 /* 159 S> */ B(Return),
460 ] 460 ]
461 constant pool: [ 461 constant pool: [
462 ] 462 ]
463 handlers: [ 463 handlers: [
464 ] 464 ]
465 465
466 --- 466 ---
467 snippet: " 467 snippet: "
468 var x = 0; 468 var x = 0;
469 for (;;) { 469 for (;;) {
470 if (x == 1) break; 470 if (x == 1) break;
471 if (x == 2) continue; 471 if (x == 2) continue;
472 x = x + 1; 472 x = x + 1;
473 } 473 }
474 " 474 "
475 frame size: 2 475 frame size: 2
476 parameter count: 1 476 parameter count: 1
477 bytecode array length: 43 477 bytecode array length: 43
478 bytecodes: [ 478 bytecodes: [
479 B(StackCheck), 479 /* 30 E> */ B(StackCheck),
480 B(LdaZero), 480 /* 42 S> */ B(LdaZero),
481 B(Star), R(0), 481 /* 42 E> */ B(Star), R(0),
482 B(StackCheck), 482 /* 45 E> */ B(StackCheck),
483 B(Ldar), R(0), 483 /* 58 S> */ B(Ldar), R(0),
484 B(Star), R(1), 484 B(Star), R(1),
485 B(LdaSmi), U8(1), 485 B(LdaSmi), U8(1),
486 B(TestEqual), R(1), 486 /* 64 E> */ B(TestEqual), R(1),
487 B(JumpIfFalse), U8(4), 487 B(JumpIfFalse), U8(4),
488 B(Jump), U8(26), 488 /* 70 S> */ B(Jump), U8(26),
489 B(Ldar), R(0), 489 /* 79 S> */ B(Ldar), R(0),
490 B(Star), R(1), 490 B(Star), R(1),
491 B(LdaSmi), U8(2), 491 B(LdaSmi), U8(2),
492 B(TestEqual), R(1), 492 /* 85 E> */ B(TestEqual), R(1),
493 B(JumpIfFalse), U8(4), 493 B(JumpIfFalse), U8(4),
494 B(Jump), U8(12), 494 /* 91 S> */ B(Jump), U8(12),
495 B(Ldar), R(0), 495 /* 103 S> */ B(Ldar), R(0),
496 B(Star), R(1), 496 B(Star), R(1),
497 B(LdaSmi), U8(1), 497 B(LdaSmi), U8(1),
498 B(Add), R(1), 498 B(Add), R(1),
499 B(Star), R(0), 499 /* 105 E> */ B(Star), R(0),
500 B(Jump), U8(-35), 500 B(Jump), U8(-35),
501 B(LdaUndefined), 501 B(LdaUndefined),
502 B(Return), 502 /* 116 S> */ B(Return),
503 ] 503 ]
504 constant pool: [ 504 constant pool: [
505 ] 505 ]
506 handlers: [ 506 handlers: [
507 ] 507 ]
508 508
509 --- 509 ---
510 snippet: " 510 snippet: "
511 for (var x = 0;;) { 511 for (var x = 0;;) {
512 if (x == 1) break; 512 if (x == 1) break;
513 if (x == 2) continue; 513 if (x == 2) continue;
514 x = x + 1; 514 x = x + 1;
515 } 515 }
516 " 516 "
517 frame size: 2 517 frame size: 2
518 parameter count: 1 518 parameter count: 1
519 bytecode array length: 43 519 bytecode array length: 43
520 bytecodes: [ 520 bytecodes: [
521 B(StackCheck), 521 /* 30 E> */ B(StackCheck),
522 B(LdaZero), 522 /* 47 S> */ B(LdaZero),
523 B(Star), R(0), 523 /* 47 E> */ B(Star), R(0),
524 B(StackCheck), 524 /* 34 E> */ B(StackCheck),
525 B(Ldar), R(0), 525 /* 56 S> */ B(Ldar), R(0),
526 B(Star), R(1), 526 B(Star), R(1),
527 B(LdaSmi), U8(1), 527 B(LdaSmi), U8(1),
528 B(TestEqual), R(1), 528 /* 62 E> */ B(TestEqual), R(1),
529 B(JumpIfFalse), U8(4), 529 B(JumpIfFalse), U8(4),
530 B(Jump), U8(26), 530 /* 68 S> */ B(Jump), U8(26),
531 B(Ldar), R(0), 531 /* 77 S> */ B(Ldar), R(0),
532 B(Star), R(1), 532 B(Star), R(1),
533 B(LdaSmi), U8(2), 533 B(LdaSmi), U8(2),
534 B(TestEqual), R(1), 534 /* 83 E> */ B(TestEqual), R(1),
535 B(JumpIfFalse), U8(4), 535 B(JumpIfFalse), U8(4),
536 B(Jump), U8(12), 536 /* 89 S> */ B(Jump), U8(12),
537 B(Ldar), R(0), 537 /* 101 S> */ B(Ldar), R(0),
538 B(Star), R(1), 538 B(Star), R(1),
539 B(LdaSmi), U8(1), 539 B(LdaSmi), U8(1),
540 B(Add), R(1), 540 B(Add), R(1),
541 B(Star), R(0), 541 /* 103 E> */ B(Star), R(0),
542 B(Jump), U8(-35), 542 B(Jump), U8(-35),
543 B(LdaUndefined), 543 B(LdaUndefined),
544 B(Return), 544 /* 114 S> */ B(Return),
545 ] 545 ]
546 constant pool: [ 546 constant pool: [
547 ] 547 ]
548 handlers: [ 548 handlers: [
549 ] 549 ]
550 550
551 --- 551 ---
552 snippet: " 552 snippet: "
553 var x = 0; 553 var x = 0;
554 for (;; x = x + 1) { 554 for (;; x = x + 1) {
555 if (x == 1) break; 555 if (x == 1) break;
556 if (x == 2) continue; 556 if (x == 2) continue;
557 } 557 }
558 " 558 "
559 frame size: 2 559 frame size: 2
560 parameter count: 1 560 parameter count: 1
561 bytecode array length: 43 561 bytecode array length: 43
562 bytecodes: [ 562 bytecodes: [
563 B(StackCheck), 563 /* 30 E> */ B(StackCheck),
564 B(LdaZero), 564 /* 42 S> */ B(LdaZero),
565 B(Star), R(0), 565 /* 42 E> */ B(Star), R(0),
566 B(StackCheck), 566 /* 45 E> */ B(StackCheck),
567 B(Ldar), R(0), 567 /* 68 S> */ B(Ldar), R(0),
568 B(Star), R(1), 568 B(Star), R(1),
569 B(LdaSmi), U8(1), 569 B(LdaSmi), U8(1),
570 B(TestEqual), R(1), 570 /* 74 E> */ B(TestEqual), R(1),
571 B(JumpIfFalse), U8(4), 571 B(JumpIfFalse), U8(4),
572 B(Jump), U8(26), 572 /* 80 S> */ B(Jump), U8(26),
573 B(Ldar), R(0), 573 /* 89 S> */ B(Ldar), R(0),
574 B(Star), R(1), 574 B(Star), R(1),
575 B(LdaSmi), U8(2), 575 B(LdaSmi), U8(2),
576 B(TestEqual), R(1), 576 /* 95 E> */ B(TestEqual), R(1),
577 B(JumpIfFalse), U8(4), 577 B(JumpIfFalse), U8(4),
578 B(Jump), U8(2), 578 /* 101 S> */ B(Jump), U8(2),
579 B(Ldar), R(0), 579 /* 55 S> */ B(Ldar), R(0),
580 B(Star), R(1), 580 B(Star), R(1),
581 B(LdaSmi), U8(1), 581 B(LdaSmi), U8(1),
582 B(Add), R(1), 582 B(Add), R(1),
583 B(Star), R(0), 583 /* 55 E> */ B(Star), R(0),
584 B(Jump), U8(-35), 584 B(Jump), U8(-35),
585 B(LdaUndefined), 585 B(LdaUndefined),
586 B(Return), 586 /* 113 S> */ B(Return),
587 ] 587 ]
588 constant pool: [ 588 constant pool: [
589 ] 589 ]
590 handlers: [ 590 handlers: [
591 ] 591 ]
592 592
593 --- 593 ---
594 snippet: " 594 snippet: "
595 for (var x = 0;; x = x + 1) { 595 for (var x = 0;; x = x + 1) {
596 if (x == 1) break; 596 if (x == 1) break;
597 if (x == 2) continue; 597 if (x == 2) continue;
598 } 598 }
599 " 599 "
600 frame size: 2 600 frame size: 2
601 parameter count: 1 601 parameter count: 1
602 bytecode array length: 43 602 bytecode array length: 43
603 bytecodes: [ 603 bytecodes: [
604 B(StackCheck), 604 /* 30 E> */ B(StackCheck),
605 B(LdaZero), 605 /* 47 S> */ B(LdaZero),
606 B(Star), R(0), 606 /* 47 E> */ B(Star), R(0),
607 B(StackCheck), 607 /* 34 E> */ B(StackCheck),
608 B(Ldar), R(0), 608 /* 66 S> */ B(Ldar), R(0),
609 B(Star), R(1), 609 B(Star), R(1),
610 B(LdaSmi), U8(1), 610 B(LdaSmi), U8(1),
611 B(TestEqual), R(1), 611 /* 72 E> */ B(TestEqual), R(1),
612 B(JumpIfFalse), U8(4), 612 B(JumpIfFalse), U8(4),
613 B(Jump), U8(26), 613 /* 78 S> */ B(Jump), U8(26),
614 B(Ldar), R(0), 614 /* 87 S> */ B(Ldar), R(0),
615 B(Star), R(1), 615 B(Star), R(1),
616 B(LdaSmi), U8(2), 616 B(LdaSmi), U8(2),
617 B(TestEqual), R(1), 617 /* 93 E> */ B(TestEqual), R(1),
618 B(JumpIfFalse), U8(4), 618 B(JumpIfFalse), U8(4),
619 B(Jump), U8(2), 619 /* 99 S> */ B(Jump), U8(2),
620 B(Ldar), R(0), 620 /* 53 S> */ B(Ldar), R(0),
621 B(Star), R(1), 621 B(Star), R(1),
622 B(LdaSmi), U8(1), 622 B(LdaSmi), U8(1),
623 B(Add), R(1), 623 B(Add), R(1),
624 B(Star), R(0), 624 /* 53 E> */ B(Star), R(0),
625 B(Jump), U8(-35), 625 B(Jump), U8(-35),
626 B(LdaUndefined), 626 B(LdaUndefined),
627 B(Return), 627 /* 111 S> */ B(Return),
628 ] 628 ]
629 constant pool: [ 629 constant pool: [
630 ] 630 ]
631 handlers: [ 631 handlers: [
632 ] 632 ]
633 633
634 --- 634 ---
635 snippet: " 635 snippet: "
636 var u = 0; 636 var u = 0;
637 for (var i = 0; i < 100; i = i + 1) { 637 for (var i = 0; i < 100; i = i + 1) {
638 u = u + 1; 638 u = u + 1;
639 continue; 639 continue;
640 } 640 }
641 " 641 "
642 frame size: 3 642 frame size: 3
643 parameter count: 1 643 parameter count: 1
644 bytecode array length: 44 644 bytecode array length: 44
645 bytecodes: [ 645 bytecodes: [
646 B(StackCheck), 646 /* 30 E> */ B(StackCheck),
647 B(LdaZero), 647 /* 42 S> */ B(LdaZero),
648 B(Star), R(0), 648 /* 42 E> */ B(Star), R(0),
649 B(LdaZero), 649 /* 58 S> */ B(LdaZero),
650 B(Star), R(1), 650 /* 58 E> */ B(Star), R(1),
651 B(Ldar), R(1), 651 /* 63 S> */ B(Ldar), R(1),
652 B(Star), R(2), 652 B(Star), R(2),
653 B(LdaSmi), U8(100), 653 B(LdaSmi), U8(100),
654 B(TestLessThan), R(2), 654 /* 63 E> */ B(TestLessThan), R(2),
655 B(JumpIfFalse), U8(27), 655 B(JumpIfFalse), U8(27),
656 B(StackCheck), 656 /* 45 E> */ B(StackCheck),
657 B(Ldar), R(0), 657 /* 85 S> */ B(Ldar), R(0),
658 B(Star), R(2), 658 B(Star), R(2),
659 B(LdaSmi), U8(1), 659 B(LdaSmi), U8(1),
660 B(Add), R(2), 660 B(Add), R(2),
661 B(Star), R(0), 661 /* 87 E> */ B(Star), R(0),
662 B(Jump), U8(2), 662 /* 98 S> */ B(Jump), U8(2),
663 B(Ldar), R(1), 663 /* 72 S> */ B(Ldar), R(1),
664 B(Star), R(2), 664 B(Star), R(2),
665 B(LdaSmi), U8(1), 665 B(LdaSmi), U8(1),
666 B(Add), R(2), 666 B(Add), R(2),
667 B(Star), R(1), 667 /* 72 E> */ B(Star), R(1),
668 B(Jump), U8(-33), 668 B(Jump), U8(-33),
669 B(LdaUndefined), 669 B(LdaUndefined),
670 B(Return), 670 /* 110 S> */ B(Return),
671 ] 671 ]
672 constant pool: [ 672 constant pool: [
673 ] 673 ]
674 handlers: [ 674 handlers: [
675 ] 675 ]
676 676
677 --- 677 ---
678 snippet: " 678 snippet: "
679 var y = 1; 679 var y = 1;
680 for (var x = 10; x; --x) { 680 for (var x = 10; x; --x) {
681 y = y * 12; 681 y = y * 12;
682 } 682 }
683 return y; 683 return y;
684 " 684 "
685 frame size: 3 685 frame size: 3
686 parameter count: 1 686 parameter count: 1
687 bytecode array length: 34 687 bytecode array length: 34
688 bytecodes: [ 688 bytecodes: [
689 B(StackCheck), 689 /* 30 E> */ B(StackCheck),
690 B(LdaSmi), U8(1), 690 /* 42 S> */ B(LdaSmi), U8(1),
691 B(Star), R(0), 691 /* 42 E> */ B(Star), R(0),
692 B(LdaSmi), U8(10), 692 /* 58 S> */ B(LdaSmi), U8(10),
693 B(Star), R(1), 693 /* 58 E> */ B(Star), R(1),
694 B(Ldar), R(1), 694 /* 62 S> */ B(Ldar), R(1),
695 B(JumpIfToBooleanFalse), U8(20), 695 B(JumpIfToBooleanFalse), U8(20),
696 B(StackCheck), 696 /* 45 E> */ B(StackCheck),
697 B(Ldar), R(0), 697 /* 74 S> */ B(Ldar), R(0),
698 B(Star), R(2), 698 B(Star), R(2),
699 B(LdaSmi), U8(12), 699 B(LdaSmi), U8(12),
700 B(Mul), R(2), 700 B(Mul), R(2),
701 B(Star), R(0), 701 /* 76 E> */ B(Star), R(0),
702 B(Ldar), R(1), 702 /* 67 S> */ B(Ldar), R(1),
703 B(Dec), 703 B(Dec),
704 B(Star), R(1), 704 /* 67 E> */ B(Star), R(1),
705 B(Jump), U8(-20), 705 B(Jump), U8(-20),
706 B(Ldar), R(0), 706 /* 88 S> */ B(Ldar), R(0),
707 B(Return), 707 /* 98 S> */ B(Return),
708 ] 708 ]
709 constant pool: [ 709 constant pool: [
710 ] 710 ]
711 handlers: [ 711 handlers: [
712 ] 712 ]
713 713
714 --- 714 ---
715 snippet: " 715 snippet: "
716 var x = 0; 716 var x = 0;
717 for (var i = 0; false; i++) { 717 for (var i = 0; false; i++) {
718 x = x + 1; 718 x = x + 1;
719 }; 719 };
720 return x; 720 return x;
721 " 721 "
722 frame size: 2 722 frame size: 2
723 parameter count: 1 723 parameter count: 1
724 bytecode array length: 10 724 bytecode array length: 10
725 bytecodes: [ 725 bytecodes: [
726 B(StackCheck), 726 /* 30 E> */ B(StackCheck),
727 B(LdaZero), 727 /* 42 S> */ B(LdaZero),
728 B(Star), R(0), 728 /* 42 E> */ B(Star), R(0),
729 B(LdaZero), 729 /* 58 S> */ B(LdaZero),
730 B(Star), R(1), 730 /* 58 E> */ B(Star), R(1),
731 B(Ldar), R(0), 731 /* 91 S> */ B(Ldar), R(0),
732 B(Return), 732 /* 101 S> */ B(Return),
733 ] 733 ]
734 constant pool: [ 734 constant pool: [
735 ] 735 ]
736 handlers: [ 736 handlers: [
737 ] 737 ]
738 738
739 --- 739 ---
740 snippet: " 740 snippet: "
741 var x = 0; 741 var x = 0;
742 for (var i = 0; true; ++i) { 742 for (var i = 0; true; ++i) {
743 x = x + 1; 743 x = x + 1;
744 if (x == 20) break; 744 if (x == 20) break;
745 }; 745 };
746 return x; 746 return x;
747 " 747 "
748 frame size: 3 748 frame size: 3
749 parameter count: 1 749 parameter count: 1
750 bytecode array length: 38 750 bytecode array length: 38
751 bytecodes: [ 751 bytecodes: [
752 B(StackCheck), 752 /* 30 E> */ B(StackCheck),
753 B(LdaZero), 753 /* 42 S> */ B(LdaZero),
754 B(Star), R(0), 754 /* 42 E> */ B(Star), R(0),
755 B(LdaZero), 755 /* 58 S> */ B(LdaZero),
756 B(Star), R(1), 756 /* 58 E> */ B(Star), R(1),
757 B(StackCheck), 757 /* 45 E> */ B(StackCheck),
758 B(Ldar), R(0), 758 /* 76 S> */ B(Ldar), R(0),
759 B(Star), R(2), 759 B(Star), R(2),
760 B(LdaSmi), U8(1), 760 B(LdaSmi), U8(1),
761 B(Add), R(2), 761 B(Add), R(2),
762 B(Star), R(0), 762 /* 78 E> */ B(Star), R(0),
763 B(Star), R(2), 763 /* 89 S> */ B(Star), R(2),
764 B(LdaSmi), U8(20), 764 B(LdaSmi), U8(20),
765 B(TestEqual), R(2), 765 /* 95 E> */ B(TestEqual), R(2),
766 B(JumpIfFalse), U8(4), 766 B(JumpIfFalse), U8(4),
767 B(Jump), U8(9), 767 /* 102 S> */ B(Jump), U8(9),
768 B(Ldar), R(1), 768 /* 69 S> */ B(Ldar), R(1),
769 B(Inc), 769 B(Inc),
770 B(Star), R(1), 770 /* 69 E> */ B(Star), R(1),
771 B(Jump), U8(-26), 771 B(Jump), U8(-26),
772 B(Ldar), R(0), 772 /* 112 S> */ B(Ldar), R(0),
773 B(Return), 773 /* 122 S> */ B(Return),
774 ] 774 ]
775 constant pool: [ 775 constant pool: [
776 ] 776 ]
777 handlers: [ 777 handlers: [
778 ] 778 ]
779 779
780 --- 780 ---
781 snippet: " 781 snippet: "
782 var a = 0; 782 var a = 0;
783 while (a) { 783 while (a) {
784 { 784 {
785 let z = 1; 785 let z = 1;
786 function f() { z = 2; } 786 function f() { z = 2; }
787 if (z) continue; 787 if (z) continue;
788 z++; 788 z++;
789 } 789 }
790 } 790 }
791 " 791 "
792 frame size: 7 792 frame size: 7
793 parameter count: 1 793 parameter count: 1
794 bytecode array length: 120 794 bytecode array length: 120
795 bytecodes: [ 795 bytecodes: [
796 B(StackCheck), 796 /* 30 E> */ B(StackCheck),
797 B(LdaZero), 797 /* 42 S> */ B(LdaZero),
798 B(Star), R(1), 798 /* 42 E> */ B(Star), R(1),
799 B(Ldar), R(1), 799 /* 52 S> */ B(Ldar), R(1),
800 B(JumpIfToBooleanFalse), U8(112), 800 B(JumpIfToBooleanFalse), U8(112),
801 B(StackCheck), 801 /* 45 E> */ B(StackCheck),
802 B(LdaConstant), U8(0), 802 B(LdaConstant), U8(0),
803 B(Star), R(4), 803 B(Star), R(4),
804 B(Ldar), R(closure), 804 B(Ldar), R(closure),
805 B(Star), R(5), 805 B(Star), R(5),
806 B(CallRuntime), U16(Runtime::kPushBlockContext), R(4), U8(2), 806 B(CallRuntime), U16(Runtime::kPushBlockContext), R(4), U8(2),
807 B(PushContext), R(3), 807 B(PushContext), R(3),
808 B(LdaTheHole), 808 B(LdaTheHole),
809 B(StaContextSlot), R(context), U8(4), 809 B(StaContextSlot), R(context), U8(4),
810 B(CreateClosure), U8(1), U8(0), 810 B(CreateClosure), U8(1), U8(0),
811 B(Star), R(0), 811 B(Star), R(0),
812 B(LdaSmi), U8(1), 812 /* 73 S> */ B(LdaSmi), U8(1),
813 B(StaContextSlot), R(context), U8(4), 813 /* 73 E> */ B(StaContextSlot), R(context), U8(4),
814 B(Ldar), R(0), 814 B(Ldar), R(0),
815 B(JumpIfNotHole), U8(11), 815 B(JumpIfNotHole), U8(11),
816 B(LdaConstant), U8(2), 816 B(LdaConstant), U8(2),
817 B(Star), R(4), 817 B(Star), R(4),
818 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(4), U8(1), 818 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(4), U8(1),
819 B(Star), R(2), 819 B(Star), R(2),
820 B(LdaContextSlot), R(context), U8(4), 820 /* 106 S> */ B(LdaContextSlot), R(context), U8(4),
821 B(JumpIfNotHole), U8(11), 821 B(JumpIfNotHole), U8(11),
822 B(LdaConstant), U8(3), 822 B(LdaConstant), U8(3),
823 B(Star), R(4), 823 B(Star), R(4),
824 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(4), U8(1), 824 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(4), U8(1),
825 B(JumpIfToBooleanFalse), U8(8), 825 B(JumpIfToBooleanFalse), U8(8),
826 B(PopContext), R(3), 826 /* 113 S> */ B(PopContext), R(3),
827 B(PopContext), R(3), 827 B(PopContext), R(3),
828 B(Jump), U8(43), 828 B(Jump), U8(43),
829 B(LdaContextSlot), R(context), U8(4), 829 /* 126 S> */ B(LdaContextSlot), R(context), U8(4),
830 B(JumpIfNotHole), U8(11), 830 B(JumpIfNotHole), U8(11),
831 B(LdaConstant), U8(3), 831 B(LdaConstant), U8(3),
832 B(Star), R(4), 832 B(Star), R(4),
833 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(4), U8(1), 833 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(4), U8(1),
834 B(ToNumber), 834 B(ToNumber),
835 B(Star), R(4), 835 B(Star), R(4),
836 B(Inc), 836 B(Inc),
837 B(Star), R(5), 837 /* 127 E> */ B(Star), R(5),
838 B(LdaContextSlot), R(context), U8(4), 838 B(LdaContextSlot), R(context), U8(4),
839 B(JumpIfNotHole), U8(11), 839 B(JumpIfNotHole), U8(11),
840 B(LdaConstant), U8(3), 840 B(LdaConstant), U8(3),
841 B(Star), R(6), 841 B(Star), R(6),
842 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(6), U8(1), 842 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(6), U8(1),
843 B(Ldar), R(5), 843 B(Ldar), R(5),
844 B(StaContextSlot), R(context), U8(4), 844 B(StaContextSlot), R(context), U8(4),
845 B(PopContext), R(3), 845 B(PopContext), R(3),
846 B(Jump), U8(-112), 846 B(Jump), U8(-112),
847 B(LdaUndefined), 847 B(LdaUndefined),
848 B(Return), 848 /* 137 S> */ B(Return),
849 ] 849 ]
850 constant pool: [ 850 constant pool: [
851 InstanceType::FIXED_ARRAY_TYPE, 851 InstanceType::FIXED_ARRAY_TYPE,
852 InstanceType::SHARED_FUNCTION_INFO_TYPE, 852 InstanceType::SHARED_FUNCTION_INFO_TYPE,
853 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 853 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
854 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 854 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
855 ] 855 ]
856 handlers: [ 856 handlers: [
857 ] 857 ]
858 858
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698