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

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

Issue 2038323002: [interpreter] Filter expression positions at source. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@oth-0060-source-position-testing
Patch Set: Rebase Created 4 years, 6 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 " 51 "
52 frame size: 2 52 frame size: 2
53 parameter count: 1 53 parameter count: 1
54 bytecode array length: 20 54 bytecode array length: 20
55 bytecodes: [ 55 bytecodes: [
56 /* 30 E> */ B(StackCheck), 56 /* 30 E> */ B(StackCheck),
57 /* 42 S> */ B(LdaSmi), U8(1), 57 /* 42 S> */ B(LdaSmi), U8(1),
58 B(Star), R(0), 58 B(Star), R(0),
59 /* 45 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), 59 /* 45 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1),
60 B(Star), R(1), 60 B(Star), R(1),
61 /* 75 E> */ B(Ldar), R(0), 61 B(Ldar), R(0),
62 B(StaNamedPropertySloppy), R(1), U8(1), U8(1), 62 /* 75 E> */ B(StaNamedPropertySloppy), R(1), U8(1), U8(1),
63 B(Ldar), R(1), 63 B(Ldar), R(1),
64 /* 80 S> */ B(Return), 64 /* 80 S> */ B(Return),
65 ] 65 ]
66 constant pool: [ 66 constant pool: [
67 InstanceType::FIXED_ARRAY_TYPE, 67 InstanceType::FIXED_ARRAY_TYPE,
68 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 68 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
69 ] 69 ]
70 handlers: [ 70 handlers: [
71 ] 71 ]
72 72
73 --- 73 ---
74 snippet: " 74 snippet: "
75 var a = 1; return { val: a, val: a + 1 }; 75 var a = 1; return { val: a, val: a + 1 };
76 " 76 "
77 frame size: 2 77 frame size: 2
78 parameter count: 1 78 parameter count: 1
79 bytecode array length: 23 79 bytecode array length: 22
80 bytecodes: [ 80 bytecodes: [
81 /* 30 E> */ B(StackCheck), 81 /* 30 E> */ B(StackCheck),
82 /* 42 S> */ B(LdaSmi), U8(1), 82 /* 42 S> */ B(LdaSmi), U8(1),
83 B(Star), R(0), 83 B(Star), R(0),
84 /* 45 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), 84 /* 45 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1),
85 B(Star), R(1), 85 B(Star), R(1),
86 /* 59 E> */ B(Nop), 86 B(LdaSmi), U8(1),
87 /* 67 E> */ B(LdaSmi), U8(1), 87 /* 67 E> */ B(Add), R(0),
88 B(Add), R(0),
89 B(StaNamedPropertySloppy), R(1), U8(1), U8(1), 88 B(StaNamedPropertySloppy), R(1), U8(1), U8(1),
90 B(Ldar), R(1), 89 B(Ldar), R(1),
91 /* 76 S> */ B(Return), 90 /* 76 S> */ B(Return),
92 ] 91 ]
93 constant pool: [ 92 constant pool: [
94 InstanceType::FIXED_ARRAY_TYPE, 93 InstanceType::FIXED_ARRAY_TYPE,
95 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 94 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
96 ] 95 ]
97 handlers: [ 96 handlers: [
98 ] 97 ]
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 parameter count: 1 249 parameter count: 1
251 bytecode array length: 32 250 bytecode array length: 32
252 bytecodes: [ 251 bytecodes: [
253 /* 30 E> */ B(StackCheck), 252 /* 30 E> */ B(StackCheck),
254 /* 42 S> */ B(LdaSmi), U8(1), 253 /* 42 S> */ B(LdaSmi), U8(1),
255 B(Star), R(0), 254 B(Star), R(0),
256 /* 45 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), 255 /* 45 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1),
257 B(Star), R(1), 256 B(Star), R(1),
258 B(LdaSmi), U8(1), 257 B(LdaSmi), U8(1),
259 B(Star), R(3), 258 B(Star), R(3),
260 /* 57 E> */ B(LdaZero), 259 B(LdaZero),
261 B(Star), R(5), 260 B(Star), R(5),
262 B(Mov), R(1), R(2), 261 B(Mov), R(1), R(2),
263 B(Mov), R(0), R(4), 262 B(Mov), R(0), R(4),
264 B(CallRuntime), U16(Runtime::kSetProperty), R(2), U8(4), 263 /* 57 E> */ B(CallRuntime), U16(Runtime::kSetProperty), R(2), U8(4),
265 B(Ldar), R(1), 264 B(Ldar), R(1),
266 /* 62 S> */ B(Return), 265 /* 62 S> */ B(Return),
267 ] 266 ]
268 constant pool: [ 267 constant pool: [
269 InstanceType::FIXED_ARRAY_TYPE, 268 InstanceType::FIXED_ARRAY_TYPE,
270 ] 269 ]
271 handlers: [ 270 handlers: [
272 ] 271 ]
273 272
274 --- 273 ---
(...skipping 26 matching lines...) Expand all
301 " 300 "
302 frame size: 7 301 frame size: 7
303 parameter count: 1 302 parameter count: 1
304 bytecode array length: 37 303 bytecode array length: 37
305 bytecodes: [ 304 bytecodes: [
306 /* 30 E> */ B(StackCheck), 305 /* 30 E> */ B(StackCheck),
307 /* 42 S> */ B(LdaConstant), U8(0), 306 /* 42 S> */ B(LdaConstant), U8(0),
308 B(Star), R(0), 307 B(Star), R(0),
309 /* 50 S> */ B(CreateObjectLiteral), U8(1), U8(0), U8(35), 308 /* 50 S> */ B(CreateObjectLiteral), U8(1), U8(0), U8(35),
310 B(Star), R(1), 309 B(Star), R(1),
311 /* 60 E> */ B(Ldar), R(0), 310 B(Ldar), R(0),
312 B(ToName), 311 /* 60 E> */ B(ToName),
313 B(Star), R(3), 312 B(Star), R(3),
314 B(LdaSmi), U8(1), 313 B(LdaSmi), U8(1),
315 B(Star), R(4), 314 B(Star), R(4),
316 B(LdaZero), 315 B(LdaZero),
317 B(Star), R(5), 316 B(Star), R(5),
318 B(LdaZero), 317 B(LdaZero),
319 B(Star), R(6), 318 B(Star), R(6),
320 B(Mov), R(1), R(2), 319 B(Mov), R(1), R(2),
321 B(CallRuntime), U16(Runtime::kDefineDataPropertyInLiteral), R(2) , U8(5), 320 B(CallRuntime), U16(Runtime::kDefineDataPropertyInLiteral), R(2) , U8(5),
322 B(Ldar), R(1), 321 B(Ldar), R(1),
(...skipping 12 matching lines...) Expand all
335 " 334 "
336 frame size: 7 335 frame size: 7
337 parameter count: 1 336 parameter count: 1
338 bytecode array length: 41 337 bytecode array length: 41
339 bytecodes: [ 338 bytecodes: [
340 /* 30 E> */ B(StackCheck), 339 /* 30 E> */ B(StackCheck),
341 /* 42 S> */ B(LdaConstant), U8(0), 340 /* 42 S> */ B(LdaConstant), U8(0),
342 B(Star), R(0), 341 B(Star), R(0),
343 /* 50 S> */ B(CreateObjectLiteral), U8(1), U8(0), U8(1), 342 /* 50 S> */ B(CreateObjectLiteral), U8(1), U8(0), U8(1),
344 B(Star), R(1), 343 B(Star), R(1),
345 /* 64 E> */ B(Ldar), R(0), 344 B(Ldar), R(0),
346 B(StaNamedPropertySloppy), R(1), U8(2), U8(1), 345 /* 64 E> */ B(StaNamedPropertySloppy), R(1), U8(2), U8(1),
347 /* 68 E> */ B(ToName), 346 /* 68 E> */ B(ToName),
348 B(Star), R(3), 347 B(Star), R(3),
349 B(LdaSmi), U8(1), 348 B(LdaSmi), U8(1),
350 B(Star), R(4), 349 B(Star), R(4),
351 B(LdaZero), 350 B(LdaZero),
352 B(Star), R(5), 351 B(Star), R(5),
353 B(LdaZero), 352 B(LdaZero),
354 B(Star), R(6), 353 B(Star), R(6),
355 B(Mov), R(1), R(2), 354 B(Mov), R(1), R(2),
356 B(CallRuntime), U16(Runtime::kDefineDataPropertyInLiteral), R(2) , U8(5), 355 B(CallRuntime), U16(Runtime::kDefineDataPropertyInLiteral), R(2) , U8(5),
(...skipping 14 matching lines...) Expand all
371 " 370 "
372 frame size: 7 371 frame size: 7
373 parameter count: 1 372 parameter count: 1
374 bytecode array length: 54 373 bytecode array length: 54
375 bytecodes: [ 374 bytecodes: [
376 /* 30 E> */ B(StackCheck), 375 /* 30 E> */ B(StackCheck),
377 /* 42 S> */ B(LdaConstant), U8(0), 376 /* 42 S> */ B(LdaConstant), U8(0),
378 B(Star), R(0), 377 B(Star), R(0),
379 /* 50 S> */ B(CreateObjectLiteral), U8(1), U8(1), U8(35), 378 /* 50 S> */ B(CreateObjectLiteral), U8(1), U8(1), U8(35),
380 B(Star), R(1), 379 B(Star), R(1),
381 /* 60 E> */ B(Ldar), R(0), 380 B(Ldar), R(0),
382 B(ToName), 381 /* 60 E> */ B(ToName),
383 B(Star), R(3), 382 B(Star), R(3),
384 B(LdaSmi), U8(1), 383 B(LdaSmi), U8(1),
385 B(Star), R(4), 384 B(Star), R(4),
386 B(LdaZero), 385 B(LdaZero),
387 B(Star), R(5), 386 B(Star), R(5),
388 B(LdaZero), 387 B(LdaZero),
389 B(Star), R(6), 388 B(Star), R(6),
390 B(Mov), R(1), R(2), 389 B(Mov), R(1), R(2),
391 B(CallRuntime), U16(Runtime::kDefineDataPropertyInLiteral), R(2) , U8(5), 390 B(CallRuntime), U16(Runtime::kDefineDataPropertyInLiteral), R(2) , U8(5),
392 B(CreateObjectLiteral), U8(1), U8(0), U8(35), 391 B(CreateObjectLiteral), U8(1), U8(0), U8(35),
(...skipping 17 matching lines...) Expand all
410 " 409 "
411 frame size: 7 410 frame size: 7
412 parameter count: 1 411 parameter count: 1
413 bytecode array length: 77 412 bytecode array length: 77
414 bytecodes: [ 413 bytecodes: [
415 /* 30 E> */ B(StackCheck), 414 /* 30 E> */ B(StackCheck),
416 /* 42 S> */ B(LdaConstant), U8(0), 415 /* 42 S> */ B(LdaConstant), U8(0),
417 B(Star), R(0), 416 B(Star), R(0),
418 /* 50 S> */ B(CreateObjectLiteral), U8(1), U8(0), U8(35), 417 /* 50 S> */ B(CreateObjectLiteral), U8(1), U8(0), U8(35),
419 B(Star), R(1), 418 B(Star), R(1),
420 /* 60 E> */ B(Ldar), R(0), 419 B(Ldar), R(0),
421 B(ToName), 420 /* 60 E> */ B(ToName),
422 B(Star), R(3), 421 B(Star), R(3),
423 B(LdaConstant), U8(2), 422 B(LdaConstant), U8(2),
424 B(Star), R(4), 423 B(Star), R(4),
425 B(LdaZero), 424 B(LdaZero),
426 B(Star), R(5), 425 B(Star), R(5),
427 B(LdaZero), 426 B(LdaZero),
428 B(Star), R(6), 427 B(Star), R(6),
429 B(Mov), R(1), R(2), 428 B(Mov), R(1), R(2),
430 B(CallRuntime), U16(Runtime::kDefineDataPropertyInLiteral), R(2) , U8(5), 429 B(CallRuntime), U16(Runtime::kDefineDataPropertyInLiteral), R(2) , U8(5),
431 B(LdaConstant), U8(3), 430 B(LdaConstant), U8(3),
(...skipping 19 matching lines...) Expand all
451 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 450 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
452 InstanceType::FIXED_ARRAY_TYPE, 451 InstanceType::FIXED_ARRAY_TYPE,
453 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 452 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
454 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 453 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
455 InstanceType::SHARED_FUNCTION_INFO_TYPE, 454 InstanceType::SHARED_FUNCTION_INFO_TYPE,
456 InstanceType::SHARED_FUNCTION_INFO_TYPE, 455 InstanceType::SHARED_FUNCTION_INFO_TYPE,
457 ] 456 ]
458 handlers: [ 457 handlers: [
459 ] 458 ]
460 459
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698