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 | eaa2e7204e85b056751d26773ad636cffbfceacd (patch) | |
| tree | 6acc4c1a0c98a28b5400b161f9b2ff857cd1fced /llvm/lib/Bytecode/Reader/ConstantReader.cpp | |
| parent | ff4c42b7c3d88595b32ccfdba648afecc0ef445d (diff) | |
| download | bcm5719-llvm-eaa2e7204e85b056751d26773ad636cffbfceacd.tar.gz bcm5719-llvm-eaa2e7204e85b056751d26773ad636cffbfceacd.zip | |
changes to make it compatible with 64bit gcc
llvm-svn: 2790
Diffstat (limited to 'llvm/lib/Bytecode/Reader/ConstantReader.cpp')
| -rw-r--r-- | llvm/lib/Bytecode/Reader/ConstantReader.cpp | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/llvm/lib/Bytecode/Reader/ConstantReader.cpp b/llvm/lib/Bytecode/Reader/ConstantReader.cpp index ad27739bb2b..7da3a1704b5 100644 --- a/llvm/lib/Bytecode/Reader/ConstantReader.cpp +++ b/llvm/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); } |

