From: Yaron Keren Date: Fri, 3 Jul 2015 07:56:24 +0000 (+0000) Subject: Initialize booleans CallsUnwindInit and CallsEHReturn with false instead of 0. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a450348ecc629eedbdb13bbb8930d346ba0aa944;p=oota-llvm.git Initialize booleans CallsUnwindInit and CallsEHReturn with false instead of 0. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241324 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/MachineModuleInfo.cpp b/lib/CodeGen/MachineModuleInfo.cpp index 778deee50c1..42d0603ab96 100644 --- a/lib/CodeGen/MachineModuleInfo.cpp +++ b/lib/CodeGen/MachineModuleInfo.cpp @@ -207,8 +207,8 @@ bool MachineModuleInfo::doInitialization(Module &M) { ObjFileMMI = nullptr; CurCallSite = 0; - CallsEHReturn = 0; - CallsUnwindInit = 0; + CallsEHReturn = false; + CallsUnwindInit = false; DbgInfoAvailable = UsesVAFloatArgument = UsesMorestackAddr = false; // Always emit some info, by default "no personality" info. Personalities.push_back(nullptr); @@ -247,8 +247,8 @@ void MachineModuleInfo::EndFunction() { TypeInfos.clear(); FilterIds.clear(); FilterEnds.clear(); - CallsEHReturn = 0; - CallsUnwindInit = 0; + CallsEHReturn = false; + CallsUnwindInit = false; VariableDbgInfos.clear(); }