From f2bc850ee8ab4bdbf0909756397fc54dfc100a84 Mon Sep 17 00:00:00 2001 From: Teresa Johnson Date: Fri, 11 Mar 2016 21:34:45 +0000 Subject: [PATCH] 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 --- llvm/include/llvm/IR/FunctionInfo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/include/llvm/IR/FunctionInfo.h b/llvm/include/llvm/IR/FunctionInfo.h index ef425a6..4cc01cc 100644 --- a/llvm/include/llvm/IR/FunctionInfo.h +++ b/llvm/include/llvm/IR/FunctionInfo.h @@ -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) { -- 2.7.4