diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2015-05-06 17:04:07 +0200 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2015-05-06 20:14:07 +0200 |
commit | b16d9c28e8dced7c5d7a3b528075ce7f4b03325b (patch) | |
tree | b60e6410b4d2e5a50250ed05b996cf46a5321713 /deps/v8/src/runtime/runtime-debug.cc | |
parent | 8315b223907ecce432188fc0c7b180536bd5a682 (diff) | |
download | android-node-v8-b16d9c28e8dced7c5d7a3b528075ce7f4b03325b.tar.gz android-node-v8-b16d9c28e8dced7c5d7a3b528075ce7f4b03325b.tar.bz2 android-node-v8-b16d9c28e8dced7c5d7a3b528075ce7f4b03325b.zip |
deps: upgrade v8 to 4.2.77.20
Fixes: https://github.com/iojs/io.js/issues/1637
PR-URL: https://github.com/iojs/io.js/pull/1639
Reviewed-By: Trevor Norris <trev.norris@gmail.com>
V8-Bug: https://code.google.com/p/v8/issues/detail?id=3960
V8-Bug: https://code.google.com/p/v8/issues/detail?id=4079
Diffstat (limited to 'deps/v8/src/runtime/runtime-debug.cc')
-rw-r--r-- | deps/v8/src/runtime/runtime-debug.cc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/deps/v8/src/runtime/runtime-debug.cc b/deps/v8/src/runtime/runtime-debug.cc index f8c123867a..563e80804f 100644 --- a/deps/v8/src/runtime/runtime-debug.cc +++ b/deps/v8/src/runtime/runtime-debug.cc @@ -2327,6 +2327,7 @@ RUNTIME_FUNCTION(Runtime_DebugGetLoadedScripts) { HandleScope scope(isolate); DCHECK(args.length() == 0); + DebugScope debug_scope(isolate->debug()); // Fill the script objects. Handle<FixedArray> instances = isolate->debug()->GetLoadedScripts(); @@ -2674,6 +2675,15 @@ RUNTIME_FUNCTION(Runtime_ExecuteInDebugContext) { } +RUNTIME_FUNCTION(Runtime_GetDebugContext) { + HandleScope scope(isolate); + DCHECK(args.length() == 0); + Handle<Context> context = isolate->debug()->GetDebugContext(); + context->set_security_token(isolate->native_context()->security_token()); + return context->global_proxy(); +} + + // Performs a GC. // Presently, it only does a full GC. RUNTIME_FUNCTION(Runtime_CollectGarbage) { |