commit | c1896c9a0e15df3a1b9a3a19bcd2a933b654fe06 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Thu Nov 29 11:33:18 2018 -0800 |
committer | Elliott Hughes <enh@google.com> | Thu Nov 29 11:33:18 2018 -0800 |
tree | b68a5f5163f8da0da87d671a225addaa2a13095f | |
parent | f2970cd870948a6ee1c8ecd30c9c3147d05aa0be [diff] [blame] |
C++17 compatibility: make WITH_TIDY=1 happy again. Bug: http://b/111067277 Test: builds Change-Id: I8b69ea3815e14bb6eb27f40c0dd01a85b340a355
diff --git a/compiler/optimizing/instruction_simplifier.cc b/compiler/optimizing/instruction_simplifier.cc index 2b6ae20..4c6d6ba 100644 --- a/compiler/optimizing/instruction_simplifier.cc +++ b/compiler/optimizing/instruction_simplifier.cc
@@ -749,8 +749,8 @@ return new (allocator) HBelowOrEqual(rhs, lhs); default: LOG(FATAL) << "Unknown ConditionType " << cond->GetKind(); + UNREACHABLE(); } - return nullptr; } static bool CmpHasBoolType(HInstruction* input, HInstruction* cmp) {