diff options
author | Anand Shukla <ashukla@cs.uiuc.edu> | 2002-07-16 00:04:15 +0000 |
---|---|---|
committer | Anand Shukla <ashukla@cs.uiuc.edu> | 2002-07-16 00:04:15 +0000 |
commit | 18be6fb71644d40b33f0dde4302a984004d72193 (patch) | |
tree | 064c0fc5090b4517edaa0353397cfbc573657b26 /lib/Bytecode/Reader/ConstantReader.cpp | |
parent | 6c5ed410b20a03c267405932dc829d5c88c1dfdd (diff) |
added std:: to vector
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2916 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bytecode/Reader/ConstantReader.cpp')
-rw-r--r-- | lib/Bytecode/Reader/ConstantReader.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Bytecode/Reader/ConstantReader.cpp b/lib/Bytecode/Reader/ConstantReader.cpp index 2fa392e5db..68d6a62249 100644 --- a/lib/Bytecode/Reader/ConstantReader.cpp +++ b/lib/Bytecode/Reader/ConstantReader.cpp @@ -187,7 +187,7 @@ bool BytecodeParser::parseConstantValue(const uchar *&Buf, const uchar *EndBuf, if (read_vbr(Buf, EndBuf, isExprNumArgs)) return failure(true); if (isExprNumArgs) { unsigned opCode; - vector<Constant*> argVec; + std::vector<Constant*> argVec; argVec.reserve(isExprNumArgs); if (read_vbr(Buf, EndBuf, opCode)) return failure(true); @@ -218,7 +218,7 @@ bool BytecodeParser::parseConstantValue(const uchar *&Buf, const uchar *EndBuf, if (isExprNumArgs == 1) { // All one-operand expressions V = ConstantExpr::get(opCode, argVec[0], Ty); } else if (opCode == Instruction::GetElementPtr) { // GetElementPtr - vector<Value*> IdxList(argVec.begin()+1, argVec.end()); + std::vector<Value*> IdxList(argVec.begin()+1, argVec.end()); V = ConstantExpr::get(opCode, argVec[0], IdxList, Ty); } else { // All other 2-operand expressions V = ConstantExpr::get(opCode, argVec[0], argVec[1], Ty); |