MIPS: Remove kind field from StackHandler.
authorbalazs.kilvady <balazs.kilvady@imgtec.com>
Wed, 18 Mar 2015 12:52:55 +0000 (05:52 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 18 Mar 2015 12:53:05 +0000 (12:53 +0000)
commitfb5dc799834bc6e0c4cdc13e07a9e3265994ef04
treea5b64ee5ef845ab3178dc907e2907f59aad4d20f
parent7875a8912228bd5534de916834c8d46d5d987d39
MIPS: 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.

BUG=

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

Cr-Commit-Position: refs/heads/master@{#27273}
src/mips/macro-assembler-mips.cc
src/mips64/macro-assembler-mips64.cc