Index: src/heap/gc-tracer.cc |
diff --git a/src/heap/gc-tracer.cc b/src/heap/gc-tracer.cc |
index f7bd8d07d221da2d76d9386f32b4b093e435ad32..502498cb19da23e149cee47350c70e2afb4a2a34 100644 |
--- a/src/heap/gc-tracer.cc |
+++ b/src/heap/gc-tracer.cc |
@@ -718,7 +718,7 @@ intptr_t GCTracer::ScavengeSpeedInBytesPerMillisecond( |
intptr_t GCTracer::CompactionSpeedInBytesPerMillisecond() const { |
- if (compaction_events_.size() < kRingBufferMaxSize) return 0.0; |
+ if (compaction_events_.size() < kRingBufferMaxSize) return 0; |
intptr_t bytes = 0; |
double durations = 0.0; |
CompactionEventBuffer::const_iterator iter = compaction_events_.begin(); |