diff options
author | Chris Lattner <sabre@nondot.org> | 2003-03-06 16:32:25 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-03-06 16:32:25 +0000 |
commit | 17f868690059a2ecf317517059e2b3fd3bfe1268 (patch) | |
tree | dfd59622c208a7d5db50d7d358cc5ee53f974d86 /llvm/lib/Bytecode/Reader/ConstantReader.cpp | |
parent | 805fc16a27904122ec45c8e265961e5be7ce40d8 (diff) | |
download | bcm5719-llvm-17f868690059a2ecf317517059e2b3fd3bfe1268.tar.gz bcm5719-llvm-17f868690059a2ecf317517059e2b3fd3bfe1268.zip |
Use the std namespace explicitly
llvm-svn: 5708
Diffstat (limited to 'llvm/lib/Bytecode/Reader/ConstantReader.cpp')
-rw-r--r-- | llvm/lib/Bytecode/Reader/ConstantReader.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/llvm/lib/Bytecode/Reader/ConstantReader.cpp b/llvm/lib/Bytecode/Reader/ConstantReader.cpp index e71441edd8a..f337ed17ffa 100644 --- a/llvm/lib/Bytecode/Reader/ConstantReader.cpp +++ b/llvm/lib/Bytecode/Reader/ConstantReader.cpp @@ -13,8 +13,6 @@ #include "llvm/Constants.h" #include <algorithm> -using std::make_pair; - const Type *BytecodeParser::parseTypeConstant(const uchar *&Buf, const uchar *EndBuf) { unsigned PrimType; @@ -336,7 +334,7 @@ bool BytecodeParser::parseConstantValue(const uchar *&Buf, const uchar *EndBuf, if (!(GV = dyn_cast<GlobalValue>(Val))) return true; BCR_TRACE(5, "Value Found in ValueTable!\n"); } else { // Nope... find or create a forward ref. for it - GlobalRefsType::iterator I = GlobalRefs.find(make_pair(PT, Slot)); + GlobalRefsType::iterator I = GlobalRefs.find(std::make_pair(PT, Slot)); if (I != GlobalRefs.end()) { BCR_TRACE(5, "Previous forward ref found!\n"); @@ -349,7 +347,7 @@ bool BytecodeParser::parseConstantValue(const uchar *&Buf, const uchar *EndBuf, new GlobalVariable(PT->getElementType(), false, true); // Keep track of the fact that we have a forward ref to recycle it - GlobalRefs.insert(make_pair(make_pair(PT, Slot), GVar)); + GlobalRefs.insert(std::make_pair(std::make_pair(PT, Slot), GVar)); // Must temporarily push this value into the module table... TheModule->getGlobalList().push_back(GVar); |