diff options
| author | Chris Lattner <sabre@nondot.org> | 2010-04-07 22:58:41 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2010-04-07 22:58:41 +0000 |
| commit | 8316f2d3810dd37bae0f847bc3efd495432b5893 (patch) | |
| tree | 5308b9ca3c47b10d83068cbbd7c13bcf8cca7f73 /lib/Target/CBackend/CBackend.cpp | |
| parent | cf82182f246ede86fbff71c82b475c08360b5fce (diff) | |
| download | external_llvm-8316f2d3810dd37bae0f847bc3efd495432b5893.zip external_llvm-8316f2d3810dd37bae0f847bc3efd495432b5893.tar.gz external_llvm-8316f2d3810dd37bae0f847bc3efd495432b5893.tar.bz2 | |
rename llvm::llvm_report_error -> llvm::report_fatal_error
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100709 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/CBackend/CBackend.cpp')
| -rw-r--r-- | lib/Target/CBackend/CBackend.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/CBackend/CBackend.cpp b/lib/Target/CBackend/CBackend.cpp index 0c265ad..45e14bf 100644 --- a/lib/Target/CBackend/CBackend.cpp +++ b/lib/Target/CBackend/CBackend.cpp @@ -1344,7 +1344,7 @@ void CWriter::writeInstComputationInline(Instruction &I) { Ty!=Type::getInt16Ty(I.getContext()) && Ty!=Type::getInt32Ty(I.getContext()) && Ty!=Type::getInt64Ty(I.getContext()))) { - llvm_report_error("The C backend does not currently support integer " + report_fatal_error("The C backend does not currently support integer " "types of widths other than 1, 8, 16, 32, 64.\n" "This is being tracked as PR 4158."); } @@ -2993,7 +2993,7 @@ bool CWriter::visitBuiltinCall(CallInst &I, Intrinsic::ID ID, Msg << "The C backend does not currently support zero " << "argument varargs functions, such as '" << I.getParent()->getParent()->getName() << "'!"; - llvm_report_error(Msg.str()); + report_fatal_error(Msg.str()); } writeOperand(--I.getParent()->getParent()->arg_end()); Out << ')'; |
