From 917f9ab1eaaafdab25b4fd24ca1f49a76182a794 Mon Sep 17 00:00:00 2001 From: David Brazdil Date: Tue, 21 Apr 2015 15:13:31 +0100 Subject: ART: Run BooleanSimplifier after inlining Inlined methods are currently not simplified. Change-Id: I075130c9df55e2f55032a2c81b08d42cb2cc01f6 --- compiler/optimizing/boolean_simplifier.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'compiler/optimizing/boolean_simplifier.cc') 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); } } -- cgit v1.2.3-59-g8ed1b