summaryrefslogtreecommitdiff
path: root/compiler/optimizing/select_generator.cc
diff options
context:
space:
mode:
author Igor Murashkin <iam@google.com> 2017-08-09 13:20:34 -0700
committer Igor Murashkin <iam@google.com> 2017-08-11 10:23:07 -0700
commit1e065a54845da12541572f4f149e6ab0dcd20180 (patch)
tree061d28c8905c7bc8ac50c8c86f4073034afb5ba2 /compiler/optimizing/select_generator.cc
parentf573972a087b798f74bf5404e271355a2805e100 (diff)
optimizing: Refactor statistics to use OptimizingCompilerStats helper
Remove all copies of 'MaybeRecordStat', replacing them with a single OptimizingCompilerStats::MaybeRecordStat helper. Change-Id: I83b96b41439dccece3eee2e159b18c95336ea933
Diffstat (limited to 'compiler/optimizing/select_generator.cc')
-rw-r--r--compiler/optimizing/select_generator.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/optimizing/select_generator.cc b/compiler/optimizing/select_generator.cc
index 46d0d0eb65..cb7ade915f 100644
--- a/compiler/optimizing/select_generator.cc
+++ b/compiler/optimizing/select_generator.cc
@@ -140,7 +140,7 @@ void HSelectGenerator::Run() {
block->MergeWith(merge_block);
}
- MaybeRecordStat(MethodCompilationStat::kSelectGenerated);
+ MaybeRecordStat(stats_, MethodCompilationStat::kSelectGenerated);
// No need to update dominance information, as we are simplifying
// a simple diamond shape, where the join block is merged with the