• mstarzinger's avatar
    Remove kind field from StackHandler. · 15f82138
    mstarzinger authored
    This relands commit 96f79568.
    
    This makes the Isolate::Throw logic not depend on a prediction of
    whether an exception is caught or uncaught. Such a prediction is
    inherently undecidable because a finally block can decide between
    consuming or re-throwing an exception depending on arbitray control
    flow.
    
    There still is a conservative prediction mechanism in place that
    components like the debugger or tracing can use for reporting.
    
    With this change we can get rid of the StackHandler::kind field, a
    pre-requisite to do table-based lookups of exception handlers.
    
    R=yangguo@chromium.org
    
    Review URL: https://codereview.chromium.org/997213003
    
    Cr-Commit-Position: refs/heads/master@{#27263}
    15f82138
debug.h 29.1 KB