projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Convert some assert(0) to llvm_unreachable or fold an 'if' condition into the assert.
[oota-llvm.git]
/
lib
/
Target
/
Sparc
/
InstPrinter
/
SparcInstPrinter.cpp
diff --git
a/lib/Target/Sparc/InstPrinter/SparcInstPrinter.cpp
b/lib/Target/Sparc/InstPrinter/SparcInstPrinter.cpp
index 261fb3838d37dba16b03b877ccaf794da1f36e56..5975a517994a2901da0a2cfdd8325d8402983e9b 100644
(file)
--- a/
lib/Target/Sparc/InstPrinter/SparcInstPrinter.cpp
+++ b/
lib/Target/Sparc/InstPrinter/SparcInstPrinter.cpp
@@
-173,6
+173,6
@@
void SparcInstPrinter::printCCOperand(const MCInst *MI, int opNum,
bool SparcInstPrinter::printGetPCX(const MCInst *MI, unsigned opNum,
raw_ostream &O)
{
-
assert(0 &&
"FIXME: Implement SparcInstPrinter::printGetPCX.");
+
llvm_unreachable(
"FIXME: Implement SparcInstPrinter::printGetPCX.");
return true;
}