summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/IPA/Andersens.cpp
diff options
context:
space:
mode:
authorTorok Edwin <edwintorok@gmail.com>2009-07-11 13:10:19 +0000
committerTorok Edwin <edwintorok@gmail.com>2009-07-11 13:10:19 +0000
commitccb29cd29025570f4a09f964d2b409de29a8149c (patch)
treedd5f16aa075b72c23730f876aed0c4b7f53da426 /llvm/lib/Analysis/IPA/Andersens.cpp
parent20adc670b20e5f2b4cc5413e9f20287440ad41c2 (diff)
downloadbcm5719-llvm-ccb29cd29025570f4a09f964d2b409de29a8149c.tar.gz
bcm5719-llvm-ccb29cd29025570f4a09f964d2b409de29a8149c.zip
Convert more assert(0)+abort() -> LLVM_UNREACHABLE,
and abort()/exit() -> llvm_report_error(). llvm-svn: 75363
Diffstat (limited to 'llvm/lib/Analysis/IPA/Andersens.cpp')
-rw-r--r--llvm/lib/Analysis/IPA/Andersens.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/IPA/Andersens.cpp b/llvm/lib/Analysis/IPA/Andersens.cpp
index 3fb65265472..f453a6f8ef2 100644
--- a/llvm/lib/Analysis/IPA/Andersens.cpp
+++ b/llvm/lib/Analysis/IPA/Andersens.cpp
@@ -60,6 +60,7 @@
#include "llvm/Module.h"
#include "llvm/Pass.h"
#include "llvm/Support/Compiler.h"
+#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/InstIterator.h"
#include "llvm/Support/InstVisitor.h"
#include "llvm/Analysis/AliasAnalysis.h"
@@ -1153,7 +1154,7 @@ void Andersens::visitInstruction(Instruction &I) {
default:
// Is this something we aren't handling yet?
cerr << "Unknown instruction: " << I;
- abort();
+ llvm_unreachable();
}
}
OpenPOWER on IntegriCloud