| Index: src/debug.cc
|
| diff --git a/src/debug.cc b/src/debug.cc
|
| index 75c72820b202ad9c234edaab725fc35c85e4f39c..1e2934287b4c640b2e724e1c6a8239d35e2bf784 100644
|
| --- a/src/debug.cc
|
| +++ b/src/debug.cc
|
| @@ -1118,8 +1118,8 @@ bool Debug::CheckBreakPoint(Handle<Object> break_point_object) {
|
| STATIC_ASCII_VECTOR("IsBreakPointTriggered"));
|
| Handle<GlobalObject> debug_global(debug_context()->global_object());
|
| Handle<JSFunction> check_break_point =
|
| - Handle<JSFunction>::cast(GlobalObject::GetPropertyNoExceptionThrown(
|
| - debug_global, is_break_point_triggered_string));
|
| + Handle<JSFunction>::cast(Object::GetProperty(
|
| + debug_global, is_break_point_triggered_string).ToHandleChecked());
|
|
|
| // Get the break id as an object.
|
| Handle<Object> break_id = factory->NewNumberFromInt(Debug::break_id());
|
| @@ -2463,8 +2463,8 @@ void Debug::ClearMirrorCache() {
|
| // Clear the mirror cache.
|
| Handle<String> function_name = isolate_->factory()->InternalizeOneByteString(
|
| STATIC_ASCII_VECTOR("ClearMirrorCache"));
|
| - Handle<Object> fun = GlobalObject::GetPropertyNoExceptionThrown(
|
| - isolate_->global_object(), function_name);
|
| + Handle<Object> fun = Object::GetProperty(
|
| + isolate_->global_object(), function_name).ToHandleChecked();
|
| ASSERT(fun->IsJSFunction());
|
| bool caught_exception;
|
| Execution::TryCall(Handle<JSFunction>::cast(fun),
|
| @@ -2600,8 +2600,8 @@ Handle<Object> Debugger::MakeJSObject(Vector<const char> constructor_name,
|
| Handle<String> constructor_str =
|
| isolate_->factory()->InternalizeUtf8String(constructor_name);
|
| ASSERT(!constructor_str.is_null());
|
| - Handle<Object> constructor = GlobalObject::GetPropertyNoExceptionThrown(
|
| - isolate_->global_object(), constructor_str);
|
| + Handle<Object> constructor = Object::GetProperty(
|
| + isolate_->global_object(), constructor_str).ToHandleChecked();
|
| ASSERT(constructor->IsJSFunction());
|
| if (!constructor->IsJSFunction()) {
|
| *caught_exception = true;
|
| @@ -2833,8 +2833,8 @@ void Debugger::OnAfterCompile(Handle<Script> script,
|
| STATIC_ASCII_VECTOR("UpdateScriptBreakPoints"));
|
| Handle<GlobalObject> debug_global(debug->debug_context()->global_object());
|
| Handle<Object> update_script_break_points =
|
| - GlobalObject::GetPropertyNoExceptionThrown(
|
| - debug_global, update_script_break_points_string);
|
| + Object::GetProperty(
|
| + debug_global, update_script_break_points_string).ToHandleChecked();
|
| if (!update_script_break_points->IsJSFunction()) {
|
| return;
|
| }
|
|
|