diff options
| author | Chris Lattner <sabre@nondot.org> | 2002-12-24 00:39:16 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2002-12-24 00:39:16 +0000 |
| commit | 5aa56633532a884787a18bf66ac3118ea3bcef10 (patch) | |
| tree | ac9bff0e7d567c22b5afc51c67abf701e2b699b5 /llvm/lib | |
| parent | 544f4497d1b6bc1bd47c725ba5bdb867ad3b6ce7 (diff) | |
| download | bcm5719-llvm-5aa56633532a884787a18bf66ac3118ea3bcef10.tar.gz bcm5719-llvm-5aa56633532a884787a18bf66ac3118ea3bcef10.zip | |
Fixes to compile with GCC 3.2
llvm-svn: 5134
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/ExecutionEngine/ExecutionEngine.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/lib/ExecutionEngine/ExecutionEngine.cpp b/llvm/lib/ExecutionEngine/ExecutionEngine.cpp index 996afe475d4..456f68244af 100644 --- a/llvm/lib/ExecutionEngine/ExecutionEngine.cpp +++ b/llvm/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<ConstantArray>(Init); - const vector<Use> &Val = CPA->getValues(); + const std::vector<Use> &Val = CPA->getValues(); unsigned ElementSize = getTargetData().getTypeSize(cast<ArrayType>(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<ConstantStruct>(Init); const StructLayout *SL = getTargetData().getStructLayout(cast<StructType>(CPS->getType())); - const vector<Use> &Val = CPS->getValues(); + const std::vector<Use> &Val = CPS->getValues(); for (unsigned i = 0; i < Val.size(); ++i) InitializeMemory(cast<Constant>(Val[i].get()), (char*)Addr+SL->MemberOffsets[i]); |

