Index: src/debug/debug.cc |
diff --git a/src/debug/debug.cc b/src/debug/debug.cc |
index 214d72e7c27abd486a994b5f33b7f7149d29071a..7307d6dcbcdeb9ff9d28e30df83008a5869baa7f 100644 |
--- a/src/debug/debug.cc |
+++ b/src/debug/debug.cc |
@@ -753,7 +753,7 @@ bool Debug::CheckBreakPoint(Handle<Object> break_point_object) { |
} |
// Return whether the break point is triggered. |
- return result->IsTrue(); |
+ return result->IsTrue(isolate_); |
} |
@@ -1773,7 +1773,7 @@ void Debug::OnException(Handle<Object> exception, Handle<Object> promise) { |
ASSIGN_RETURN_ON_EXCEPTION_VALUE( |
isolate_, has_reject_handler, |
PromiseHasUserDefinedRejectHandler(jspromise), /* void */); |
- uncaught = has_reject_handler->IsFalse(); |
+ uncaught = has_reject_handler->IsFalse(isolate_); |
} |
// Bail out if exception breaks are not active |
if (uncaught) { |
@@ -2089,7 +2089,7 @@ void Debug::NotifyMessageHandler(v8::DebugEvent event, |
isolate_, is_running, cmd_processor, 1, is_running_args); |
Handle<Object> result; |
if (!maybe_result.ToHandle(&result)) break; |
- running = result->IsTrue(); |
+ running = result->IsTrue(isolate_); |
} else { |
Handle<Object> exception; |
if (!maybe_exception.ToHandle(&exception)) break; |
@@ -2123,7 +2123,7 @@ void Debug::SetEventListener(Handle<Object> callback, |
event_listener_data_ = Handle<Object>(); |
// Set new entry. |
- if (!callback->IsUndefined(isolate_) && !callback->IsNull()) { |
+ if (!callback->IsUndefined(isolate_) && !callback->IsNull(isolate_)) { |
event_listener_ = global_handles->Create(*callback); |
if (data.is_null()) data = isolate_->factory()->undefined_value(); |
event_listener_data_ = global_handles->Create(*data); |