| Index: runtime/vm/compiler_stats.cc
|
| diff --git a/runtime/vm/compiler_stats.cc b/runtime/vm/compiler_stats.cc
|
| index 7e497c1e2fc31cf7a3a64e767280b348e66bb875..d5b20f4116c0fe054290ecab4e4526d832c6178d 100644
|
| --- a/runtime/vm/compiler_stats.cc
|
| +++ b/runtime/vm/compiler_stats.cc
|
| @@ -7,6 +7,7 @@
|
| #include "vm/flags.h"
|
| #include "vm/log.h"
|
| #include "vm/object_graph.h"
|
| +#include "vm/object_store.h"
|
| #include "vm/timer.h"
|
|
|
|
|
| @@ -193,6 +194,9 @@ char* CompilerStats::PrintToZone() {
|
| log.Print("Source length: %" Pd64 " characters\n", src_length);
|
| log.Print("Number of source tokens: %" Pd64 "\n", num_tokens_scanned);
|
|
|
| + int64_t num_local_functions = GrowableObjectArray::Handle(
|
| + isolate_->object_store()->closure_functions()).Length();
|
| +
|
| log.Print("==== Parser stats:\n");
|
| log.Print("Total tokens consumed: %" Pd64 "\n", num_tokens_consumed);
|
| log.Print("Classes parsed: %" Pd64 "\n", num_classes_parsed);
|
| @@ -201,6 +205,7 @@ char* CompilerStats::PrintToZone() {
|
| log.Print(" Tokens consumed: %" Pd64 "\n", num_func_tokens_compiled);
|
| log.Print("Impl getter funcs: %" Pd64 "\n", num_implicit_final_getters);
|
| log.Print("Impl method extractors: %" Pd64 "\n", num_method_extractors);
|
| + log.Print("Local functions: %" Pd64 "\n", num_local_functions);
|
| log.Print("Consts cached: %" Pd64 "\n", num_cached_consts);
|
| log.Print("Consts cache hits: %" Pd64 "\n", num_const_cache_hits);
|
|
|
|
|