Index: src/debug/debug.cc |
diff --git a/src/debug/debug.cc b/src/debug/debug.cc |
index a21bfde25c1c5fab931337dc0679f97ddf16e9a9..418b8eb2481d84020a22a43658aabed70412edd3 100644 |
--- a/src/debug/debug.cc |
+++ b/src/debug/debug.cc |
@@ -2139,8 +2139,7 @@ void Debug::HandleDebugBreak() { |
if (fun && fun->IsJSFunction()) { |
// Don't stop in builtin functions. |
if (!JSFunction::cast(fun)->shared()->IsSubjectToDebugging()) return; |
- if (isolate_->stack_guard()->CheckDebugBreak() && |
- IsBlackboxed(JSFunction::cast(fun)->shared())) { |
+ if (IsBlackboxed(JSFunction::cast(fun)->shared())) { |
Yang
2017/01/25 06:03:52
Why do we need to deoptimize the function? We don'
kozy
2017/01/25 06:10:44
I think when we schedule pause on next statement f
Yang
2017/01/25 08:32:34
As discussed, please also deopt the function for t
|
Deoptimizer::DeoptimizeFunction(JSFunction::cast(fun)); |
return; |
} |