Index: src/top.h |
=================================================================== |
--- src/top.h (revision 1639) |
+++ src/top.h (working copy) |
@@ -127,7 +127,6 @@ |
return !thread_local_.pending_exception_->IsTheHole(); |
} |
static void clear_pending_message() { |
- thread_local_.catcher_ = NULL; |
thread_local_.has_pending_message_ = false; |
thread_local_.pending_message_ = NULL; |
thread_local_.pending_message_obj_ = Heap::the_hole_value(); |
@@ -159,9 +158,9 @@ |
static void setup_external_caught() { |
thread_local_.external_caught_exception_ = |
- (!thread_local_.pending_exception_->IsTheHole()) && |
+ has_pending_exception() && |
(thread_local_.catcher_ != NULL) && |
- (Top::thread_local_.try_catch_handler_ == Top::thread_local_.catcher_); |
+ (thread_local_.try_catch_handler_ == thread_local_.catcher_); |
} |
// Tells whether the current context has experienced an out of memory |