diff options
| author | 2015-06-24 14:11:45 +0000 | |
|---|---|---|
| committer | 2015-06-24 14:11:46 +0000 | |
| commit | 22c4edd865bfdea29e80a789cef70e8e51d2a3a5 (patch) | |
| tree | 310873c7bf2eee705d46bcdcb0022015969c4ae3 /compiler/optimizing/optimization.cc | |
| parent | 2b1bc487d3fa84e4bac16e85112e5e45682ac0ba (diff) | |
| parent | 69ba7b7112c2277ac225615b37e6df74c055740d (diff) | |
Merge "ART: Run GraphChecker after Builder and SsaBuilder"
Diffstat (limited to 'compiler/optimizing/optimization.cc')
| -rw-r--r-- | compiler/optimizing/optimization.cc | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/compiler/optimizing/optimization.cc b/compiler/optimizing/optimization.cc index c46a21955c..3d769491a5 100644 --- a/compiler/optimizing/optimization.cc +++ b/compiler/optimizing/optimization.cc @@ -16,9 +16,6 @@ #include "optimization.h" -#include "base/dumpable.h" -#include "graph_checker.h" - namespace art { void HOptimization::MaybeRecordStat(MethodCompilationStat compilation_stat, size_t count) const { @@ -27,24 +24,4 @@ void HOptimization::MaybeRecordStat(MethodCompilationStat compilation_stat, size } } -void HOptimization::Check() { - if (kIsDebugBuild) { - if (is_in_ssa_form_) { - SSAChecker checker(graph_->GetArena(), graph_); - checker.Run(); - if (!checker.IsValid()) { - LOG(FATAL) << "Error after " << GetPassName() << ": " - << Dumpable<SSAChecker>(checker); - } - } else { - GraphChecker checker(graph_->GetArena(), graph_); - checker.Run(); - if (!checker.IsValid()) { - LOG(FATAL) << "Error after " << GetPassName() << ": " - << Dumpable<GraphChecker>(checker); - } - } - } -} - } // namespace art |