forked from OSchip/llvm-project
Initialize booleans CallsUnwindInit and CallsEHReturn with false instead of 0.
llvm-svn: 241324
This commit is contained in:
parent
385bf00ea2
commit
5dbf346c52
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue