v8/test/cctest/interpreter/bytecode_expectations/StoreGlobal.golden

915 lines
27 KiB
Plaintext
Raw Normal View History

#
# Autogenerated by generate-bytecode-expectations.
#
---
wrap: no
test function name: f
---
snippet: "
var a = 1;
function f() { a = 2; }
f();
"
frame size: 0
parameter count: 1
bytecode array length: 8
bytecodes: [
/* 21 E> */ B(StackCheck),
/* 26 S> */ B(LdaSmi), I8(2),
/* 28 E> */ B(StaGlobalSloppy), U8(0), U8(2),
B(LdaUndefined),
/* 33 S> */ B(Return),
]
constant pool: [
ONE_BYTE_INTERNALIZED_STRING_TYPE ["a"],
]
handlers: [
]
---
snippet: "
var a = \"test\"; function f(b) { a = b; }
f(\"global\");
"
frame size: 0
parameter count: 2
bytecode array length: 8
bytecodes: [
/* 26 E> */ B(StackCheck),
/* 32 S> */ B(Ldar), R(arg0),
/* 34 E> */ B(StaGlobalSloppy), U8(0), U8(2),
B(LdaUndefined),
/* 39 S> */ B(Return),
]
constant pool: [
ONE_BYTE_INTERNALIZED_STRING_TYPE ["a"],
]
handlers: [
]
---
snippet: "
'use strict'; var a = 1;
function f() { a = 2; }
f();
"
frame size: 0
parameter count: 1
bytecode array length: 8
bytecodes: [
/* 35 E> */ B(StackCheck),
/* 40 S> */ B(LdaSmi), I8(2),
/* 42 E> */ B(StaGlobalStrict), U8(0), U8(2),
B(LdaUndefined),
/* 47 S> */ B(Return),
]
constant pool: [
ONE_BYTE_INTERNALIZED_STRING_TYPE ["a"],
]
handlers: [
]
---
snippet: "
a = 1;
function f() { a = 2; }
f();
"
frame size: 0
parameter count: 1
bytecode array length: 8
bytecodes: [
/* 17 E> */ B(StackCheck),
/* 22 S> */ B(LdaSmi), I8(2),
/* 24 E> */ B(StaGlobalSloppy), U8(0), U8(2),
B(LdaUndefined),
/* 29 S> */ B(Return),
]
constant pool: [
ONE_BYTE_INTERNALIZED_STRING_TYPE ["a"],
]
handlers: [
]
---
snippet: "
a = 1;
function f(b) {
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
a = 2;
}
f({name: 1});
"
frame size: 0
parameter count: 2
[turbofan] Collect invocation counts and compute relative call frequencies. Add a notion of "invocation count" to the baseline compilers, which increment a special slot in the TypeFeedbackVector for each invocation of a given function (the optimized code doesn't currently collect this information). Use this invocation count to relativize the call counts on the call sites within the function, so that the inlining heuristic has a view of relative importance of a call site rather than some absolute numbers with unclear meaning for the current function. Also apply the call site frequency as a factor to all frequencies in the inlinee by passing this to the graph builders so that the importance of a call site in an inlinee is relative to the topmost optimized function. Note that all functions that neither have literals nor need type feedback slots will share a single invocation count cell in the canonical empty type feedback vector, so their invocation count is meaningless, but that doesn't matter since we only use the invocation count to relativize call counts within the function, which we only have if we have at least one type feedback vector (the CallIC slot). See the design document for additional details on this change: https://docs.google.com/document/d/1VoYBhpDhJC4VlqMXCKvae-8IGuheBGxy32EOgC2LnT8 BUG=v8:5267,v8:5372 R=mvstanton@chromium.org,rmcilroy@chromium.org,mstarzinger@chromium.org Review-Url: https://codereview.chromium.org/2337123003 Cr-Commit-Position: refs/heads/master@{#39410}
2016-09-14 10:20:08 +00:00
bytecode array length: 655
bytecodes: [
/* 17 E> */ B(StackCheck),
/* 25 S> */ B(Nop),
/* 26 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(2),
/* 35 S> */ B(Nop),
/* 36 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(4),
/* 45 S> */ B(Nop),
/* 46 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(6),
/* 55 S> */ B(Nop),
/* 56 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(8),
/* 65 S> */ B(Nop),
/* 66 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(10),
/* 75 S> */ B(Nop),
/* 76 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(12),
/* 85 S> */ B(Nop),
/* 86 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(14),
/* 95 S> */ B(Nop),
/* 96 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(16),
/* 105 S> */ B(Nop),
/* 106 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(18),
/* 115 S> */ B(Nop),
/* 116 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(20),
/* 125 S> */ B(Nop),
/* 126 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(22),
/* 135 S> */ B(Nop),
/* 136 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(24),
/* 145 S> */ B(Nop),
/* 146 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(26),
/* 155 S> */ B(Nop),
/* 156 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(28),
/* 165 S> */ B(Nop),
/* 166 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(30),
/* 175 S> */ B(Nop),
/* 176 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(32),
/* 185 S> */ B(Nop),
/* 186 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(34),
/* 195 S> */ B(Nop),
/* 196 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(36),
/* 205 S> */ B(Nop),
/* 206 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(38),
/* 215 S> */ B(Nop),
/* 216 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(40),
/* 225 S> */ B(Nop),
/* 226 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(42),
/* 235 S> */ B(Nop),
/* 236 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(44),
/* 245 S> */ B(Nop),
/* 246 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(46),
/* 255 S> */ B(Nop),
/* 256 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(48),
/* 265 S> */ B(Nop),
/* 266 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(50),
/* 275 S> */ B(Nop),
/* 276 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(52),
/* 285 S> */ B(Nop),
/* 286 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(54),
/* 295 S> */ B(Nop),
/* 296 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(56),
/* 305 S> */ B(Nop),
/* 306 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(58),
/* 315 S> */ B(Nop),
/* 316 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(60),
/* 325 S> */ B(Nop),
/* 326 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(62),
/* 335 S> */ B(Nop),
/* 336 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(64),
/* 345 S> */ B(Nop),
/* 346 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(66),
/* 355 S> */ B(Nop),
/* 356 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(68),
/* 365 S> */ B(Nop),
/* 366 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(70),
/* 375 S> */ B(Nop),
/* 376 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(72),
/* 385 S> */ B(Nop),
/* 386 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(74),
/* 395 S> */ B(Nop),
/* 396 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(76),
/* 405 S> */ B(Nop),
/* 406 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(78),
/* 415 S> */ B(Nop),
/* 416 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(80),
/* 425 S> */ B(Nop),
/* 426 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(82),
/* 435 S> */ B(Nop),
/* 436 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(84),
/* 445 S> */ B(Nop),
/* 446 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(86),
/* 455 S> */ B(Nop),
/* 456 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(88),
/* 465 S> */ B(Nop),
/* 466 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(90),
/* 475 S> */ B(Nop),
/* 476 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(92),
/* 485 S> */ B(Nop),
/* 486 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(94),
/* 495 S> */ B(Nop),
/* 496 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(96),
/* 505 S> */ B(Nop),
/* 506 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(98),
/* 515 S> */ B(Nop),
/* 516 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(100),
/* 525 S> */ B(Nop),
/* 526 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(102),
/* 535 S> */ B(Nop),
/* 536 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(104),
/* 545 S> */ B(Nop),
/* 546 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(106),
/* 555 S> */ B(Nop),
/* 556 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(108),
/* 565 S> */ B(Nop),
/* 566 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(110),
/* 575 S> */ B(Nop),
/* 576 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(112),
/* 585 S> */ B(Nop),
/* 586 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(114),
/* 595 S> */ B(Nop),
/* 596 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(116),
/* 605 S> */ B(Nop),
/* 606 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(118),
/* 615 S> */ B(Nop),
/* 616 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(120),
/* 625 S> */ B(Nop),
/* 626 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(122),
/* 635 S> */ B(Nop),
/* 636 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(124),
/* 645 S> */ B(Nop),
/* 646 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(126),
/* 655 S> */ B(Nop),
/* 656 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(128),
/* 665 S> */ B(Nop),
/* 666 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(130),
/* 675 S> */ B(Nop),
/* 676 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(132),
/* 685 S> */ B(Nop),
/* 686 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(134),
/* 695 S> */ B(Nop),
/* 696 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(136),
/* 705 S> */ B(Nop),
/* 706 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(138),
/* 715 S> */ B(Nop),
/* 716 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(140),
/* 725 S> */ B(Nop),
/* 726 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(142),
/* 735 S> */ B(Nop),
/* 736 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(144),
/* 745 S> */ B(Nop),
/* 746 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(146),
/* 755 S> */ B(Nop),
/* 756 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(148),
/* 765 S> */ B(Nop),
/* 766 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(150),
/* 775 S> */ B(Nop),
/* 776 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(152),
/* 785 S> */ B(Nop),
/* 786 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(154),
/* 795 S> */ B(Nop),
/* 796 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(156),
/* 805 S> */ B(Nop),
/* 806 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(158),
/* 815 S> */ B(Nop),
/* 816 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(160),
/* 825 S> */ B(Nop),
/* 826 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(162),
/* 835 S> */ B(Nop),
/* 836 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(164),
/* 845 S> */ B(Nop),
/* 846 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(166),
/* 855 S> */ B(Nop),
/* 856 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(168),
/* 865 S> */ B(Nop),
/* 866 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(170),
/* 875 S> */ B(Nop),
/* 876 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(172),
/* 885 S> */ B(Nop),
/* 886 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(174),
/* 895 S> */ B(Nop),
/* 896 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(176),
/* 905 S> */ B(Nop),
/* 906 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(178),
/* 915 S> */ B(Nop),
/* 916 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(180),
/* 925 S> */ B(Nop),
/* 926 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(182),
/* 935 S> */ B(Nop),
/* 936 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(184),
/* 945 S> */ B(Nop),
/* 946 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(186),
/* 955 S> */ B(Nop),
/* 956 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(188),
/* 965 S> */ B(Nop),
/* 966 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(190),
/* 975 S> */ B(Nop),
/* 976 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(192),
/* 985 S> */ B(Nop),
/* 986 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(194),
/* 995 S> */ B(Nop),
/* 996 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(196),
/* 1005 S> */ B(Nop),
/* 1006 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(198),
/* 1015 S> */ B(Nop),
/* 1016 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(200),
/* 1025 S> */ B(Nop),
/* 1026 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(202),
/* 1035 S> */ B(Nop),
/* 1036 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(204),
/* 1045 S> */ B(Nop),
/* 1046 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(206),
/* 1055 S> */ B(Nop),
/* 1056 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(208),
/* 1065 S> */ B(Nop),
/* 1066 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(210),
/* 1075 S> */ B(Nop),
/* 1076 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(212),
/* 1085 S> */ B(Nop),
/* 1086 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(214),
/* 1095 S> */ B(Nop),
/* 1096 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(216),
/* 1105 S> */ B(Nop),
/* 1106 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(218),
/* 1115 S> */ B(Nop),
/* 1116 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(220),
/* 1125 S> */ B(Nop),
/* 1126 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(222),
/* 1135 S> */ B(Nop),
/* 1136 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(224),
/* 1145 S> */ B(Nop),
/* 1146 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(226),
/* 1155 S> */ B(Nop),
/* 1156 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(228),
/* 1165 S> */ B(Nop),
/* 1166 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(230),
/* 1175 S> */ B(Nop),
/* 1176 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(232),
/* 1185 S> */ B(Nop),
/* 1186 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(234),
/* 1195 S> */ B(Nop),
/* 1196 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(236),
/* 1205 S> */ B(Nop),
/* 1206 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(238),
/* 1215 S> */ B(Nop),
/* 1216 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(240),
/* 1225 S> */ B(Nop),
/* 1226 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(242),
/* 1235 S> */ B(Nop),
/* 1236 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(244),
/* 1245 S> */ B(Nop),
/* 1246 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(246),
/* 1255 S> */ B(Nop),
/* 1256 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(248),
/* 1265 S> */ B(Nop),
/* 1266 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(250),
/* 1275 S> */ B(Nop),
/* 1276 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(252),
/* 1285 S> */ B(Nop),
/* 1286 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(254),
/* 1295 S> */ B(Nop),
/* 1296 E> */ B(Wide), B(LdaNamedProperty), R16(arg0), U16(0), U16(256),
/* 1305 S> */ B(LdaSmi), I8(2),
/* 1307 E> */ B(Wide), B(StaGlobalSloppy), U16(1), U16(258),
B(LdaUndefined),
/* 1312 S> */ B(Return),
]
constant pool: [
ONE_BYTE_INTERNALIZED_STRING_TYPE ["name"],
ONE_BYTE_INTERNALIZED_STRING_TYPE ["a"],
]
handlers: [
]
---
snippet: "
a = 1;
function f(b) {
'use strict';
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
b.name;
a = 2;
}
f({name: 1});
"
frame size: 0
parameter count: 2
[turbofan] Collect invocation counts and compute relative call frequencies. Add a notion of "invocation count" to the baseline compilers, which increment a special slot in the TypeFeedbackVector for each invocation of a given function (the optimized code doesn't currently collect this information). Use this invocation count to relativize the call counts on the call sites within the function, so that the inlining heuristic has a view of relative importance of a call site rather than some absolute numbers with unclear meaning for the current function. Also apply the call site frequency as a factor to all frequencies in the inlinee by passing this to the graph builders so that the importance of a call site in an inlinee is relative to the topmost optimized function. Note that all functions that neither have literals nor need type feedback slots will share a single invocation count cell in the canonical empty type feedback vector, so their invocation count is meaningless, but that doesn't matter since we only use the invocation count to relativize call counts within the function, which we only have if we have at least one type feedback vector (the CallIC slot). See the design document for additional details on this change: https://docs.google.com/document/d/1VoYBhpDhJC4VlqMXCKvae-8IGuheBGxy32EOgC2LnT8 BUG=v8:5267,v8:5372 R=mvstanton@chromium.org,rmcilroy@chromium.org,mstarzinger@chromium.org Review-Url: https://codereview.chromium.org/2337123003 Cr-Commit-Position: refs/heads/master@{#39410}
2016-09-14 10:20:08 +00:00
bytecode array length: 655
bytecodes: [
/* 17 E> */ B(StackCheck),
/* 41 S> */ B(Nop),
/* 42 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(2),
/* 51 S> */ B(Nop),
/* 52 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(4),
/* 61 S> */ B(Nop),
/* 62 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(6),
/* 71 S> */ B(Nop),
/* 72 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(8),
/* 81 S> */ B(Nop),
/* 82 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(10),
/* 91 S> */ B(Nop),
/* 92 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(12),
/* 101 S> */ B(Nop),
/* 102 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(14),
/* 111 S> */ B(Nop),
/* 112 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(16),
/* 121 S> */ B(Nop),
/* 122 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(18),
/* 131 S> */ B(Nop),
/* 132 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(20),
/* 141 S> */ B(Nop),
/* 142 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(22),
/* 151 S> */ B(Nop),
/* 152 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(24),
/* 161 S> */ B(Nop),
/* 162 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(26),
/* 171 S> */ B(Nop),
/* 172 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(28),
/* 181 S> */ B(Nop),
/* 182 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(30),
/* 191 S> */ B(Nop),
/* 192 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(32),
/* 201 S> */ B(Nop),
/* 202 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(34),
/* 211 S> */ B(Nop),
/* 212 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(36),
/* 221 S> */ B(Nop),
/* 222 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(38),
/* 231 S> */ B(Nop),
/* 232 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(40),
/* 241 S> */ B(Nop),
/* 242 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(42),
/* 251 S> */ B(Nop),
/* 252 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(44),
/* 261 S> */ B(Nop),
/* 262 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(46),
/* 271 S> */ B(Nop),
/* 272 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(48),
/* 281 S> */ B(Nop),
/* 282 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(50),
/* 291 S> */ B(Nop),
/* 292 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(52),
/* 301 S> */ B(Nop),
/* 302 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(54),
/* 311 S> */ B(Nop),
/* 312 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(56),
/* 321 S> */ B(Nop),
/* 322 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(58),
/* 331 S> */ B(Nop),
/* 332 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(60),
/* 341 S> */ B(Nop),
/* 342 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(62),
/* 351 S> */ B(Nop),
/* 352 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(64),
/* 361 S> */ B(Nop),
/* 362 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(66),
/* 371 S> */ B(Nop),
/* 372 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(68),
/* 381 S> */ B(Nop),
/* 382 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(70),
/* 391 S> */ B(Nop),
/* 392 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(72),
/* 401 S> */ B(Nop),
/* 402 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(74),
/* 411 S> */ B(Nop),
/* 412 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(76),
/* 421 S> */ B(Nop),
/* 422 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(78),
/* 431 S> */ B(Nop),
/* 432 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(80),
/* 441 S> */ B(Nop),
/* 442 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(82),
/* 451 S> */ B(Nop),
/* 452 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(84),
/* 461 S> */ B(Nop),
/* 462 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(86),
/* 471 S> */ B(Nop),
/* 472 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(88),
/* 481 S> */ B(Nop),
/* 482 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(90),
/* 491 S> */ B(Nop),
/* 492 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(92),
/* 501 S> */ B(Nop),
/* 502 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(94),
/* 511 S> */ B(Nop),
/* 512 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(96),
/* 521 S> */ B(Nop),
/* 522 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(98),
/* 531 S> */ B(Nop),
/* 532 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(100),
/* 541 S> */ B(Nop),
/* 542 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(102),
/* 551 S> */ B(Nop),
/* 552 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(104),
/* 561 S> */ B(Nop),
/* 562 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(106),
/* 571 S> */ B(Nop),
/* 572 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(108),
/* 581 S> */ B(Nop),
/* 582 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(110),
/* 591 S> */ B(Nop),
/* 592 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(112),
/* 601 S> */ B(Nop),
/* 602 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(114),
/* 611 S> */ B(Nop),
/* 612 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(116),
/* 621 S> */ B(Nop),
/* 622 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(118),
/* 631 S> */ B(Nop),
/* 632 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(120),
/* 641 S> */ B(Nop),
/* 642 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(122),
/* 651 S> */ B(Nop),
/* 652 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(124),
/* 661 S> */ B(Nop),
/* 662 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(126),
/* 671 S> */ B(Nop),
/* 672 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(128),
/* 681 S> */ B(Nop),
/* 682 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(130),
/* 691 S> */ B(Nop),
/* 692 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(132),
/* 701 S> */ B(Nop),
/* 702 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(134),
/* 711 S> */ B(Nop),
/* 712 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(136),
/* 721 S> */ B(Nop),
/* 722 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(138),
/* 731 S> */ B(Nop),
/* 732 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(140),
/* 741 S> */ B(Nop),
/* 742 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(142),
/* 751 S> */ B(Nop),
/* 752 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(144),
/* 761 S> */ B(Nop),
/* 762 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(146),
/* 771 S> */ B(Nop),
/* 772 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(148),
/* 781 S> */ B(Nop),
/* 782 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(150),
/* 791 S> */ B(Nop),
/* 792 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(152),
/* 801 S> */ B(Nop),
/* 802 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(154),
/* 811 S> */ B(Nop),
/* 812 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(156),
/* 821 S> */ B(Nop),
/* 822 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(158),
/* 831 S> */ B(Nop),
/* 832 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(160),
/* 841 S> */ B(Nop),
/* 842 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(162),
/* 851 S> */ B(Nop),
/* 852 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(164),
/* 861 S> */ B(Nop),
/* 862 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(166),
/* 871 S> */ B(Nop),
/* 872 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(168),
/* 881 S> */ B(Nop),
/* 882 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(170),
/* 891 S> */ B(Nop),
/* 892 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(172),
/* 901 S> */ B(Nop),
/* 902 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(174),
/* 911 S> */ B(Nop),
/* 912 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(176),
/* 921 S> */ B(Nop),
/* 922 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(178),
/* 931 S> */ B(Nop),
/* 932 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(180),
/* 941 S> */ B(Nop),
/* 942 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(182),
/* 951 S> */ B(Nop),
/* 952 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(184),
/* 961 S> */ B(Nop),
/* 962 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(186),
/* 971 S> */ B(Nop),
/* 972 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(188),
/* 981 S> */ B(Nop),
/* 982 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(190),
/* 991 S> */ B(Nop),
/* 992 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(192),
/* 1001 S> */ B(Nop),
/* 1002 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(194),
/* 1011 S> */ B(Nop),
/* 1012 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(196),
/* 1021 S> */ B(Nop),
/* 1022 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(198),
/* 1031 S> */ B(Nop),
/* 1032 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(200),
/* 1041 S> */ B(Nop),
/* 1042 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(202),
/* 1051 S> */ B(Nop),
/* 1052 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(204),
/* 1061 S> */ B(Nop),
/* 1062 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(206),
/* 1071 S> */ B(Nop),
/* 1072 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(208),
/* 1081 S> */ B(Nop),
/* 1082 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(210),
/* 1091 S> */ B(Nop),
/* 1092 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(212),
/* 1101 S> */ B(Nop),
/* 1102 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(214),
/* 1111 S> */ B(Nop),
/* 1112 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(216),
/* 1121 S> */ B(Nop),
/* 1122 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(218),
/* 1131 S> */ B(Nop),
/* 1132 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(220),
/* 1141 S> */ B(Nop),
/* 1142 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(222),
/* 1151 S> */ B(Nop),
/* 1152 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(224),
/* 1161 S> */ B(Nop),
/* 1162 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(226),
/* 1171 S> */ B(Nop),
/* 1172 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(228),
/* 1181 S> */ B(Nop),
/* 1182 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(230),
/* 1191 S> */ B(Nop),
/* 1192 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(232),
/* 1201 S> */ B(Nop),
/* 1202 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(234),
/* 1211 S> */ B(Nop),
/* 1212 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(236),
/* 1221 S> */ B(Nop),
/* 1222 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(238),
/* 1231 S> */ B(Nop),
/* 1232 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(240),
/* 1241 S> */ B(Nop),
/* 1242 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(242),
/* 1251 S> */ B(Nop),
/* 1252 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(244),
/* 1261 S> */ B(Nop),
/* 1262 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(246),
/* 1271 S> */ B(Nop),
/* 1272 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(248),
/* 1281 S> */ B(Nop),
/* 1282 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(250),
/* 1291 S> */ B(Nop),
/* 1292 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(252),
/* 1301 S> */ B(Nop),
/* 1302 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(254),
/* 1311 S> */ B(Nop),
/* 1312 E> */ B(Wide), B(LdaNamedProperty), R16(arg0), U16(0), U16(256),
/* 1321 S> */ B(LdaSmi), I8(2),
/* 1323 E> */ B(Wide), B(StaGlobalStrict), U16(1), U16(258),
B(LdaUndefined),
/* 1328 S> */ B(Return),
]
constant pool: [
ONE_BYTE_INTERNALIZED_STRING_TYPE ["name"],
ONE_BYTE_INTERNALIZED_STRING_TYPE ["a"],
]
handlers: [
]