• bjaideep's avatar
    PPC/s390: [turbofan] Remove special JSForInStep and JSForInDone. · b4ccb16a
    bjaideep authored
    Port 1915762c
    
    Original commit message:
    
        These JavaScript operators were special hacks to ensure that we always
        operate on Smis for the magic for-in index variable, but this never
        really worked in the OSR case, because the OsrValue for the index
        variable didn't have the proper information (that we have for the
        JSForInPrepare in the non-OSR case).
    
        Now that we have loop induction variable analysis and binary operation
        hints, we can just use JSLessThan and JSAdd instead with appropriate
        Smi hints, which handle the OSR case by inserting Smi checks (that are
        always true). Thanks to OSR deconstruction and loop peeling these Smi
        checks will be hoisted so they don't hurt the OSR case too much.
    
        Drive-by-change: Rename the ForInDone bytecode to ForInContinue, since
        we have to lower it to JSLessThan to get the loop induction variable
        goodness.
    
    R=bmeurer@chromium.org, joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com
    BUG=
    LOG=N
    
    Review-Url: https://codereview.chromium.org/2502503002
    Cr-Commit-Position: refs/heads/master@{#40947}
    b4ccb16a
Name
Last commit
Last update
benchmarks Loading commit data...
build_overrides Loading commit data...
docs Loading commit data...
gni Loading commit data...
gypfiles 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 Loading commit data...
tools Loading commit data...
.clang-format Loading commit data...
.gitignore Loading commit data...
.gn Loading commit data...
.ycm_extra_conf.py Loading commit data...
AUTHORS Loading commit data...
BUILD.gn Loading commit data...
CODE_OF_CONDUCT.md Loading commit data...
ChangeLog Loading commit data...
DEPS Loading commit data...
LICENSE Loading commit data...
LICENSE.fdlibm 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...
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...