summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/JIT/JITMemoryManager.cpp
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/ExecutionEngine/JIT/JITMemoryManager.cpp
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/ExecutionEngine/JIT/JITMemoryManager.cpp')
-rw-r--r--llvm/lib/ExecutionEngine/JIT/JITMemoryManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/ExecutionEngine/JIT/JITMemoryManager.cpp b/llvm/lib/ExecutionEngine/JIT/JITMemoryManager.cpp
index a17caa17f4d..624fbb4fab9 100644
--- a/llvm/lib/ExecutionEngine/JIT/JITMemoryManager.cpp
+++ b/llvm/lib/ExecutionEngine/JIT/JITMemoryManager.cpp
@@ -614,7 +614,7 @@ sys::MemoryBlock DefaultJITMemoryManager::allocateNewSlab(size_t size) {
sys::MemoryBlock *LastSlabPtr = LastSlab.base() ? &LastSlab : 0;
sys::MemoryBlock B = sys::Memory::AllocateRWX(size, LastSlabPtr, &ErrMsg);
if (B.base() == 0) {
- llvm_report_error("Allocation failed when allocating new memory in the"
+ report_fatal_error("Allocation failed when allocating new memory in the"
" JIT\n" + ErrMsg);
}
LastSlab = B;
OpenPOWER on IntegriCloud