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

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

Issue 2640273002: [ignition] Expect 'I' for signed bytecode operands (Closed)
Patch Set: Rebase Created 3 years, 11 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 wrap: yes 6 wrap: yes
7 7
8 --- 8 ---
9 snippet: " 9 snippet: "
10 class Person { 10 class Person {
11 constructor(name) { this.name = name; } 11 constructor(name) { this.name = name; }
12 speak() { console.log(this.name + ' is speaking.'); } 12 speak() { console.log(this.name + ' is speaking.'); }
13 } 13 }
14 " 14 "
15 frame size: 9 15 frame size: 9
16 parameter count: 1 16 parameter count: 1
17 bytecode array length: 75 17 bytecode array length: 75
18 bytecodes: [ 18 bytecodes: [
19 B(LdaTheHole), 19 B(LdaTheHole),
20 B(Star), R(2), 20 B(Star), R(2),
21 /* 30 E> */ B(StackCheck), 21 /* 30 E> */ B(StackCheck),
22 B(LdaTheHole), 22 B(LdaTheHole),
23 B(Star), R(0), 23 B(Star), R(0),
24 /* 34 S> */ B(CreateClosure), U8(0), U8(2), U8(2), 24 /* 34 S> */ B(CreateClosure), U8(0), U8(2), U8(2),
25 B(Star), R(3), 25 B(Star), R(3),
26 B(LdaTheHole), 26 B(LdaTheHole),
27 B(Star), R(4), 27 B(Star), R(4),
28 B(LdaSmi), U8(34), 28 B(LdaSmi), I8(34),
29 B(Star), R(6), 29 B(Star), R(6),
30 B(Wide), B(LdaSmi), U16(148), 30 B(Wide), B(LdaSmi), I16(148),
31 B(Star), R(7), 31 B(Star), R(7),
32 B(Mov), R(3), R(5), 32 B(Mov), R(3), R(5),
33 B(CallRuntime), U16(Runtime::kDefineClass), R(4), U8(4), 33 B(CallRuntime), U16(Runtime::kDefineClass), R(4), U8(4),
34 B(Star), R(4), 34 B(Star), R(4),
35 B(LdaConstant), U8(1), 35 B(LdaConstant), U8(1),
36 B(Star), R(6), 36 B(Star), R(6),
37 B(CreateClosure), U8(2), U8(3), U8(2), 37 B(CreateClosure), U8(2), U8(3), U8(2),
38 B(Star), R(7), 38 B(Star), R(7),
39 B(LdaSmi), U8(2), 39 B(LdaSmi), I8(2),
40 B(Star), R(8), 40 B(Star), R(8),
41 B(Ldar), R(7), 41 B(Ldar), R(7),
42 B(StaDataPropertyInLiteral), R(4), R(6), U8(1), U8(4), 42 B(StaDataPropertyInLiteral), R(4), R(6), U8(1), U8(4),
43 B(CallRuntime), U16(Runtime::kInstallClassNameAccessor), R(3), U 8(1), 43 B(CallRuntime), U16(Runtime::kInstallClassNameAccessor), R(3), U 8(1),
44 B(CallRuntime), U16(Runtime::kToFastProperties), R(3), U8(1), 44 B(CallRuntime), U16(Runtime::kToFastProperties), R(3), U8(1),
45 B(Star), R(0), 45 B(Star), R(0),
46 B(Star), R(1), 46 B(Star), R(1),
47 B(Star), R(2), 47 B(Star), R(2),
48 B(LdaUndefined), 48 B(LdaUndefined),
49 /* 149 S> */ B(Return), 49 /* 149 S> */ B(Return),
(...skipping 19 matching lines...) Expand all
69 bytecodes: [ 69 bytecodes: [
70 B(LdaTheHole), 70 B(LdaTheHole),
71 B(Star), R(2), 71 B(Star), R(2),
72 /* 30 E> */ B(StackCheck), 72 /* 30 E> */ B(StackCheck),
73 B(LdaTheHole), 73 B(LdaTheHole),
74 B(Star), R(0), 74 B(Star), R(0),
75 /* 34 S> */ B(CreateClosure), U8(0), U8(2), U8(2), 75 /* 34 S> */ B(CreateClosure), U8(0), U8(2), U8(2),
76 B(Star), R(3), 76 B(Star), R(3),
77 B(LdaTheHole), 77 B(LdaTheHole),
78 B(Star), R(4), 78 B(Star), R(4),
79 B(LdaSmi), U8(34), 79 B(LdaSmi), I8(34),
80 B(Star), R(6), 80 B(Star), R(6),
81 B(Wide), B(LdaSmi), U16(148), 81 B(Wide), B(LdaSmi), I16(148),
82 B(Star), R(7), 82 B(Star), R(7),
83 B(Mov), R(3), R(5), 83 B(Mov), R(3), R(5),
84 B(CallRuntime), U16(Runtime::kDefineClass), R(4), U8(4), 84 B(CallRuntime), U16(Runtime::kDefineClass), R(4), U8(4),
85 B(Star), R(4), 85 B(Star), R(4),
86 B(LdaConstant), U8(1), 86 B(LdaConstant), U8(1),
87 B(Star), R(6), 87 B(Star), R(6),
88 B(CreateClosure), U8(2), U8(3), U8(2), 88 B(CreateClosure), U8(2), U8(3), U8(2),
89 B(Star), R(7), 89 B(Star), R(7),
90 B(LdaSmi), U8(2), 90 B(LdaSmi), I8(2),
91 B(Star), R(8), 91 B(Star), R(8),
92 B(Ldar), R(7), 92 B(Ldar), R(7),
93 B(StaDataPropertyInLiteral), R(4), R(6), U8(1), U8(4), 93 B(StaDataPropertyInLiteral), R(4), R(6), U8(1), U8(4),
94 B(CallRuntime), U16(Runtime::kInstallClassNameAccessor), R(3), U 8(1), 94 B(CallRuntime), U16(Runtime::kInstallClassNameAccessor), R(3), U 8(1),
95 B(CallRuntime), U16(Runtime::kToFastProperties), R(3), U8(1), 95 B(CallRuntime), U16(Runtime::kToFastProperties), R(3), U8(1),
96 B(Star), R(0), 96 B(Star), R(0),
97 B(Star), R(1), 97 B(Star), R(1),
98 B(Star), R(2), 98 B(Star), R(2),
99 B(LdaUndefined), 99 B(LdaUndefined),
100 /* 149 S> */ B(Return), 100 /* 149 S> */ B(Return),
(...skipping 27 matching lines...) Expand all
128 /* 43 S> */ B(LdaConstant), U8(0), 128 /* 43 S> */ B(LdaConstant), U8(0),
129 /* 43 E> */ B(StaCurrentContextSlot), U8(4), 129 /* 43 E> */ B(StaCurrentContextSlot), U8(4),
130 /* 57 S> */ B(LdaConstant), U8(1), 130 /* 57 S> */ B(LdaConstant), U8(1),
131 /* 57 E> */ B(StaCurrentContextSlot), U8(5), 131 /* 57 E> */ B(StaCurrentContextSlot), U8(5),
132 B(LdaTheHole), 132 B(LdaTheHole),
133 B(Star), R(0), 133 B(Star), R(0),
134 /* 62 S> */ B(CreateClosure), U8(2), U8(2), U8(2), 134 /* 62 S> */ B(CreateClosure), U8(2), U8(2), U8(2),
135 B(Star), R(4), 135 B(Star), R(4),
136 B(LdaTheHole), 136 B(LdaTheHole),
137 B(Star), R(5), 137 B(Star), R(5),
138 B(LdaSmi), U8(62), 138 B(LdaSmi), I8(62),
139 B(Star), R(7), 139 B(Star), R(7),
140 B(Wide), B(LdaSmi), U16(128), 140 B(Wide), B(LdaSmi), I16(128),
141 B(Star), R(8), 141 B(Star), R(8),
142 B(Mov), R(4), R(6), 142 B(Mov), R(4), R(6),
143 B(CallRuntime), U16(Runtime::kDefineClass), R(5), U8(4), 143 B(CallRuntime), U16(Runtime::kDefineClass), R(5), U8(4),
144 B(Star), R(5), 144 B(Star), R(5),
145 B(LdaCurrentContextSlot), U8(4), 145 B(LdaCurrentContextSlot), U8(4),
146 /* 75 E> */ B(ToName), R(7), 146 /* 75 E> */ B(ToName), R(7),
147 B(CreateClosure), U8(3), U8(3), U8(2), 147 B(CreateClosure), U8(3), U8(3), U8(2),
148 B(Star), R(8), 148 B(Star), R(8),
149 B(LdaSmi), U8(2), 149 B(LdaSmi), I8(2),
150 B(Star), R(9), 150 B(Star), R(9),
151 B(Ldar), R(8), 151 B(Ldar), R(8),
152 B(StaDataPropertyInLiteral), R(5), R(7), U8(3), U8(5), 152 B(StaDataPropertyInLiteral), R(5), R(7), U8(3), U8(5),
153 B(LdaCurrentContextSlot), U8(5), 153 B(LdaCurrentContextSlot), U8(5),
154 /* 106 E> */ B(ToName), R(7), 154 /* 106 E> */ B(ToName), R(7),
155 B(LdaConstant), U8(4), 155 B(LdaConstant), U8(4),
156 B(TestEqualStrict), R(7), U8(0), 156 B(TestEqualStrict), R(7), U8(0),
157 B(Mov), R(4), R(6), 157 B(Mov), R(4), R(6),
158 B(JumpIfToBooleanFalse), U8(7), 158 B(JumpIfToBooleanFalse), U8(7),
159 B(CallRuntime), U16(Runtime::kThrowStaticPrototypeError), R(0), U8(0), 159 B(CallRuntime), U16(Runtime::kThrowStaticPrototypeError), R(0), U8(0),
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 B(Star), R(2), 195 B(Star), R(2),
196 /* 30 E> */ B(StackCheck), 196 /* 30 E> */ B(StackCheck),
197 /* 46 S> */ B(LdaZero), 197 /* 46 S> */ B(LdaZero),
198 /* 46 E> */ B(StaCurrentContextSlot), U8(4), 198 /* 46 E> */ B(StaCurrentContextSlot), U8(4),
199 B(LdaTheHole), 199 B(LdaTheHole),
200 B(Star), R(0), 200 B(Star), R(0),
201 /* 49 S> */ B(CreateClosure), U8(0), U8(2), U8(2), 201 /* 49 S> */ B(CreateClosure), U8(0), U8(2), U8(2),
202 B(Star), R(4), 202 B(Star), R(4),
203 B(LdaTheHole), 203 B(LdaTheHole),
204 B(Star), R(5), 204 B(Star), R(5),
205 B(LdaSmi), U8(49), 205 B(LdaSmi), I8(49),
206 B(Star), R(7), 206 B(Star), R(7),
207 B(LdaSmi), U8(86), 207 B(LdaSmi), I8(86),
208 B(Star), R(8), 208 B(Star), R(8),
209 B(Mov), R(4), R(6), 209 B(Mov), R(4), R(6),
210 B(CallRuntime), U16(Runtime::kDefineClass), R(5), U8(4), 210 B(CallRuntime), U16(Runtime::kDefineClass), R(5), U8(4),
211 B(Star), R(5), 211 B(Star), R(5),
212 B(CallRuntime), U16(Runtime::kInstallClassNameAccessor), R(4), U 8(1), 212 B(CallRuntime), U16(Runtime::kInstallClassNameAccessor), R(4), U 8(1),
213 B(CallRuntime), U16(Runtime::kToFastProperties), R(4), U8(1), 213 B(CallRuntime), U16(Runtime::kToFastProperties), R(4), U8(1),
214 B(Star), R(0), 214 B(Star), R(0),
215 B(Star), R(1), 215 B(Star), R(1),
216 B(Star), R(2), 216 B(Star), R(2),
217 /* 87 S> */ B(Nop), 217 /* 87 S> */ B(Nop),
(...skipping 15 matching lines...) Expand all
233 parameter count: 1 233 parameter count: 1
234 bytecode array length: 102 234 bytecode array length: 102
235 bytecodes: [ 235 bytecodes: [
236 B(LdaTheHole), 236 B(LdaTheHole),
237 B(Star), R(3), 237 B(Star), R(3),
238 /* 30 E> */ B(StackCheck), 238 /* 30 E> */ B(StackCheck),
239 /* 35 S> */ B(CreateClosure), U8(0), U8(2), U8(2), 239 /* 35 S> */ B(CreateClosure), U8(0), U8(2), U8(2),
240 B(Star), R(4), 240 B(Star), R(4),
241 B(LdaTheHole), 241 B(LdaTheHole),
242 B(Star), R(5), 242 B(Star), R(5),
243 B(LdaSmi), U8(35), 243 B(LdaSmi), I8(35),
244 B(Star), R(7), 244 B(Star), R(7),
245 B(LdaSmi), U8(43), 245 B(LdaSmi), I8(43),
246 B(Star), R(8), 246 B(Star), R(8),
247 B(Mov), R(4), R(6), 247 B(Mov), R(4), R(6),
248 B(CallRuntime), U16(Runtime::kDefineClass), R(5), U8(4), 248 B(CallRuntime), U16(Runtime::kDefineClass), R(5), U8(4),
249 B(Star), R(5), 249 B(Star), R(5),
250 B(CallRuntime), U16(Runtime::kToFastProperties), R(4), U8(1), 250 B(CallRuntime), U16(Runtime::kToFastProperties), R(4), U8(1),
251 B(Star), R(1), 251 B(Star), R(1),
252 B(LdaTheHole), 252 B(LdaTheHole),
253 B(Star), R(0), 253 B(Star), R(0),
254 /* 45 S> */ B(CreateClosure), U8(1), U8(3), U8(2), 254 /* 45 S> */ B(CreateClosure), U8(1), U8(3), U8(2),
255 B(Star), R(4), 255 B(Star), R(4),
256 B(LdaTheHole), 256 B(LdaTheHole),
257 B(Star), R(5), 257 B(Star), R(5),
258 B(LdaSmi), U8(45), 258 B(LdaSmi), I8(45),
259 B(Star), R(7), 259 B(Star), R(7),
260 B(LdaSmi), U8(73), 260 B(LdaSmi), I8(73),
261 B(Star), R(8), 261 B(Star), R(8),
262 B(Mov), R(4), R(6), 262 B(Mov), R(4), R(6),
263 B(CallRuntime), U16(Runtime::kDefineClass), R(5), U8(4), 263 B(CallRuntime), U16(Runtime::kDefineClass), R(5), U8(4),
264 B(Star), R(5), 264 B(Star), R(5),
265 B(LdaConstant), U8(2), 265 B(LdaConstant), U8(2),
266 B(Star), R(7), 266 B(Star), R(7),
267 B(CreateClosure), U8(3), U8(4), U8(2), 267 B(CreateClosure), U8(3), U8(4), U8(2),
268 B(Star), R(8), 268 B(Star), R(8),
269 B(LdaSmi), U8(2), 269 B(LdaSmi), I8(2),
270 B(Star), R(9), 270 B(Star), R(9),
271 B(Ldar), R(8), 271 B(Ldar), R(8),
272 B(StaDataPropertyInLiteral), R(6), R(7), U8(1), U8(5), 272 B(StaDataPropertyInLiteral), R(6), R(7), U8(1), U8(5),
273 B(CallRuntime), U16(Runtime::kToFastProperties), R(4), U8(1), 273 B(CallRuntime), U16(Runtime::kToFastProperties), R(4), U8(1),
274 B(Star), R(0), 274 B(Star), R(0),
275 B(Star), R(2), 275 B(Star), R(2),
276 B(Star), R(3), 276 B(Star), R(3),
277 B(LdaUndefined), 277 B(LdaUndefined),
278 /* 74 S> */ B(Return), 278 /* 74 S> */ B(Return),
279 ] 279 ]
280 constant pool: [ 280 constant pool: [
281 SHARED_FUNCTION_INFO_TYPE, 281 SHARED_FUNCTION_INFO_TYPE,
282 SHARED_FUNCTION_INFO_TYPE, 282 SHARED_FUNCTION_INFO_TYPE,
283 ONE_BYTE_INTERNALIZED_STRING_TYPE ["name"], 283 ONE_BYTE_INTERNALIZED_STRING_TYPE ["name"],
284 SHARED_FUNCTION_INFO_TYPE, 284 SHARED_FUNCTION_INFO_TYPE,
285 ] 285 ]
286 handlers: [ 286 handlers: [
287 ] 287 ]
288 288
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698