Index: src/extensions/gc-extension.cc |
diff --git a/src/extensions/gc-extension.cc b/src/extensions/gc-extension.cc |
index 1a2fe8ff4b3ff89a662d183c3cfcda9be8a149b7..036b60cb23151d887f851e2283e62570f5363cae 100644 |
--- a/src/extensions/gc-extension.cc |
+++ b/src/extensions/gc-extension.cc |
@@ -38,13 +38,12 @@ v8::Handle<v8::FunctionTemplate> GCExtension::GetNativeFunction( |
} |
-v8::Handle<v8::Value> GCExtension::GC(const v8::Arguments& args) { |
+void GCExtension::GC(const v8::FunctionCallbackInfo<v8::Value>& args) { |
if (args[0]->BooleanValue()) { |
HEAP->CollectGarbage(NEW_SPACE, "gc extension"); |
} else { |
HEAP->CollectAllGarbage(Heap::kNoGCFlags, "gc extension"); |
} |
- return v8::Undefined(); |
} |