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

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

Issue 2337123003: [turbofan] Collect invocation counts and compute relative call frequencies. (Closed)
Patch Set: Address feedback. 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 execute: yes 6 execute: yes
7 wrap: no 7 wrap: no
8 test function name: f 8 test function name: f
9 9
10 --- 10 ---
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after
329 B(PushContext), R(1), 329 B(PushContext), R(1),
330 B(LdaTheHole), 330 B(LdaTheHole),
331 B(StaContextSlot), R(context), U8(4), U8(0), 331 B(StaContextSlot), R(context), U8(4), U8(0),
332 B(LdaZero), 332 B(LdaZero),
333 B(StaContextSlot), R(1), U8(9), U8(0), 333 B(StaContextSlot), R(1), U8(9), U8(0),
334 B(Mov), R(context), R(10), 334 B(Mov), R(context), R(10),
335 B(Mov), R(context), R(11), 335 B(Mov), R(context), R(11),
336 /* 30 S> */ B(CreateArrayLiteral), U8(1), U8(0), U8(1), 336 /* 30 S> */ B(CreateArrayLiteral), U8(1), U8(0), U8(1),
337 B(Star), R(13), 337 B(Star), R(13),
338 B(LdaConstant), U8(2), 338 B(LdaConstant), U8(2),
339 /* 30 E> */ B(LdrKeyedProperty), R(13), U8(3), R(12), 339 /* 30 E> */ B(LdrKeyedProperty), R(13), U8(4), R(12),
340 /* 30 E> */ B(Call), R(12), R(13), U8(1), U8(1), 340 /* 30 E> */ B(Call), R(12), R(13), U8(1), U8(2),
341 /* 30 E> */ B(StaContextSlot), R(1), U8(7), U8(0), 341 /* 30 E> */ B(StaContextSlot), R(1), U8(7), U8(0),
342 B(LdaSmi), U8(-2), 342 B(LdaSmi), U8(-2),
343 B(TestEqual), R(4), U8(0), 343 B(TestEqual), R(4), U8(0),
344 B(JumpIfTrue), U8(18), 344 B(JumpIfTrue), U8(18),
345 B(LdaSmi), U8(1), 345 B(LdaSmi), U8(1),
346 B(TestEqualStrict), R(4), U8(0), 346 B(TestEqualStrict), R(4), U8(0),
347 B(JumpIfTrueConstant), U8(9), 347 B(JumpIfTrueConstant), U8(9),
348 B(LdaSmi), U8(76), 348 B(LdaSmi), U8(76),
349 B(Star), R(12), 349 B(Star), R(12),
350 B(CallRuntime), U16(Runtime::kAbort), R(12), U8(1), 350 B(CallRuntime), U16(Runtime::kAbort), R(12), U8(1),
351 /* 27 S> */ B(LdrContextSlot), R(1), U8(7), U8(0), R(14), 351 /* 27 S> */ B(LdrContextSlot), R(1), U8(7), U8(0), R(14),
352 B(LdrNamedProperty), R(14), U8(4), U8(7), R(13), 352 B(LdrNamedProperty), R(14), U8(4), U8(8), R(13),
353 /* 27 E> */ B(Call), R(13), R(14), U8(1), U8(5), 353 /* 27 E> */ B(Call), R(13), R(14), U8(1), U8(6),
354 /* 27 E> */ B(StaContextSlot), R(1), U8(8), U8(0), 354 /* 27 E> */ B(StaContextSlot), R(1), U8(8), U8(0),
355 B(Star), R(12), 355 B(Star), R(12),
356 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(12), U8(1), 356 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(12), U8(1),
357 B(ToBooleanLogicalNot), 357 B(ToBooleanLogicalNot),
358 B(JumpIfFalse), U8(12), 358 B(JumpIfFalse), U8(12),
359 B(LdrContextSlot), R(1), U8(8), U8(0), R(12), 359 B(LdrContextSlot), R(1), U8(8), U8(0), R(12),
360 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (12), U8(1), 360 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (12), U8(1),
361 B(LdrContextSlot), R(1), U8(8), U8(0), R(12), 361 B(LdrContextSlot), R(1), U8(8), U8(0), R(12),
362 B(LdaNamedProperty), R(12), U8(5), U8(9), 362 B(LdaNamedProperty), R(12), U8(5), U8(10),
363 B(JumpIfToBooleanTrueConstant), U8(10), 363 B(JumpIfToBooleanTrueConstant), U8(10),
364 B(LdrContextSlot), R(1), U8(8), U8(0), R(12), 364 B(LdrContextSlot), R(1), U8(8), U8(0), R(12),
365 B(LdaNamedProperty), R(12), U8(6), U8(11), 365 B(LdaNamedProperty), R(12), U8(6), U8(12),
366 B(StaContextSlot), R(1), U8(10), U8(0), 366 B(StaContextSlot), R(1), U8(10), U8(0),
367 B(LdaSmi), U8(2), 367 B(LdaSmi), U8(2),
368 B(StaContextSlot), R(1), U8(9), U8(0), 368 B(StaContextSlot), R(1), U8(9), U8(0),
369 B(LdaContextSlot), R(1), U8(10), U8(0), 369 B(LdaContextSlot), R(1), U8(10), U8(0),
370 B(StaContextSlot), R(1), U8(6), U8(0), 370 B(StaContextSlot), R(1), U8(6), U8(0),
371 /* 16 E> */ B(StackCheck), 371 /* 16 E> */ B(StackCheck),
372 B(Ldar), R(closure), 372 B(Ldar), R(closure),
373 B(CreateBlockContext), U8(7), 373 B(CreateBlockContext), U8(7),
374 B(PushContext), R(2), 374 B(PushContext), R(2),
375 B(LdaTheHole), 375 B(LdaTheHole),
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
426 B(StaContextSlot), R(1), U8(9), U8(0), 426 B(StaContextSlot), R(1), U8(9), U8(0),
427 B(Wide), B(JumpLoop), U16(-234), U16(0), 427 B(Wide), B(JumpLoop), U16(-234), U16(0),
428 B(Jump), U8(44), 428 B(Jump), U8(44),
429 B(Star), R(12), 429 B(Star), R(12),
430 B(Ldar), R(closure), 430 B(Ldar), R(closure),
431 B(CreateCatchContext), R(12), U8(11), U8(12), 431 B(CreateCatchContext), R(12), U8(11), U8(12),
432 B(Star), R(11), 432 B(Star), R(11),
433 B(PushContext), R(2), 433 B(PushContext), R(2),
434 B(LdrContextSlot), R(0), U8(9), U8(0), R(12), 434 B(LdrContextSlot), R(0), U8(9), U8(0), R(12),
435 B(LdaSmi), U8(2), 435 B(LdaSmi), U8(2),
436 B(TestEqualStrict), R(12), U8(13), 436 B(TestEqualStrict), R(12), U8(14),
437 B(JumpIfFalse), U8(8), 437 B(JumpIfFalse), U8(8),
438 B(LdaSmi), U8(1), 438 B(LdaSmi), U8(1),
439 B(StaContextSlot), R(0), U8(9), U8(0), 439 B(StaContextSlot), R(0), U8(9), U8(0),
440 B(LdrContextSlot), R(context), U8(4), U8(0), R(12), 440 B(LdrContextSlot), R(context), U8(4), U8(0), R(12),
441 B(CallRuntime), U16(Runtime::kReThrow), R(12), U8(1), 441 B(CallRuntime), U16(Runtime::kReThrow), R(12), U8(1),
442 B(PopContext), R(2), 442 B(PopContext), R(2),
443 B(LdaSmi), U8(-1), 443 B(LdaSmi), U8(-1),
444 B(Star), R(8), 444 B(Star), R(8),
445 B(Jump), U8(8), 445 B(Jump), U8(8),
446 B(Star), R(9), 446 B(Star), R(9),
447 B(LdaSmi), U8(1), 447 B(LdaSmi), U8(1),
448 B(Star), R(8), 448 B(Star), R(8),
449 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R (0), U8(0), 449 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R (0), U8(0),
450 B(Star), R(10), 450 B(Star), R(10),
451 B(LdrContextSlot), R(1), U8(9), U8(0), R(11), 451 B(LdrContextSlot), R(1), U8(9), U8(0), R(11),
452 B(LdaZero), 452 B(LdaZero),
453 B(TestEqualStrict), R(11), U8(14), 453 B(TestEqualStrict), R(11), U8(15),
454 B(JumpIfTrueConstant), U8(18), 454 B(JumpIfTrueConstant), U8(18),
455 B(LdrContextSlot), R(1), U8(7), U8(0), R(11), 455 B(LdrContextSlot), R(1), U8(7), U8(0), R(11),
456 B(LdaUndefined), 456 B(LdaUndefined),
457 B(TestEqualStrict), R(11), U8(15), 457 B(TestEqualStrict), R(11), U8(16),
458 B(JumpIfTrueConstant), U8(19), 458 B(JumpIfTrueConstant), U8(19),
459 B(LdrContextSlot), R(1), U8(7), U8(0), R(11), 459 B(LdrContextSlot), R(1), U8(7), U8(0), R(11),
460 B(LdaNamedProperty), R(11), U8(13), U8(16), 460 B(LdaNamedProperty), R(11), U8(13), U8(17),
461 B(StaContextSlot), R(1), U8(11), U8(0), 461 B(StaContextSlot), R(1), U8(11), U8(0),
462 B(LdrContextSlot), R(1), U8(11), U8(0), R(11), 462 B(LdrContextSlot), R(1), U8(11), U8(0), R(11),
463 B(LdaNull), 463 B(LdaNull),
464 B(TestEqual), R(11), U8(18), 464 B(TestEqual), R(11), U8(19),
465 B(JumpIfFalse), U8(4), 465 B(JumpIfFalse), U8(4),
466 B(JumpConstant), U8(17), 466 B(JumpConstant), U8(17),
467 B(LdrContextSlot), R(1), U8(9), U8(0), R(11), 467 B(LdrContextSlot), R(1), U8(9), U8(0), R(11),
468 B(LdaSmi), U8(1), 468 B(LdaSmi), U8(1),
469 B(TestEqualStrict), R(11), U8(19), 469 B(TestEqualStrict), R(11), U8(20),
470 B(JumpIfFalse), U8(76), 470 B(JumpIfFalse), U8(76),
471 B(LdaContextSlot), R(1), U8(11), U8(0), 471 B(LdaContextSlot), R(1), U8(11), U8(0),
472 B(TypeOf), 472 B(TypeOf),
473 B(Star), R(11), 473 B(Star), R(11),
474 B(LdaConstant), U8(14), 474 B(LdaConstant), U8(14),
475 B(TestEqualStrict), R(11), U8(20), 475 B(TestEqualStrict), R(11), U8(21),
476 B(JumpIfFalse), U8(4), 476 B(JumpIfFalse), U8(4),
477 B(Jump), U8(18), 477 B(Jump), U8(18),
478 B(Wide), B(LdaSmi), U16(129), 478 B(Wide), B(LdaSmi), U16(129),
479 B(Star), R(11), 479 B(Star), R(11),
480 B(LdaConstant), U8(15), 480 B(LdaConstant), U8(15),
481 B(Star), R(12), 481 B(Star), R(12),
482 B(CallRuntime), U16(Runtime::kNewTypeError), R(11), U8(2), 482 B(CallRuntime), U16(Runtime::kNewTypeError), R(11), U8(2),
483 B(Throw), 483 B(Throw),
484 B(Mov), R(context), R(11), 484 B(Mov), R(context), R(11),
485 B(LdrContextSlot), R(1), U8(11), U8(0), R(12), 485 B(LdrContextSlot), R(1), U8(11), U8(0), R(12),
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
597 Smi [155], 597 Smi [155],
598 Smi [603], 598 Smi [603],
599 ] 599 ]
600 handlers: [ 600 handlers: [
601 [48, 720, 726], 601 [48, 720, 726],
602 [153, 460, 466], 602 [153, 460, 466],
603 [156, 416, 418], 603 [156, 416, 418],
604 [574, 588, 590], 604 [574, 588, 590],
605 ] 605 ]
606 606
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698