• bjaideep's avatar
    PPC/s390: [wasm] Use builtins wrappers for traps · f8158cdb
    bjaideep authored
    Port 73d45c96
    
    Original Commit Message:
    
        With this CL the out-of-line code of TrapIf will call a builtin instead
        of doing a direct runtime call, which is cheaper. In the best case, the
        out-of-line code now consists of a single call instruction. The builtin
        will load the trapID and then call the runtime to throw a trap.
    
    R=ahaas@chromium.org, joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com
    BUG=
    LOG=N
    
    Review-Url: https://codereview.chromium.org/2713433003
    Cr-Commit-Position: refs/heads/master@{#43382}
    f8158cdb
code-generator-ppc.cc 98 KB