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

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

Issue 2411873004: [ignition] Eliminate hole checks where statically possible for loads and stores (Closed)
Patch Set: Rebased Created 4 years, 2 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 {
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 ] 187 ]
188 188
189 --- 189 ---
190 snippet: " 190 snippet: "
191 var count = 0; 191 var count = 0;
192 class C { constructor() { count++; }} 192 class C { constructor() { count++; }}
193 return new C(); 193 return new C();
194 " 194 "
195 frame size: 8 195 frame size: 8
196 parameter count: 1 196 parameter count: 1
197 bytecode array length: 74 197 bytecode array length: 62
198 bytecodes: [ 198 bytecodes: [
199 B(CreateFunctionContext), U8(1), 199 B(CreateFunctionContext), U8(1),
200 B(PushContext), R(3), 200 B(PushContext), R(3),
201 B(LdaTheHole), 201 B(LdaTheHole),
202 B(Star), R(2), 202 B(Star), R(2),
203 /* 30 E> */ B(StackCheck), 203 /* 30 E> */ B(StackCheck),
204 /* 46 S> */ B(LdaZero), 204 /* 46 S> */ B(LdaZero),
205 /* 46 E> */ B(StaContextSlot), R(context), U8(4), U8(0), 205 /* 46 E> */ B(StaContextSlot), R(context), U8(4), U8(0),
206 B(LdaTheHole), 206 B(LdaTheHole),
207 B(Star), R(0), 207 B(Star), R(0),
208 /* 49 S> */ B(LdaTheHole), 208 /* 49 S> */ B(LdaTheHole),
209 B(Star), R(4), 209 B(Star), R(4),
210 B(CreateClosure), U8(0), U8(2), 210 B(CreateClosure), U8(0), U8(2),
211 B(Star), R(5), 211 B(Star), R(5),
212 B(LdaSmi), U8(49), 212 B(LdaSmi), U8(49),
213 B(Star), R(6), 213 B(Star), R(6),
214 B(LdaSmi), U8(86), 214 B(LdaSmi), U8(86),
215 B(Star), R(7), 215 B(Star), R(7),
216 B(CallRuntime), U16(Runtime::kDefineClass), R(4), U8(4), 216 B(CallRuntime), U16(Runtime::kDefineClass), R(4), U8(4),
217 B(Star), R(4), 217 B(Star), R(4),
218 B(LdrNamedProperty), R(4), U8(1), U8(2), R(5), 218 B(LdrNamedProperty), R(4), U8(1), U8(2), R(5),
219 B(CallRuntime), U16(Runtime::kToFastProperties), R(4), U8(1), 219 B(CallRuntime), U16(Runtime::kToFastProperties), R(4), U8(1),
220 B(Star), R(0), 220 B(Star), R(0),
221 B(Star), R(1), 221 B(Star), R(1),
222 B(Star), R(2), 222 B(Star), R(2),
223 /* 87 S> */ B(JumpIfNotHole), U8(11), 223 /* 87 S> */ B(Nop),
224 B(LdaConstant), U8(2), 224 /* 94 E> */ B(New), R(2), R(0), U8(0), U8(4),
225 B(Star), R(4),
226 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(4), U8(1),
227 B(Star), R(4),
228 /* 94 E> */ B(New), R(4), R(0), U8(0), U8(4),
229 /* 103 S> */ B(Return), 225 /* 103 S> */ B(Return),
230 ] 226 ]
231 constant pool: [ 227 constant pool: [
232 SHARED_FUNCTION_INFO_TYPE, 228 SHARED_FUNCTION_INFO_TYPE,
233 ONE_BYTE_INTERNALIZED_STRING_TYPE ["prototype"], 229 ONE_BYTE_INTERNALIZED_STRING_TYPE ["prototype"],
234 ONE_BYTE_INTERNALIZED_STRING_TYPE ["C"],
235 ] 230 ]
236 handlers: [ 231 handlers: [
237 ] 232 ]
238 233
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698