diff options
author | Nicolas Geoffray <ngeoffray@google.com> | 2015-07-17 08:54:20 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2015-07-17 08:54:22 +0000 |
commit | a2407de14ad40f4b5462cd6294bc4a7a07d47d38 (patch) | |
tree | 7cf11a595b1486a731466e02462dbf4dc9b2dc9a /compiler | |
parent | 3b7660dea62f2940c8ade2cbc26792d341284dfe (diff) | |
parent | 22552df9c27516b60836f49f1a17737e70889110 (diff) | |
download | art-a2407de14ad40f4b5462cd6294bc4a7a07d47d38.zip art-a2407de14ad40f4b5462cd6294bc4a7a07d47d38.tar.gz art-a2407de14ad40f4b5462cd6294bc4a7a07d47d38.tar.bz2 |
Merge "ART: Boolean simplifier fix" into mnc-dev
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/optimizing/boolean_simplifier.cc | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/compiler/optimizing/boolean_simplifier.cc b/compiler/optimizing/boolean_simplifier.cc index daf7d67..bbbdd3a 100644 --- a/compiler/optimizing/boolean_simplifier.cc +++ b/compiler/optimizing/boolean_simplifier.cc @@ -146,11 +146,6 @@ void HBooleanSimplifier::TryRemovingBooleanSelection(HBasicBlock* block) { // entry block. Any following blocks would have had the join block // as a dominator, and `MergeWith` handles changing that to the // entry block. - - // Remove the original condition if it is now unused. - if (!if_condition->HasUses()) { - if_condition->GetBlock()->RemoveInstructionOrPhi(if_condition); - } } void HBooleanSimplifier::Run() { |