Initialize CalleeInfo to fix bot after r263275
authorTeresa Johnson <tejohnson@google.com>
Fri, 11 Mar 2016 21:34:45 +0000 (21:34 +0000)
committerTeresa Johnson <tejohnson@google.com>
Fri, 11 Mar 2016 21:34:45 +0000 (21:34 +0000)
Hopefully will fix garbage output in
http://lab.llvm.org:8011/builders/clang-x86-win2008-selfhost/builds/6901

llvm-svn: 263297

llvm/include/llvm/IR/FunctionInfo.h

index ef425a6..4cc01cc 100644 (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) {