mirror of
				https://github.com/c64scene-ar/llvm-6502.git
				synced 2025-10-31 08:16:47 +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:
		| @@ -207,8 +207,8 @@ bool MachineModuleInfo::doInitialization(Module &M) { | |||||||
|  |  | ||||||
|   ObjFileMMI = nullptr; |   ObjFileMMI = nullptr; | ||||||
|   CurCallSite = 0; |   CurCallSite = 0; | ||||||
|   CallsEHReturn = 0; |   CallsEHReturn = false; | ||||||
|   CallsUnwindInit = 0; |   CallsUnwindInit = false; | ||||||
|   DbgInfoAvailable = UsesVAFloatArgument = UsesMorestackAddr = false; |   DbgInfoAvailable = UsesVAFloatArgument = UsesMorestackAddr = false; | ||||||
|   // Always emit some info, by default "no personality" info. |   // Always emit some info, by default "no personality" info. | ||||||
|   Personalities.push_back(nullptr); |   Personalities.push_back(nullptr); | ||||||
| @@ -247,8 +247,8 @@ void MachineModuleInfo::EndFunction() { | |||||||
|   TypeInfos.clear(); |   TypeInfos.clear(); | ||||||
|   FilterIds.clear(); |   FilterIds.clear(); | ||||||
|   FilterEnds.clear(); |   FilterEnds.clear(); | ||||||
|   CallsEHReturn = 0; |   CallsEHReturn = false; | ||||||
|   CallsUnwindInit = 0; |   CallsUnwindInit = false; | ||||||
|   VariableDbgInfos.clear(); |   VariableDbgInfos.clear(); | ||||||
| } | } | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user