From 97715104c5f52c19d14b6be368f3cbb95073287f Mon Sep 17 00:00:00 2001 From: Yi Kong Date: Tue, 31 May 2022 16:13:23 +0800 Subject: [PATCH] [BOLT][NFC] Don't over-specify the size of SmallVector This is the recommended way, should make merging profiles ever so slightly faster. --- bolt/tools/merge-fdata/merge-fdata.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bolt/tools/merge-fdata/merge-fdata.cpp b/bolt/tools/merge-fdata/merge-fdata.cpp index d0764646b0ae..b28ac91e1d55 100644 --- a/bolt/tools/merge-fdata/merge-fdata.cpp +++ b/bolt/tools/merge-fdata/merge-fdata.cpp @@ -265,7 +265,7 @@ void mergeLegacyProfiles(const cl::list &Filenames) { "cannot mix profile collected in BOLT and non-BOLT deployments"); } - SmallVector Lines; + SmallVector Lines; SplitString(Buf, Lines, "\n"); for (StringRef Line : Lines) { size_t Pos = Line.rfind(" ");