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/RemoveRedundantLdar.golden

Issue 1717293002: [Interpreter] Refactor bytecode generator test suite. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Reflow REPEAT_249 macro. 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 ld_a = 1;
13 while(true) {
14 ld_a = ld_a + ld_a;
15 if (ld_a > 10) break;
16 }
17 return ld_a;
18 "
19 frame size: 2
20 parameter count: 1
21 bytecode array length: 31
22 bytecodes: [
23 B(StackCheck),
24 B(LdaSmi8), U8(1),
25 B(Star), R(0),
26 B(StackCheck),
27 B(Ldar), R(0),
28 B(Star), R(1),
29 B(Ldar), R(0),
30 B(Add), R(1),
31 B(Star), R(0),
32 B(Star), R(1),
33 B(LdaSmi8), U8(10),
34 B(TestGreaterThan), R(1),
35 B(JumpIfFalse), U8(4),
36 B(Jump), U8(4),
37 B(Jump), U8(-21),
38 B(Ldar), R(0),
39 B(Return),
40 ]
41 constant pool: [
42 ]
43 handlers: [
44 ]
45
46 ---
47 snippet: "
48 var ld_a = 1;
49 do {
50 ld_a = ld_a + ld_a;
51 if (ld_a > 10) continue;
52 } while(false);
53 return ld_a;
54 "
55 frame size: 2
56 parameter count: 1
57 bytecode array length: 29
58 bytecodes: [
59 B(StackCheck),
60 B(LdaSmi8), U8(1),
61 B(Star), R(0),
62 B(StackCheck),
63 B(Ldar), R(0),
64 B(Star), R(1),
65 B(Ldar), R(0),
66 B(Add), R(1),
67 B(Star), R(0),
68 B(Star), R(1),
69 B(LdaSmi8), U8(10),
70 B(TestGreaterThan), R(1),
71 B(JumpIfFalse), U8(4),
72 B(Jump), U8(2),
73 B(Ldar), R(0),
74 B(Return),
75 ]
76 constant pool: [
77 ]
78 handlers: [
79 ]
80
81 ---
82 snippet: "
83 var ld_a = 1;
84 ld_a = ld_a + ld_a;
85 return ld_a;
86 "
87 frame size: 2
88 parameter count: 1
89 bytecode array length: 14
90 bytecodes: [
91 B(StackCheck),
92 B(LdaSmi8), U8(1),
93 B(Star), R(0),
94 B(Star), R(1),
95 B(Ldar), R(0),
96 B(Add), R(1),
97 B(Star), R(0),
98 B(Return),
99 ]
100 constant pool: [
101 ]
102 handlers: [
103 ]
104
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698