| Index: src/debug/debug.cc
|
| diff --git a/src/debug/debug.cc b/src/debug/debug.cc
|
| index 54161d021d56ccd2c1d2bada40d2549c88ca6850..92699bcd4bf9f5d21c723d2a443cdbeb3ddbb1c8 100644
|
| --- a/src/debug/debug.cc
|
| +++ b/src/debug/debug.cc
|
| @@ -1596,7 +1596,7 @@ void Debug::FramesHaveBeenDropped(StackFrame::Id new_break_frame_id,
|
| }
|
|
|
|
|
| -bool Debug::IsDebugGlobal(GlobalObject* global) {
|
| +bool Debug::IsDebugGlobal(JSGlobalObject* global) {
|
| return is_loaded() && global == debug_context()->global_object();
|
| }
|
|
|
| @@ -2245,7 +2245,8 @@ void Debug::HandleDebugBreak() {
|
| if (fun && fun->IsJSFunction()) {
|
| // Don't stop in builtin functions.
|
| if (!JSFunction::cast(fun)->IsSubjectToDebugging()) return;
|
| - GlobalObject* global = JSFunction::cast(fun)->context()->global_object();
|
| + JSGlobalObject* global =
|
| + JSFunction::cast(fun)->context()->global_object();
|
| // Don't stop in debugger functions.
|
| if (IsDebugGlobal(global)) return;
|
| }
|
|
|