summaryrefslogtreecommitdiff
path: root/deps/v8/src/debug.cc
diff options
context:
space:
mode:
authorRyan <ry@tinyclouds.org>2009-08-25 13:47:18 +0200
committerRyan <ry@tinyclouds.org>2009-08-25 13:47:18 +0200
commitb5b65ddcd776e59d35200105ed3420c04d07cae9 (patch)
tree1c0863fe9f268d1910e2ced36be96514d945139d /deps/v8/src/debug.cc
parentb0a362a72734deb286830e26a3eb20e20234f3e9 (diff)
downloadnode-b5b65ddcd776e59d35200105ed3420c04d07cae9.tar.gz
Upgrade v8 to 1.3.7
Diffstat (limited to 'deps/v8/src/debug.cc')
-rw-r--r--deps/v8/src/debug.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/deps/v8/src/debug.cc b/deps/v8/src/debug.cc
index f2a28148b..faeb29ba4 100644
--- a/deps/v8/src/debug.cc
+++ b/deps/v8/src/debug.cc
@@ -1548,8 +1548,8 @@ void Debug::CreateScriptCache() {
// Perform two GCs to get rid of all unreferenced scripts. The first GC gets
// rid of all the cached script wrappers and the second gets rid of the
// scripts which is no longer referenced.
- Heap::CollectAllGarbage();
- Heap::CollectAllGarbage();
+ Heap::CollectAllGarbage(false);
+ Heap::CollectAllGarbage(false);
ASSERT(script_cache_ == NULL);
script_cache_ = new ScriptCache();
@@ -1599,7 +1599,7 @@ Handle<FixedArray> Debug::GetLoadedScripts() {
// Perform GC to get unreferenced scripts evicted from the cache before
// returning the content.
- Heap::CollectAllGarbage();
+ Heap::CollectAllGarbage(false);
// Get the scripts from the cache.
return script_cache_->GetScripts();