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

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

Issue 2263253002: [interpreter] Make the binary op with Smi bytecode handlers collect type feedback. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Update. Created 4 years, 3 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: number 6 pool type: number
7 execute: yes 7 execute: yes
8 wrap: yes 8 wrap: yes
9 9
10 --- 10 ---
(...skipping 14 matching lines...) Expand all
25 ] 25 ]
26 handlers: [ 26 handlers: [
27 ] 27 ]
28 28
29 --- 29 ---
30 snippet: " 30 snippet: "
31 var x = 0; return x + 3; 31 var x = 0; return x + 3;
32 " 32 "
33 frame size: 1 33 frame size: 1
34 parameter count: 1 34 parameter count: 1
35 bytecode array length: 8 35 bytecode array length: 9
36 bytecodes: [ 36 bytecodes: [
37 /* 30 E> */ B(StackCheck), 37 /* 30 E> */ B(StackCheck),
38 /* 42 S> */ B(LdaZero), 38 /* 42 S> */ B(LdaZero),
39 B(Star), R(0), 39 B(Star), R(0),
40 /* 45 S> */ B(AddSmi), U8(3), R(0), 40 /* 45 S> */ B(AddSmi), U8(3), R(0), U8(1),
41 /* 59 S> */ B(Return), 41 /* 59 S> */ B(Return),
42 ] 42 ]
43 constant pool: [ 43 constant pool: [
44 ] 44 ]
45 handlers: [ 45 handlers: [
46 ] 46 ]
47 47
48 --- 48 ---
49 snippet: " 49 snippet: "
50 var x = 0; return x - 3; 50 var x = 0; return x - 3;
51 " 51 "
52 frame size: 1 52 frame size: 1
53 parameter count: 1 53 parameter count: 1
54 bytecode array length: 8 54 bytecode array length: 9
55 bytecodes: [ 55 bytecodes: [
56 /* 30 E> */ B(StackCheck), 56 /* 30 E> */ B(StackCheck),
57 /* 42 S> */ B(LdaZero), 57 /* 42 S> */ B(LdaZero),
58 B(Star), R(0), 58 B(Star), R(0),
59 /* 45 S> */ B(SubSmi), U8(3), R(0), 59 /* 45 S> */ B(SubSmi), U8(3), R(0), U8(1),
60 /* 59 S> */ B(Return), 60 /* 59 S> */ B(Return),
61 ] 61 ]
62 constant pool: [ 62 constant pool: [
63 ] 63 ]
64 handlers: [ 64 handlers: [
65 ] 65 ]
66 66
67 --- 67 ---
68 snippet: " 68 snippet: "
69 var x = 4; return x * 3; 69 var x = 4; return x * 3;
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 ] 123 ]
124 handlers: [ 124 handlers: [
125 ] 125 ]
126 126
127 --- 127 ---
128 snippet: " 128 snippet: "
129 var x = 1; return x | 2; 129 var x = 1; return x | 2;
130 " 130 "
131 frame size: 1 131 frame size: 1
132 parameter count: 1 132 parameter count: 1
133 bytecode array length: 9 133 bytecode array length: 10
134 bytecodes: [ 134 bytecodes: [
135 /* 30 E> */ B(StackCheck), 135 /* 30 E> */ B(StackCheck),
136 /* 42 S> */ B(LdaSmi), U8(1), 136 /* 42 S> */ B(LdaSmi), U8(1),
137 B(Star), R(0), 137 B(Star), R(0),
138 /* 45 S> */ B(BitwiseOrSmi), U8(2), R(0), 138 /* 45 S> */ B(BitwiseOrSmi), U8(2), R(0), U8(1),
139 /* 59 S> */ B(Return), 139 /* 59 S> */ B(Return),
140 ] 140 ]
141 constant pool: [ 141 constant pool: [
142 ] 142 ]
143 handlers: [ 143 handlers: [
144 ] 144 ]
145 145
146 --- 146 ---
147 snippet: " 147 snippet: "
148 var x = 1; return x ^ 2; 148 var x = 1; return x ^ 2;
(...skipping 13 matching lines...) Expand all
162 ] 162 ]
163 handlers: [ 163 handlers: [
164 ] 164 ]
165 165
166 --- 166 ---
167 snippet: " 167 snippet: "
168 var x = 1; return x & 2; 168 var x = 1; return x & 2;
169 " 169 "
170 frame size: 1 170 frame size: 1
171 parameter count: 1 171 parameter count: 1
172 bytecode array length: 9 172 bytecode array length: 10
173 bytecodes: [ 173 bytecodes: [
174 /* 30 E> */ B(StackCheck), 174 /* 30 E> */ B(StackCheck),
175 /* 42 S> */ B(LdaSmi), U8(1), 175 /* 42 S> */ B(LdaSmi), U8(1),
176 B(Star), R(0), 176 B(Star), R(0),
177 /* 45 S> */ B(BitwiseAndSmi), U8(2), R(0), 177 /* 45 S> */ B(BitwiseAndSmi), U8(2), R(0), U8(1),
178 /* 59 S> */ B(Return), 178 /* 59 S> */ B(Return),
179 ] 179 ]
180 constant pool: [ 180 constant pool: [
181 ] 181 ]
182 handlers: [ 182 handlers: [
183 ] 183 ]
184 184
185 --- 185 ---
186 snippet: " 186 snippet: "
187 var x = 10; return x << 3; 187 var x = 10; return x << 3;
188 " 188 "
189 frame size: 1 189 frame size: 1
190 parameter count: 1 190 parameter count: 1
191 bytecode array length: 9 191 bytecode array length: 10
192 bytecodes: [ 192 bytecodes: [
193 /* 30 E> */ B(StackCheck), 193 /* 30 E> */ B(StackCheck),
194 /* 42 S> */ B(LdaSmi), U8(10), 194 /* 42 S> */ B(LdaSmi), U8(10),
195 B(Star), R(0), 195 B(Star), R(0),
196 /* 46 S> */ B(ShiftLeftSmi), U8(3), R(0), 196 /* 46 S> */ B(ShiftLeftSmi), U8(3), R(0), U8(1),
197 /* 61 S> */ B(Return), 197 /* 61 S> */ B(Return),
198 ] 198 ]
199 constant pool: [ 199 constant pool: [
200 ] 200 ]
201 handlers: [ 201 handlers: [
202 ] 202 ]
203 203
204 --- 204 ---
205 snippet: " 205 snippet: "
206 var x = 10; return x >> 3; 206 var x = 10; return x >> 3;
207 " 207 "
208 frame size: 1 208 frame size: 1
209 parameter count: 1 209 parameter count: 1
210 bytecode array length: 9 210 bytecode array length: 10
211 bytecodes: [ 211 bytecodes: [
212 /* 30 E> */ B(StackCheck), 212 /* 30 E> */ B(StackCheck),
213 /* 42 S> */ B(LdaSmi), U8(10), 213 /* 42 S> */ B(LdaSmi), U8(10),
214 B(Star), R(0), 214 B(Star), R(0),
215 /* 46 S> */ B(ShiftRightSmi), U8(3), R(0), 215 /* 46 S> */ B(ShiftRightSmi), U8(3), R(0), U8(1),
216 /* 61 S> */ B(Return), 216 /* 61 S> */ B(Return),
217 ] 217 ]
218 constant pool: [ 218 constant pool: [
219 ] 219 ]
220 handlers: [ 220 handlers: [
221 ] 221 ]
222 222
223 --- 223 ---
224 snippet: " 224 snippet: "
225 var x = 10; return x >>> 3; 225 var x = 10; return x >>> 3;
(...skipping 26 matching lines...) Expand all
252 /* 42 S> */ B(LdaZero), 252 /* 42 S> */ B(LdaZero),
253 B(Star), R(0), 253 B(Star), R(0),
254 /* 45 S> */ B(LdaSmi), U8(3), 254 /* 45 S> */ B(LdaSmi), U8(3),
255 /* 60 S> */ B(Return), 255 /* 60 S> */ B(Return),
256 ] 256 ]
257 constant pool: [ 257 constant pool: [
258 ] 258 ]
259 handlers: [ 259 handlers: [
260 ] 260 ]
261 261
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698