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

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

Issue 2153433002: [Interpreter] Collect type feedback for 'new' in the bytecode handler (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rebase. Created 4 years, 5 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: mixed 6 pool type: mixed
7 execute: yes 7 execute: yes
8 wrap: yes 8 wrap: yes
9 9
10 --- 10 ---
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 ] 188 ]
189 189
190 --- 190 ---
191 snippet: " 191 snippet: "
192 var count = 0; 192 var count = 0;
193 class C { constructor() { count++; }} 193 class C { constructor() { count++; }}
194 return new C(); 194 return new C();
195 " 195 "
196 frame size: 7 196 frame size: 7
197 parameter count: 1 197 parameter count: 1
198 bytecode array length: 73 198 bytecode array length: 74
199 bytecodes: [ 199 bytecodes: [
200 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U 8(1), 200 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U 8(1),
201 B(PushContext), R(2), 201 B(PushContext), R(2),
202 B(LdaTheHole), 202 B(LdaTheHole),
203 B(Star), R(1), 203 B(Star), R(1),
204 /* 30 E> */ B(StackCheck), 204 /* 30 E> */ B(StackCheck),
205 /* 46 S> */ B(LdaZero), 205 /* 46 S> */ B(LdaZero),
206 /* 46 E> */ B(StaContextSlot), R(context), U8(4), 206 /* 46 E> */ B(StaContextSlot), R(context), U8(4),
207 B(LdaTheHole), 207 B(LdaTheHole),
208 B(Star), R(0), 208 B(Star), R(0),
209 B(LdaTheHole), 209 B(LdaTheHole),
210 B(Star), R(3), 210 B(Star), R(3),
211 B(CreateClosure), U8(0), U8(2), 211 B(CreateClosure), U8(0), U8(2),
212 B(Star), R(4), 212 B(Star), R(4),
213 B(LdaSmi), U8(49), 213 B(LdaSmi), U8(49),
214 B(Star), R(5), 214 B(Star), R(5),
215 B(LdaSmi), U8(86), 215 B(LdaSmi), U8(86),
216 B(Star), R(6), 216 B(Star), R(6),
217 B(CallRuntime), U16(Runtime::kDefineClass), R(3), U8(4), 217 B(CallRuntime), U16(Runtime::kDefineClass), R(3), U8(4),
218 B(Star), R(3), 218 B(Star), R(3),
219 B(LdrNamedProperty), R(3), U8(1), U8(1), R(4), 219 B(LdrNamedProperty), R(3), U8(1), U8(1), R(4),
220 B(CallRuntime), U16(Runtime::kToFastProperties), R(3), U8(1), 220 B(CallRuntime), U16(Runtime::kToFastProperties), R(3), U8(1),
221 B(Star), R(0), 221 B(Star), R(0),
222 B(Star), R(1), 222 B(Star), R(1),
223 /* 87 S> */ B(JumpIfNotHole), U8(11), 223 /* 87 S> */ B(JumpIfNotHole), U8(11),
224 B(LdaConstant), U8(2), 224 B(LdaConstant), U8(2),
225 B(Star), R(4), 225 B(Star), R(4),
226 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(4), U8(1), 226 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(4), U8(1),
227 B(Star), R(3), 227 B(Star), R(3),
228 /* 94 E> */ B(New), R(3), R(0), U8(0), 228 /* 94 E> */ B(New), R(3), R(0), U8(0), U8(3),
229 /* 103 S> */ B(Return), 229 /* 103 S> */ B(Return),
230 ] 230 ]
231 constant pool: [ 231 constant pool: [
232 InstanceType::SHARED_FUNCTION_INFO_TYPE, 232 InstanceType::SHARED_FUNCTION_INFO_TYPE,
233 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 233 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
234 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 234 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
235 ] 235 ]
236 handlers: [ 236 handlers: [
237 ] 237 ]
238 238
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698