aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ExecutionEngine/ExecutionEngine.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-08-23 04:52:46 +0000
committerChris Lattner <sabre@nondot.org>2009-08-23 04:52:46 +0000
commit3924bb5792446eeb49b21d73b3839ed875aff8b5 (patch)
treef20fdaabd171ee65c914136d2d2eafedaf7fa84d /llvm/lib/ExecutionEngine/ExecutionEngine.cpp
parentbe354a66d362d6b63b61ebbd15efbe49d68141ba (diff)
downloadllvm-3924bb5792446eeb49b21d73b3839ed875aff8b5.zip
llvm-3924bb5792446eeb49b21d73b3839ed875aff8b5.tar.gz
llvm-3924bb5792446eeb49b21d73b3839ed875aff8b5.tar.bz2
remove the std::ostream version of module and type printing.
llvm-svn: 79823
Diffstat (limited to 'llvm/lib/ExecutionEngine/ExecutionEngine.cpp')
-rw-r--r--llvm/lib/ExecutionEngine/ExecutionEngine.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/ExecutionEngine/ExecutionEngine.cpp b/llvm/lib/ExecutionEngine/ExecutionEngine.cpp
index a20122d..644740f 100644
--- a/llvm/lib/ExecutionEngine/ExecutionEngine.cpp
+++ b/llvm/lib/ExecutionEngine/ExecutionEngine.cpp
@@ -814,7 +814,7 @@ void ExecutionEngine::StoreValueToMemory(const GenericValue &Val,
*((PointerTy*)Ptr) = Val.PointerVal;
break;
default:
- cerr << "Cannot store value of type " << *Ty << "!\n";
+ errs() << "Cannot store value of type " << *Ty << "!\n";
}
if (sys::isLittleEndianHost() != getTargetData()->isLittleEndian())
@@ -930,7 +930,7 @@ void ExecutionEngine::InitializeMemory(const Constant *Init, void *Addr) {
return;
}
- cerr << "Bad Type: " << *Init->getType() << "\n";
+ errs() << "Bad Type: " << *Init->getType() << "\n";
llvm_unreachable("Unknown constant type to initialize memory with!");
}