Index: src/isolate.h |
diff --git a/src/isolate.h b/src/isolate.h |
index a52cfb5fdd111cf1adfd6b0a398c4aa5e7386f3e..426a7389217134aab419458cf2e585c4917d41e0 100644 |
--- a/src/isolate.h |
+++ b/src/isolate.h |
@@ -604,7 +604,8 @@ class Isolate { |
thread_local_top_.scheduled_exception_ = heap_.the_hole_value(); |
} |
- bool IsExternallyCaught(); |
+ bool HasExternalTryCatch(); |
+ bool IsFinallyOnTop(); |
bool is_catchable_by_javascript(Object* exception) { |
return exception != heap()->termination_exception(); |
@@ -1179,7 +1180,10 @@ class Isolate { |
void FillCache(); |
- void PropagatePendingExceptionToExternalTryCatch(); |
+ // Propagate pending exception message to the v8::TryCatch. |
+ // If there is no external try-catch or message was successfully propagated, |
+ // then return true. |
+ bool PropagatePendingExceptionToExternalTryCatch(); |
// Traverse prototype chain to find out whether the object is derived from |
// the Error object. |