From e55c556a247a9c0decb4e256d9e897dfc9cf841d Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Tue, 7 Feb 2012 02:50:20 +0000 Subject: Convert assert(0) to llvm_unreachable llvm-svn: 149961 --- llvm/lib/Target/ARM/ARMConstantPoolValue.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'llvm/lib/Target/ARM/ARMConstantPoolValue.cpp') diff --git a/llvm/lib/Target/ARM/ARMConstantPoolValue.cpp b/llvm/lib/Target/ARM/ARMConstantPoolValue.cpp index 78dc78f9f33..5a830ca2022 100644 --- a/llvm/lib/Target/ARM/ARMConstantPoolValue.cpp +++ b/llvm/lib/Target/ARM/ARMConstantPoolValue.cpp @@ -62,8 +62,7 @@ const char *ARMConstantPoolValue::getModifierText() const { int ARMConstantPoolValue::getExistingMachineCPValue(MachineConstantPool *CP, unsigned Alignment) { - assert(false && "Shouldn't be calling this directly!"); - return -1; + llvm_unreachable("Shouldn't be calling this directly!"); } void -- cgit v1.2.3