projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Convert assert(0) to llvm_unreachable
[oota-llvm.git]
/
lib
/
Target
/
ARM
/
ARMConstantPoolValue.cpp
diff --git
a/lib/Target/ARM/ARMConstantPoolValue.cpp
b/lib/Target/ARM/ARMConstantPoolValue.cpp
index 78dc78f9f33e075b5860ddaaed850e2fe9dd5492..5a830ca20226535be291842ee3ba42353aa25c0a 100644
(file)
--- a/
lib/Target/ARM/ARMConstantPoolValue.cpp
+++ b/
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