Index: src/counters.cc |
diff --git a/src/counters.cc b/src/counters.cc |
index 908cbfdd1342aea5b424f01bd76d62bb216f2d7f..197a2ee143173bc8f6039db4bc68fa668a936c26 100644 |
--- a/src/counters.cc |
+++ b/src/counters.cc |
@@ -300,6 +300,10 @@ void RuntimeCallStats::CorrectCurrentCounterId(Isolate* isolate, |
void RuntimeCallStats::Print(std::ostream& os) { |
RuntimeCallStatEntries entries; |
+#define PRINT_COUNTER(name) entries.Add(&this->name); |
+ FOR_EACH_MANUAL_COUNTER(PRINT_COUNTER) |
+#undef PRINT_COUNTER |
+ |
#define PRINT_COUNTER(name, nargs, ressize) entries.Add(&this->Runtime_##name); |
FOR_EACH_INTRINSIC(PRINT_COUNTER) |
#undef PRINT_COUNTER |
@@ -312,10 +316,6 @@ void RuntimeCallStats::Print(std::ostream& os) { |
FOR_EACH_HANDLER_COUNTER(PRINT_COUNTER) |
#undef PRINT_COUNTER |
- entries.Add(&this->ExternalCallback); |
- entries.Add(&this->GC); |
- entries.Add(&this->UnexpectedStubMiss); |
- |
entries.Print(os); |
} |