Chromium Code Reviews| Index: src/isolate.cc |
| diff --git a/src/isolate.cc b/src/isolate.cc |
| index 45a6c576cd216bdd200ff178b633b04553db243c..37237bfe093e6e56af0098086e09a578fc62bfc4 100644 |
| --- a/src/isolate.cc |
| +++ b/src/isolate.cc |
| @@ -2396,6 +2396,11 @@ void Isolate::DumpAndResetCompilationStats() { |
| turbo_statistics_ = nullptr; |
| delete hstatistics_; |
| hstatistics_ = nullptr; |
| + if (FLAG_runtime_call_stats) { |
| + OFStream os(stdout); |
| + runtime_state()->runtime_call_stats()->Print(os); |
| + runtime_state()->runtime_call_stats()->Reset(); |
| + } |
| } |