Index: src/d8.cc |
diff --git a/src/d8.cc b/src/d8.cc |
index 0bedffc1659bcd02113c78b42c5e5f2311c1492c..66e3b518a50933adc4d8dad2aea99ac6a130727a 100644 |
--- a/src/d8.cc |
+++ b/src/d8.cc |
@@ -2864,7 +2864,7 @@ |
base::SysInfo::AmountOfVirtualMemory()); |
Shell::counter_map_ = new CounterMap(); |
- if (i::FLAG_dump_counters || i::FLAG_gc_stats) { |
+ if (i::FLAG_dump_counters || i::FLAG_track_gc_object_stats) { |
create_params.counter_lookup_callback = LookupCounter; |
create_params.create_histogram_callback = CreateHistogram; |
create_params.add_histogram_sample_callback = AddHistogramSample; |