Initialize booleans CallsUnwindInit and CallsEHReturn with false instead of 0.

llvm-svn: 241324
This commit is contained in:
Yaron Keren 2015-07-03 07:56:24 +00:00
parent 385bf00ea2
commit 5dbf346c52
1 changed files with 4 additions and 4 deletions

View File

@ -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();
}