• Benedikt Meurer's avatar
    [turbofan] Add support for inlining of builtins. · 25895aee
    Benedikt Meurer authored
    We mark certain builtins for inlining, and those should always be
    inlined into optimized code (CrankShaft already handles it this way), so
    we should support that in TurboFan as well. Currently this mainly
    affects a certain set of Math functions, but once have the basics in
    place we can extend this to any kind of builtin/code stub/accessor.
    
    This adds a new flag --turbo_builtin_inlining (enabled by default), that
    forces the inliner to always inline builtins marked for inlining, but
    does not affect inlining of other functions (this is still controlled by
    the --turbo-inlining flag).
    
    BUG=v8:3952
    LOG=n
    R=jarin@chromium.org
    
    Review URL: https://codereview.chromium.org/993473002
    
    Cr-Commit-Position: refs/heads/master@{#27059}
    25895aee
Name
Last commit
Last update
benchmarks Loading commit data...
build Loading commit data...
include Loading commit data...
samples Loading commit data...
src Loading commit data...
test Loading commit data...
testing Loading commit data...
third_party/binutils Loading commit data...
tools Loading commit data...
.clang-format Loading commit data...
.gitignore Loading commit data...
.ycm_extra_conf.py Loading commit data...
AUTHORS Loading commit data...
BUILD.gn Loading commit data...
ChangeLog Loading commit data...
DEPS Loading commit data...
LICENSE Loading commit data...
LICENSE.strongtalk Loading commit data...
LICENSE.v8 Loading commit data...
LICENSE.valgrind Loading commit data...
Makefile Loading commit data...
Makefile.android Loading commit data...
Makefile.nacl Loading commit data...
OWNERS Loading commit data...
PRESUBMIT.py Loading commit data...
README.md Loading commit data...
WATCHLISTS Loading commit data...
codereview.settings Loading commit data...