• Junliang Yan's avatar
    PPC/s390: [builtins] Convert CEntry/GetProperty/StringAdd stubs to builtins · 7ff35bd5
    Junliang Yan authored
    Port d8131cd6
    
    Original Commit Message:
    
        Stubs and builtins are very similar. The main differences are that
        stubs can be parameterized and may be generated at runtime, whereas
        builtins are generated at mksnapshot-time and shipped with the snapshot
        (or embedded into the binary).
    
        My main motivation for these conversions is that we can generate
        faster calls and jumps to (embedded) builtins callees from (embedded)
        builtin callers. Instead of going through the builtins constants table
        indirection, we can simply do a pc-relative call/jump.
    
        This also unlocks other refactorings, e.g. removal of
        CallRuntimeDelayed.
    
    R=jgruber@chromium.org, joransiu@ca.ibm.com, michael_dawson@ca.ibm.com
    BUG=
    LOG=N
    
    Change-Id: I193e4275470d492912a7d0f8523c3b8c29f1b146
    Reviewed-on: https://chromium-review.googlesource.com/1050732
    Commit-Queue: Junliang Yan <jyan@ca.ibm.com>
    Reviewed-by: 's avatarJoran Siu <joransiu@ca.ibm.com>
    Cr-Commit-Position: refs/heads/master@{#53081}
    7ff35bd5
interface-descriptors-ppc.cc 11.7 KB