• jarin's avatar
    [turbofan] Unwind and jump to the catch handler in the deoptimizer. · ab3b3bec
    jarin authored
    The idea here is to perform the handler lookup in the deoptimizer, and then take the information from the handler table to build the catch handler frame in the deoptimizer. Specifically, we use the pc offset, context location and stack height (in full-code) to tweak the output frame.
    
    Sadly, this still requires nasty voodoo for the liveness analyzer so that it keeps variables alive if they are used in the catch handler.
    
    Review URL: https://codereview.chromium.org/1416543006
    
    Cr-Commit-Position: refs/heads/master@{#33936}
    ab3b3bec
try-catch-deopt.js 3.93 KB