summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-04-07 22:58:41 +0000
committerChris Lattner <sabre@nondot.org>2010-04-07 22:58:41 +0000
commit2104b8d36e10b07ee396dba0a6ce58e621ef88c9 (patch)
treeb2f56fa2c068df5023c81c5781bd3cebdfa371fd /llvm/lib/VMCore
parent4b73cfabac29092070ec658b51953a42b9eed8df (diff)
downloadbcm5719-llvm-2104b8d36e10b07ee396dba0a6ce58e621ef88c9.tar.gz
bcm5719-llvm-2104b8d36e10b07ee396dba0a6ce58e621ef88c9.zip
rename llvm::llvm_report_error -> llvm::report_fatal_error
llvm-svn: 100709
Diffstat (limited to 'llvm/lib/VMCore')
-rw-r--r--llvm/lib/VMCore/PassManager.cpp2
-rw-r--r--llvm/lib/VMCore/Verifier.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/VMCore/PassManager.cpp b/llvm/lib/VMCore/PassManager.cpp
index d496bf73fa9..003ff59ecba 100644
--- a/llvm/lib/VMCore/PassManager.cpp
+++ b/llvm/lib/VMCore/PassManager.cpp
@@ -1294,7 +1294,7 @@ bool FunctionPassManager::run(Function &F) {
if (F.isMaterializable()) {
std::string errstr;
if (F.Materialize(&errstr))
- llvm_report_error("Error reading bitcode file: " + errstr);
+ report_fatal_error("Error reading bitcode file: " + errstr);
}
return FPM->run(F);
}
diff --git a/llvm/lib/VMCore/Verifier.cpp b/llvm/lib/VMCore/Verifier.cpp
index c18168d8a5c..bfdd338e884 100644
--- a/llvm/lib/VMCore/Verifier.cpp
+++ b/llvm/lib/VMCore/Verifier.cpp
@@ -93,7 +93,7 @@ namespace { // Anonymous namespace for class
}
if (Broken)
- llvm_report_error("Broken module, no Basic Block terminator!");
+ report_fatal_error("Broken module, no Basic Block terminator!");
return false;
}
OpenPOWER on IntegriCloud