summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bytecode/Reader/ConstantReader.cpp
diff options
context:
space:
mode:
authorAnand Shukla <ashukla@cs.uiuc.edu>2002-06-25 20:44:04 +0000
committerAnand Shukla <ashukla@cs.uiuc.edu>2002-06-25 20:44:04 +0000
commiteaa2e7204e85b056751d26773ad636cffbfceacd (patch)
tree6acc4c1a0c98a28b5400b161f9b2ff857cd1fced /llvm/lib/Bytecode/Reader/ConstantReader.cpp
parentff4c42b7c3d88595b32ccfdba648afecc0ef445d (diff)
downloadbcm5719-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.cpp13
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);
}
OpenPOWER on IntegriCloud