• mbrandy's avatar
    PPC: [stubs] Introduce ToNameStub to implement %_ToName. · 12ac11e9
    mbrandy authored
    Port a0878333
    
    Original commit message:
        We already had hand-written optimized code for %_ToName in fullcodegen,
        but the optimizing compilers always went to the runtime for %_ToName,
        which is pretty bad for many of our builtins. So this CL moves the
        existing native code to a ToNameStub (similar to the existing
        ToStringStub), and uses the ToNameStub consistently in all compilers to
        actually implement %_ToName.
    
    R=bmeurer@chromium.org, joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com
    BUG=
    
    Review URL: https://codereview.chromium.org/1620313004
    
    Cr-Commit-Position: refs/heads/master@{#33476}
    12ac11e9
code-stubs-ppc.cc 197 KB