diff options
author | 2016-02-18 16:42:03 +0100 | |
---|---|---|
committer | 2016-02-18 16:15:27 +0000 | |
commit | 38e9e8046ea2196284bdb4638771c31108a30a4a (patch) | |
tree | a2fecce9af616bebd73ce17d9f5954f84f291817 /compiler/optimizing/select_generator.cc | |
parent | eda4dfae59eec2db945cf032aee3a9aeaa2eb494 (diff) |
Add statistics support for some optimizations
This patch adds support for the --dump-stats facility with some
optimizations
and fixes all build issues introduced by the patch:
I68751b119a030952a11057cb651a3c63e87e73ea (which got reverted)
Change-Id: I5af1f2a8cced0a1a55c2bb4d8c88e6f0a24ec879
Signed-off-by: Jean-Philippe Halimi <jean-philippe.halimi@intel.com>
Diffstat (limited to 'compiler/optimizing/select_generator.cc')
-rw-r--r-- | compiler/optimizing/select_generator.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/optimizing/select_generator.cc b/compiler/optimizing/select_generator.cc index 105b30ae5d..e52476ea03 100644 --- a/compiler/optimizing/select_generator.cc +++ b/compiler/optimizing/select_generator.cc @@ -141,6 +141,8 @@ void HSelectGenerator::Run() { block->MergeWith(merge_block); } + MaybeRecordStat(MethodCompilationStat::kSelectGenerated); + // No need to update dominance information, as we are simplifying // a simple diamond shape, where the join block is merged with the // entry block. Any following blocks would have had the join block |