Index: src/heap.cc |
diff --git a/src/heap.cc b/src/heap.cc |
index 8560aa3b05471a4fe0732d94286da6fe5fbc3dfb..d172ceb54d0d588fba6294024529c1d9174bae7a 100644 |
--- a/src/heap.cc |
+++ b/src/heap.cc |
@@ -408,7 +408,7 @@ void Heap::ReportStatisticsAfterGC() { |
} |
-void Heap::GarbageCollectionPrologue(GarbageCollector collector) { |
+void Heap::GarbageCollectionPrologue() { |
{ AllowHeapAllocation for_the_first_part_of_prologue; |
ClearJSFunctionResultCaches(); |
gc_count_++; |
@@ -439,7 +439,7 @@ void Heap::GarbageCollectionPrologue(GarbageCollector collector) { |
ReportStatisticsBeforeGC(); |
#endif // DEBUG |
- store_buffer()->GCPrologue(collector == MARK_COMPACTOR); |
+ store_buffer()->GCPrologue(); |
if (isolate()->concurrent_osr_enabled()) { |
isolate()->optimizing_compiler_thread()->AgeBufferedOsrJobs(); |
@@ -837,7 +837,7 @@ bool Heap::CollectGarbage(GarbageCollector collector, |
{ GCTracer tracer(this, gc_reason, collector_reason); |
ASSERT(AllowHeapAllocation::IsAllowed()); |
DisallowHeapAllocation no_allocation_during_gc; |
- GarbageCollectionPrologue(collector); |
+ GarbageCollectionPrologue(); |
// The GC count was incremented in the prologue. Tell the tracer about |
// it. |
tracer.set_gc_count(gc_count_); |