summaryrefslogtreecommitdiff
path: root/deps/v8/src/runtime
diff options
context:
space:
mode:
authorAli Ijaz Sheikh <ofrobots@google.com>2016-02-29 13:21:43 -0800
committerAli Sheikh <ofrobots@lemonhope.roam.corp.google.com>2016-03-03 20:35:20 -0800
commitf8e8075a62f910b33e6a2a93afdfe7b4df482264 (patch)
treeee9a0d6fa9f66cf8c49ddaeed034ab9cc9620ebe /deps/v8/src/runtime
parent206a81fb145e5e8bfaa8de256e9bf1a9c8815fae (diff)
downloadandroid-node-v8-f8e8075a62f910b33e6a2a93afdfe7b4df482264.tar.gz
android-node-v8-f8e8075a62f910b33e6a2a93afdfe7b4df482264.tar.bz2
android-node-v8-f8e8075a62f910b33e6a2a93afdfe7b4df482264.zip
deps: upgrade to V8 4.9.385.27
Pick up the latest known good release from the V8 4.9 branch: 4.9.385.27. V8 Commits: https://github.com/v8/v8/compare/4.9.385.18...4.9.385.27 PR-URL: https://github.com/nodejs/node/pull/5494 Reviewed-By: bnoordhuis - Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: targos - Michaƫl Zasso <mic.besace@gmail.com>
Diffstat (limited to 'deps/v8/src/runtime')
-rw-r--r--deps/v8/src/runtime/runtime-debug.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/deps/v8/src/runtime/runtime-debug.cc b/deps/v8/src/runtime/runtime-debug.cc
index d94c75fa0e..80791dea76 100644
--- a/deps/v8/src/runtime/runtime-debug.cc
+++ b/deps/v8/src/runtime/runtime-debug.cc
@@ -30,7 +30,9 @@ RUNTIME_FUNCTION(Runtime_DebugBreak) {
RUNTIME_FUNCTION(Runtime_HandleDebuggerStatement) {
SealHandleScope shs(isolate);
DCHECK(args.length() == 0);
- isolate->debug()->HandleDebugBreak();
+ if (isolate->debug()->break_points_active()) {
+ isolate->debug()->HandleDebugBreak();
+ }
return isolate->heap()->undefined_value();
}