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

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

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

Powered by Google App Engine
This is Rietveld 408576698