PPC: Remove kind field from StackHandler.
authormichael_dawson <michael_dawson@ca.ibm.com>
Mon, 23 Mar 2015 21:32:43 +0000 (14:32 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 23 Mar 2015 21:32:56 +0000 (21:32 +0000)
commit890c0eac21919a08ae10782ec3cc40d1381cbd8b
treec877e5667811c6683ec43b0a4a7c8a594dbba9e8
parentc277e7efad70f4c3ac512c0fcece223c2dc66cae
PPC: Remove kind field from StackHandler.

Port 15f8213809a57c2a163b500a732c9ffe5160a41a

Original commit message:
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=mbrandy@us.ibm.com, yangguo@chromium.org, svenpanne@chromium.org

BUG=

Review URL: https://codereview.chromium.org/1016333002

Cr-Commit-Position: refs/heads/master@{#27381}
src/ppc/macro-assembler-ppc.cc