Remove kind field from StackHandler.
authormstarzinger <mstarzinger@chromium.org>
Wed, 18 Mar 2015 10:19:04 +0000 (03:19 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 18 Mar 2015 10:19:16 +0000 (10:19 +0000)
commit15f8213809a57c2a163b500a732c9ffe5160a41a
treec4e9ae0c03def7b32f5263f6d25a79f39ff69269
parent0e024449b8322f99534c1901ac6acc6611ddcb1d
Remove kind field from StackHandler.

This relands commit 96f79568a926966ebcf0685bf9adc947f4e1fbff.

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}
src/arm/macro-assembler-arm.cc
src/arm64/macro-assembler-arm64.cc
src/debug.cc
src/debug.h
src/frames-inl.h
src/frames.cc
src/frames.h
src/ia32/macro-assembler-ia32.cc
src/isolate.cc
src/isolate.h
src/x64/macro-assembler-x64.cc