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

Side by Side Diff: test/cctest/interpreter/bytecode_expectations/PrimitiveReturnStatements.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 "
13 frame size: 0
14 parameter count: 1
15 bytecode array length: 3
16 bytecodes: [
17 B(StackCheck),
18 B(LdaUndefined),
19 B(Return),
20 ]
21 constant pool: [
22 ]
23 handlers: [
24 ]
25
26 ---
27 snippet: "
28 return;
29 "
30 frame size: 0
31 parameter count: 1
32 bytecode array length: 3
33 bytecodes: [
34 B(StackCheck),
35 B(LdaUndefined),
36 B(Return),
37 ]
38 constant pool: [
39 ]
40 handlers: [
41 ]
42
43 ---
44 snippet: "
45 return null;
46 "
47 frame size: 0
48 parameter count: 1
49 bytecode array length: 3
50 bytecodes: [
51 B(StackCheck),
52 B(LdaNull),
53 B(Return),
54 ]
55 constant pool: [
56 ]
57 handlers: [
58 ]
59
60 ---
61 snippet: "
62 return true;
63 "
64 frame size: 0
65 parameter count: 1
66 bytecode array length: 3
67 bytecodes: [
68 B(StackCheck),
69 B(LdaTrue),
70 B(Return),
71 ]
72 constant pool: [
73 ]
74 handlers: [
75 ]
76
77 ---
78 snippet: "
79 return false;
80 "
81 frame size: 0
82 parameter count: 1
83 bytecode array length: 3
84 bytecodes: [
85 B(StackCheck),
86 B(LdaFalse),
87 B(Return),
88 ]
89 constant pool: [
90 ]
91 handlers: [
92 ]
93
94 ---
95 snippet: "
96 return 0;
97 "
98 frame size: 0
99 parameter count: 1
100 bytecode array length: 3
101 bytecodes: [
102 B(StackCheck),
103 B(LdaZero),
104 B(Return),
105 ]
106 constant pool: [
107 ]
108 handlers: [
109 ]
110
111 ---
112 snippet: "
113 return +1;
114 "
115 frame size: 0
116 parameter count: 1
117 bytecode array length: 4
118 bytecodes: [
119 B(StackCheck),
120 B(LdaSmi8), U8(1),
121 B(Return),
122 ]
123 constant pool: [
124 ]
125 handlers: [
126 ]
127
128 ---
129 snippet: "
130 return -1;
131 "
132 frame size: 0
133 parameter count: 1
134 bytecode array length: 4
135 bytecodes: [
136 B(StackCheck),
137 B(LdaSmi8), U8(-1),
138 B(Return),
139 ]
140 constant pool: [
141 ]
142 handlers: [
143 ]
144
145 ---
146 snippet: "
147 return +127;
148 "
149 frame size: 0
150 parameter count: 1
151 bytecode array length: 4
152 bytecodes: [
153 B(StackCheck),
154 B(LdaSmi8), U8(127),
155 B(Return),
156 ]
157 constant pool: [
158 ]
159 handlers: [
160 ]
161
162 ---
163 snippet: "
164 return -128;
165 "
166 frame size: 0
167 parameter count: 1
168 bytecode array length: 4
169 bytecodes: [
170 B(StackCheck),
171 B(LdaSmi8), U8(-128),
172 B(Return),
173 ]
174 constant pool: [
175 ]
176 handlers: [
177 ]
178
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698