• mbrandy's avatar
    PPC: [stubs] Refactor StringCompareStub and use it for HStringCompareAndBranch. · d4d2ea7b
    mbrandy authored
    Port 8016547c
    
    Original commit message:
        The StringCompareStub used to take its parameters on the (JavaScript)
        stack, which made it impossible to use in TurboFan. Actually
        StringCompareStub was currently completely unused. This changes the
        calling convention to something TurboFan compatible and introduces a
        CallInterfaceDescriptor for StringCompareStub. It also changes
        HStringCompareAndBranch to use the StringCompareStub instead of using
        the full blown CompareICStub for a stupid string comparison.
    
    R=bmeurer@chromium.org, joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com, dstence@us.ibm.com
    BUG=
    
    Review URL: https://codereview.chromium.org/1358553002
    
    Cr-Commit-Position: refs/heads/master@{#30837}
    d4d2ea7b
code-stubs-ppc.cc 202 KB