Index: src/extensions/gc-extension.cc |
=================================================================== |
--- src/extensions/gc-extension.cc (revision 9327) |
+++ src/extensions/gc-extension.cc (working copy) |
@@ -40,12 +40,7 @@ |
v8::Handle<v8::Value> GCExtension::GC(const v8::Arguments& args) { |
- bool compact = false; |
- // All allocation spaces other than NEW_SPACE have the same effect. |
- if (args.Length() >= 1 && args[0]->IsBoolean()) { |
- compact = args[0]->BooleanValue(); |
- } |
- HEAP->CollectAllGarbage(compact); |
+ HEAP->CollectAllGarbage(Heap::kNoGCFlags); |
return v8::Undefined(); |
} |