summaryrefslogtreecommitdiff
path: root/compiler/optimizing/boolean_simplifier.cc
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2015-11-23 08:59:29 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2015-11-23 08:59:29 +0000
commit5d78a0f808b4bf65e7f42880b39f2d0f3942cee6 (patch)
tree7774838293edd5e5eda890d36940000bc965ee8c /compiler/optimizing/boolean_simplifier.cc
parent01b88a2c8903954ca72067bab93471b2c6aca135 (diff)
parente34648dec914453f7e8b6c517dd272823319cd6d (diff)
Merge "Revert "Add stats support for existing optimizations""
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