summaryrefslogtreecommitdiff
path: root/compiler/optimizing/boolean_simplifier.cc
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2015-11-23 08:59:07 +0000
committer Nicolas Geoffray <ngeoffray@google.com> 2015-11-23 08:59:07 +0000
commite34648dec914453f7e8b6c517dd272823319cd6d (patch)
treeb192c4698c4889ae90db6abe2652199802213fe6 /compiler/optimizing/boolean_simplifier.cc
parent06241b1b07fb031b7d2cf55f4b78d3444d07cc2d (diff)
Revert "Add stats support for existing optimizations"
Breaks the build. Please ensure your changes build. This reverts commit 06241b1b07fb031b7d2cf55f4b78d3444d07cc2d. Change-Id: I68b18f99a9882719bf6654d3313531a7965b8483
Diffstat (limited to 'compiler/optimizing/boolean_simplifier.cc')
-rw-r--r--compiler/optimizing/boolean_simplifier.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/compiler/optimizing/boolean_simplifier.cc b/compiler/optimizing/boolean_simplifier.cc
index c3e88f39c3..f985745e7a 100644
--- a/compiler/optimizing/boolean_simplifier.cc
+++ b/compiler/optimizing/boolean_simplifier.cc
@@ -36,8 +36,6 @@ void HBooleanSimplifier::TryRemovingNegatedCondition(HBasicBlock* block) {
if (!boolean_not->HasUses()) {
boolean_not->GetBlock()->RemoveInstruction(boolean_not);
}
-
- MaybeRecordStat(MethodCompilationStat::kBooleanSimplifier);
}
// Returns true if 'block1' and 'block2' are empty, merge into the same single
@@ -148,8 +146,6 @@ void HBooleanSimplifier::TryRemovingBooleanSelection(HBasicBlock* block) {
block->MergeWith(false_block);
block->MergeWith(merge_block);
- MaybeRecordStat(MethodCompilationStat::kBooleanSimplifier);
-
// No need to update any 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