• mbrandy's avatar
    PPC: [runtime] Introduce FastNewStrictArgumentsStub to optimize strict arguments. · fb10f8fa
    mbrandy authored
    Port 09d84535
    
    Original commit message:
        The FastNewStrictArgumentsStub is very similar to the recently added
        FastNewRestParameterStub, it's actually almost a copy of it, except that
        it doesn't have the fast case we have for the empty rest parameter. This
        patch improves strict arguments in TurboFan and fullcodegen by up to 10x
        compared to the previous version.
    
        Also introduce proper JSSloppyArgumentsObject and JSStrictArgumentsObject
        for the in-object properties instead of having them as constants in the
        Heap class.
    
        Drive-by-fix: Use this stub and the FastNewRestParameterStub in the
        interpreter to avoid the runtime call overhead for strict arguments
        and rest parameter creation.
    
    R=bmeurer@chromium.org, joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com
    BUG=
    
    Review URL: https://codereview.chromium.org/1696743002
    
    Cr-Commit-Position: refs/heads/master@{#33963}
    fb10f8fa
Name
Last commit
Last update
..
OWNERS Loading commit data...
full-codegen-ppc.cc Loading commit data...