Reviewers: Yang,

Description:
Remove kind field from StackHandler.

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.

[email protected]

Please review this at https://codereview.chromium.org/1002203002/

Base URL: https://chromium.googlesource.com/v8/v8.git@master

Affected files (+149, -181 lines):
  M src/arm/macro-assembler-arm.cc
  M src/arm64/macro-assembler-arm64.cc
  M src/debug.h
  M src/debug.cc
  M src/frames.h
  M src/frames.cc
  M src/frames-inl.h
  M src/ia32/macro-assembler-ia32.cc
  M src/isolate.h
  M src/isolate.cc
  M src/x64/macro-assembler-x64.cc


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to