From d6840ac046715061d42e4dd5375cd9ed6dd3dca4 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 24 Dec 2002 00:39:16 +0000 Subject: Fixes to compile with GCC 3.2 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5134 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/ExecutionEngine/ExecutionEngine.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'lib/ExecutionEngine/ExecutionEngine.cpp') diff --git a/lib/ExecutionEngine/ExecutionEngine.cpp b/lib/ExecutionEngine/ExecutionEngine.cpp index 996afe475d..456f68244a 100644 --- a/lib/ExecutionEngine/ExecutionEngine.cpp +++ b/lib/ExecutionEngine/ExecutionEngine.cpp @@ -56,7 +56,7 @@ GenericValue ExecutionEngine::getConstantValue(const Constant *C) { } break; default: - cout << "ERROR: Constant unimp for type: " << C->getType() << "\n"; + std::cout << "ERROR: Constant unimp for type: " << C->getType() << "\n"; } return Result; } @@ -92,7 +92,7 @@ void ExecutionEngine::StoreValueToMemory(GenericValue Val, GenericValue *Ptr, Ptr->Untyped[7] = (Val.ULongVal >> 56) & 255; break; default: - cout << "Cannot store value of type " << Ty << "!\n"; + std::cout << "Cannot store value of type " << Ty << "!\n"; } } else { switch (Ty->getPrimitiveID()) { @@ -123,7 +123,7 @@ void ExecutionEngine::StoreValueToMemory(GenericValue Val, GenericValue *Ptr, Ptr->Untyped[0] = (Val.ULongVal >> 56) & 255; break; default: - cout << "Cannot store value of type " << Ty << "!\n"; + std::cout << "Cannot store value of type " << Ty << "!\n"; } } } @@ -141,7 +141,7 @@ void ExecutionEngine::InitializeMemory(const Constant *Init, void *Addr) { switch (Init->getType()->getPrimitiveID()) { case Type::ArrayTyID: { const ConstantArray *CPA = cast(Init); - const vector &Val = CPA->getValues(); + const std::vector &Val = CPA->getValues(); unsigned ElementSize = getTargetData().getTypeSize(cast(CPA->getType())->getElementType()); for (unsigned i = 0; i < Val.size(); ++i) @@ -153,7 +153,7 @@ void ExecutionEngine::InitializeMemory(const Constant *Init, void *Addr) { const ConstantStruct *CPS = cast(Init); const StructLayout *SL = getTargetData().getStructLayout(cast(CPS->getType())); - const vector &Val = CPS->getValues(); + const std::vector &Val = CPS->getValues(); for (unsigned i = 0; i < Val.size(); ++i) InitializeMemory(cast(Val[i].get()), (char*)Addr+SL->MemberOffsets[i]); -- cgit v1.2.3-18-g5258