Uninline RuntimeCallStatEntries::Add to save binary size.
RuntimeCallStats::Print invokes this function many times. The uses of STL all get inlined as a result, causing the Print() function to take up 156KB of binary size. Out-of-lining this method reduces the size to under 18KB! BUG=v8:5240 Review-Url: https://codereview.chromium.org/2188953003 Cr-Commit-Position: refs/heads/master@{#38182}
Showing
Please
register
or
sign in
to comment