mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-23 11:49:50 +00:00
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
This commit is contained in:
parent
e3c6222c76
commit
a450348ecc
@ -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
Block a user