diff options
author | Anand Shukla <ashukla@cs.uiuc.edu> | 2002-06-25 20:44:04 +0000 |
---|---|---|
committer | Anand Shukla <ashukla@cs.uiuc.edu> | 2002-06-25 20:44:04 +0000 |
commit | eea60fc59c0b231bbf9d5ab43c447f936f4012df (patch) | |
tree | 55f19d00a46f33a91757a625cde9d9ef592eec9b /lib/Bytecode/Reader/ConstantReader.cpp | |
parent | a928403ca41f8816f345550eb184175492b64e30 (diff) |
changes to make it compatible with 64bit gcc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2790 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bytecode/Reader/ConstantReader.cpp')
-rw-r--r-- | lib/Bytecode/Reader/ConstantReader.cpp | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/lib/Bytecode/Reader/ConstantReader.cpp b/lib/Bytecode/Reader/ConstantReader.cpp index ad27739bb2..7da3a1704b 100644 --- a/lib/Bytecode/Reader/ConstantReader.cpp +++ b/lib/Bytecode/Reader/ConstantReader.cpp @@ -14,8 +14,8 @@ #include "llvm/GlobalVariable.h" #include <algorithm> #include <iostream> + using std::make_pair; -using std::cerr; const Type *BytecodeParser::parseTypeConstant(const uchar *&Buf, const uchar *EndBuf) { @@ -91,8 +91,9 @@ const Type *BytecodeParser::parseTypeConstant(const uchar *&Buf, } default: - cerr << __FILE__ << ":" << __LINE__ << ": Don't know how to deserialize" - << " primitive Type " << PrimType << "\n"; + std::cerr << __FILE__ << ":" << __LINE__ + << ": Don't know how to deserialize" + << " primitive Type " << PrimType << "\n"; return failure(Val); } } @@ -325,9 +326,9 @@ bool BytecodeParser::parseConstantValue(const uchar *&Buf, const uchar *EndBuf, } default: - cerr << __FILE__ << ":" << __LINE__ - << ": Don't know how to deserialize constant value of type '" - << Ty->getName() << "'\n"; + std::cerr << __FILE__ << ":" << __LINE__ + << ": Don't know how to deserialize constant value of type '" + << Ty->getName() << "'\n"; return failure(true); } |