diff --git a/lib/Bytecode/Reader/Reader.cpp b/lib/Bytecode/Reader/Reader.cpp index 17d68248f43..e6b9d8f6556 100644 --- a/lib/Bytecode/Reader/Reader.cpp +++ b/lib/Bytecode/Reader/Reader.cpp @@ -1147,7 +1147,7 @@ Value *BytecodeReader::ParseConstantPoolValue(unsigned TypeID) { --isExprNumArgs; // FIXME: Encoding of constant exprs could be much more compact! - std::vector ArgVec; + SmallVector ArgVec; ArgVec.reserve(isExprNumArgs); unsigned Opcode = read_vbr_uint();