[BOLT][NFC] Don't over-specify the size of SmallVector

This is the recommended way, should make merging profiles ever so
slightly faster.
This commit is contained in:
Yi Kong 2022-05-31 16:13:23 +08:00
parent d861088024
commit 97715104c5
1 changed files with 1 additions and 1 deletions

View File

@ -265,7 +265,7 @@ void mergeLegacyProfiles(const cl::list<std::string> &Filenames) {
"cannot mix profile collected in BOLT and non-BOLT deployments");
}
SmallVector<StringRef, 10> Lines;
SmallVector<StringRef> Lines;
SplitString(Buf, Lines, "\n");
for (StringRef Line : Lines) {
size_t Pos = Line.rfind(" ");