Index: test/cctest/test-decls.cc |
diff --git a/test/cctest/test-decls.cc b/test/cctest/test-decls.cc |
index 7587da8bac00dabbe853aa03b061c77ad57989c6..88fa79b70e07374ca4d969a5592bee993f8b639f 100644 |
--- a/test/cctest/test-decls.cc |
+++ b/test/cctest/test-decls.cc |
@@ -130,7 +130,7 @@ void DeclarationContext::Check(const char* source, |
InitializeIfNeeded(); |
// A retry after a GC may pollute the counts, so perform gc now |
// to avoid that. |
- v8::internal::Heap::CollectGarbage(0, v8::internal::NEW_SPACE); |
+ v8::internal::Heap::CollectGarbage(v8::internal::NEW_SPACE); |
HandleScope scope; |
TryCatch catcher; |
catcher.SetVerbose(true); |