• michael_dawson's avatar
    PPC: Switch full-codegen from StackHandlers to handler table. · 918ec32d
    michael_dawson authored
    Port 38a719f9
    
    Original commit message:
    This switches full-codegen to no longer push and pop StackHandler
    markers onto the operand stack, but relies on a range-based handler
    table instead. We only use StackHandlers in JSEntryStubs to mark the
    transition from C to JS code.
    
    Note that this makes deoptimization and OSR from within any try-block
    work out of the box, makes the non-exception paths faster and should
    overall be neutral on the memory footprint (pros).
    
    On the other hand it makes the exception paths slower and actually
    throwing and exception more expensive (cons).
    
    TEST=cctest/test-run-jsexceptions/DeoptTry
    
    R=yangguo@chromium.org, R=mbrandy@us.ibm.com
    
    BUG=
    
    Review URL: https://codereview.chromium.org/1035533004
    
    Cr-Commit-Position: refs/heads/master@{#27453}
    918ec32d
full-codegen-ppc.cc 183 KB