llvm.org GIT mirror llvm / 051ce12
[PGO] use emplace_back. NFC. Use emplace_back instead of push_back for simplicity. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@265030 91177308-0d34-0410-b5e6-96231b3b80d8 Rong Xu 4 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
179179 continue;
180180 const std::string &PGOFuncName = getPGOFuncName(F, InLTO);
181181 addFuncName(PGOFuncName);
182 MD5FuncMap.push_back(std::make_pair(Function::getGUID(PGOFuncName), &F));
182 MD5FuncMap.emplace_back(Function::getGUID(PGOFuncName), &F);
183183 }
184184
185185 finalizeSymtab();