• balazs.kilvady's avatar
    MIPS: Switch full-codegen from StackHandlers to handler table. · 03620298
    balazs.kilvady 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
    BUG=
    
    Review URL: https://codereview.chromium.org/1037743002
    
    Cr-Commit-Position: refs/heads/master@{#27443}
    03620298
full-codegen-mips64.cc 187 KB