Index: src/heap/heap.cc |
diff --git a/src/heap/heap.cc b/src/heap/heap.cc |
index 178a0e39e470147d2c551744b4565490f7017227..ff1f6044bd70d7e803841e811cd848d8f5ea3e6c 100644 |
--- a/src/heap/heap.cc |
+++ b/src/heap/heap.cc |
@@ -810,7 +810,9 @@ void Heap::ScheduleIdleScavengeIfNeeded(int bytes_allocated) { |
void Heap::FinalizeIncrementalMarking(GarbageCollectionReason gc_reason) { |
if (FLAG_trace_incremental_marking) { |
- isolate()->PrintWithTimestamp("[IncrementalMarking] (%s).\n", gc_reason); |
+ isolate()->PrintWithTimestamp( |
+ "[IncrementalMarking] (%s).\n", |
+ Heap::GarbageCollectionReasonToString(gc_reason)); |
} |
HistogramTimerScope incremental_marking_scope( |