• bmeurer's avatar
    [turbofan] Remove the JSContextRelaxation reducer. · 8a7186b8
    bmeurer authored
    This reducer doesn't really add value, because:
    
     (a) it is only concerned with JSCallFunction and JSToNumber, but when
         we get to it, all JSCallFunction nodes will have been replaced by
         Call nodes, and in the not so far future, we will also have
         replaced almost all JSToNumber nodes with better code,
     (b) and the reducer tries to be smart and use one of the outermost
         contexts, but that might not be beneficial always; actually it
         might even create longer live ranges and lead to more spilling
         in some cases.
    
    But most importantly, the JSContextRelaxation currently blocks inlining
    based on SharedFunctionInfo, because it requires the inliner to check
    the native context, which in turn requires JSFunction knowledge. So I'm
    removing this reducer for now to unblock the more important inliner
    changes.
    
    R=jarin@chromium.org
    
    Review URL: https://codereview.chromium.org/1715633002
    
    Cr-Commit-Position: refs/heads/master@{#34139}
    8a7186b8
Name
Last commit
Last update
benchmarks Loading commit data...
build Loading commit data...
docs Loading commit data...
include Loading commit data...
infra 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...
snapshot_toolchain.gni Loading commit data...