forked from OSchip/llvm-project
[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:
parent
d861088024
commit
97715104c5
|
@ -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(" ");
|
||||
|
|
Loading…
Reference in New Issue