diff options
author | David Brazdil <dbrazdil@google.com> | 2015-04-21 15:13:31 +0100 |
---|---|---|
committer | David Brazdil <dbrazdil@google.com> | 2015-04-23 17:46:36 +0100 |
commit | 917f9ab1eaaafdab25b4fd24ca1f49a76182a794 (patch) | |
tree | 63f9ba9a84c1a94251346e4602626da9433daebb /compiler/optimizing/boolean_simplifier.cc | |
parent | 4ceed922d44b68c3fa7cbe670014c9e2e003b92b (diff) | |
download | art-917f9ab1eaaafdab25b4fd24ca1f49a76182a794.tar.gz art-917f9ab1eaaafdab25b4fd24ca1f49a76182a794.tar.bz2 art-917f9ab1eaaafdab25b4fd24ca1f49a76182a794.zip |
ART: Run BooleanSimplifier after inlining
Inlined methods are currently not simplified.
Change-Id: I075130c9df55e2f55032a2c81b08d42cb2cc01f6
Diffstat (limited to 'compiler/optimizing/boolean_simplifier.cc')
-rw-r--r-- | compiler/optimizing/boolean_simplifier.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/optimizing/boolean_simplifier.cc b/compiler/optimizing/boolean_simplifier.cc index 06328f2490..6ebfb45074 100644 --- a/compiler/optimizing/boolean_simplifier.cc +++ b/compiler/optimizing/boolean_simplifier.cc @@ -72,8 +72,8 @@ static HInstruction* GetOppositeCondition(HInstruction* cond) { return graph->GetIntConstant(0); } } else { - // General case when 'cond' is another instruction of type boolean. - DCHECK_EQ(cond->GetType(), Primitive::Type::kPrimBoolean); + // General case when 'cond' is another instruction of type boolean, + // as verified by SSAChecker. return new (allocator) HBooleanNot(cond); } } |