Initialize CalleeInfo to fix bot after r263275

Hopefully will fix garbage output in
http://lab.llvm.org:8011/builders/clang-x86-win2008-selfhost/builds/6901

llvm-svn: 263297
This commit is contained in:
Teresa Johnson 2016-03-11 21:34:45 +00:00
parent 6c18afa645
commit 99affb0978

View File

@ -34,7 +34,7 @@ struct CalleeInfo {
/// The cumulative profile count of calls to corresponding function
/// (if using PGO, otherwise 0).
uint64_t ProfileCount;
CalleeInfo() = default;
CalleeInfo() : CallsiteCount(0), ProfileCount(0) {}
CalleeInfo(unsigned CallsiteCount, uint64_t ProfileCount)
: CallsiteCount(CallsiteCount), ProfileCount(ProfileCount) {}
CalleeInfo &operator+=(uint64_t RHSProfileCount) {