• bmeurer's avatar
    [turbofan] Add support for eager/soft deoptimization reasons. · db635d5b
    bmeurer authored
    So far TurboFan wasn't adding the deoptimization reasons for eager/soft
    deoptimization exits that can be used by either the DevTools profiler or
    the --trace-deopt flag. This adds basic support for deopt reasons on
    Deoptimize, DeoptimizeIf and DeoptimizeUnless nodes and threads through
    the reasons to the code generation.
    
    Also moves the DeoptReason to it's own file (to resolve include cycles)
    and drops unused reasons.
    
    R=jarin@chromium.org
    
    Review-Url: https://codereview.chromium.org/2161543002
    Cr-Commit-Position: refs/heads/master@{#37823}
    db635d5b
branch-elimination.cc 10.4 KB