Index: src/heap.cc |
diff --git a/src/heap.cc b/src/heap.cc |
index a1e2a48c0576afa7c86751fe327b9f3d550ecc8c..7976cf8aa7f1a4965dc844c21d4254f07580a8df 100644 |
--- a/src/heap.cc |
+++ b/src/heap.cc |
@@ -893,7 +893,7 @@ bool Heap::PerformGarbageCollection(GarbageCollector collector, |
{ |
GCTracer::Scope scope(tracer, GCTracer::Scope::EXTERNAL); |
VMState<EXTERNAL> state(isolate_); |
- CallGCPrologueCallbacks(gc_type); |
+ CallGCPrologueCallbacks(gc_type, kNoGCCallbackFlags); |
} |
EnsureFromSpaceIsCommitted(); |
@@ -1028,13 +1028,13 @@ bool Heap::PerformGarbageCollection(GarbageCollector collector, |
} |
-void Heap::CallGCPrologueCallbacks(GCType gc_type) { |
+void Heap::CallGCPrologueCallbacks(GCType gc_type, GCCallbackFlags flags) { |
if (gc_type == kGCTypeMarkSweepCompact && global_gc_prologue_callback_) { |
global_gc_prologue_callback_(); |
} |
for (int i = 0; i < gc_prologue_callbacks_.length(); ++i) { |
if (gc_type & gc_prologue_callbacks_[i].gc_type) { |
- gc_prologue_callbacks_[i].callback(gc_type, kNoGCCallbackFlags); |
+ gc_prologue_callbacks_[i].callback(gc_type, flags); |
} |
} |
} |