diff options
| author | Jean-Philippe Halimi <jean-philippe.halimi@intel.com> | 2015-09-03 17:28:38 +0200 |
|---|---|---|
| committer | Jean-Philippe Halimi <jean-philippe.halimi@intel.com> | 2015-11-22 16:33:40 +0100 |
| commit | 06241b1b07fb031b7d2cf55f4b78d3444d07cc2d (patch) | |
| tree | 6ea5ce36c3b1ff575f1f1c380b9cd2c5c73c2e21 /compiler/optimizing/licm.cc | |
| parent | d83b9042d67f2a7d5ca5a1f63819c97940033336 (diff) | |
| download | art-06241b1b07fb031b7d2cf55f4b78d3444d07cc2d.tar.gz art-06241b1b07fb031b7d2cf55f4b78d3444d07cc2d.tar.bz2 art-06241b1b07fb031b7d2cf55f4b78d3444d07cc2d.zip | |
Add stats support for existing optimizations
This patch adds support for the --dump-stats facility with existing
optimizations.
Change-Id: I68751b119a030952a11057cb651a3c63e87e73ea
Signed-off-by: Jean-Philippe Halimi <jean-philippe.halimi@intel.com>
Diffstat (limited to 'compiler/optimizing/licm.cc')
| -rw-r--r-- | compiler/optimizing/licm.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/optimizing/licm.cc b/compiler/optimizing/licm.cc index c38bbe3477..6d0a616a54 100644 --- a/compiler/optimizing/licm.cc +++ b/compiler/optimizing/licm.cc @@ -123,6 +123,7 @@ void LICM::Run() { UpdateLoopPhisIn(instruction->GetEnvironment(), loop_info); } instruction->MoveBefore(pre_header->GetLastInstruction()); + MaybeRecordStat(MethodCompilationStat::kLICM); } else if (instruction->CanThrow()) { // If `instruction` can throw, we cannot move further instructions // that can throw as well. |
