Index: src/heap-inl.h |
diff --git a/src/heap-inl.h b/src/heap-inl.h |
index 3229aeecc3096fa74bc9f022616eb277b4e79d58..2e538173d9af246e87a7d15b9c44ba78d0a5c5a7 100644 |
--- a/src/heap-inl.h |
+++ b/src/heap-inl.h |
@@ -522,10 +522,13 @@ void Heap::ScavengeObject(HeapObject** p, HeapObject* object) { |
} |
-bool Heap::CollectGarbage(AllocationSpace space, const char* gc_reason) { |
+bool Heap::CollectGarbage(AllocationSpace space, |
+ const char* gc_reason, |
+ const v8::GCCallbackFlags callbackFlags) { |
const char* collector_reason = NULL; |
GarbageCollector collector = SelectGarbageCollector(space, &collector_reason); |
- return CollectGarbage(space, collector, gc_reason, collector_reason); |
+ return CollectGarbage( |
+ space, collector, gc_reason, collector_reason, callbackFlags); |
} |