diff options
author | Craig Topper <craig.topper@gmail.com> | 2012-02-07 02:50:20 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2012-02-07 02:50:20 +0000 |
commit | e55c556a247a9c0decb4e256d9e897dfc9cf841d (patch) | |
tree | 9648cb86dd2f5fb9625baa9989eca6d9b53f8bfa /llvm/lib/Target/ARM/ARMConstantPoolValue.cpp | |
parent | 0298834e46efc1db1a3f6aa156d028b6cbf63d5b (diff) | |
download | bcm5719-llvm-e55c556a247a9c0decb4e256d9e897dfc9cf841d.tar.gz bcm5719-llvm-e55c556a247a9c0decb4e256d9e897dfc9cf841d.zip |
Convert assert(0) to llvm_unreachable
llvm-svn: 149961
Diffstat (limited to 'llvm/lib/Target/ARM/ARMConstantPoolValue.cpp')
-rw-r--r-- | llvm/lib/Target/ARM/ARMConstantPoolValue.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
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 |