llvm.org GIT mirror llvm / 412cddb
Use an emplace_back for consistency, NFC git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@269199 91177308-0d34-0410-b5e6-96231b3b80d8 Vedant Kumar 4 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
427427 std::vector &ValueSites =
428428 getValueSitesForKind(ValueKind);
429429 if (N == 0)
430 ValueSites.push_back(InstrProfValueSiteRecord());
430 ValueSites.emplace_back();
431431 else
432432 ValueSites.emplace_back(VData, VData + N);
433433 }