ARMMachineFunctionInfo.cpp: Add an initializer of ARMFunctionInfo::ReturnRegsCount in the explicit ctor.

It caused crash since r283867.

llvm-svn: 283909
This commit is contained in:
NAKAMURA Takumi 2016-10-11 17:38:30 +00:00
parent e61de02016
commit e9587bd771
1 changed files with 2 additions and 2 deletions

View File

@ -16,8 +16,8 @@ void ARMFunctionInfo::anchor() {}
ARMFunctionInfo::ARMFunctionInfo(MachineFunction &MF)
: isThumb(MF.getSubtarget<ARMSubtarget>().isThumb()),
hasThumb2(MF.getSubtarget<ARMSubtarget>().hasThumb2()),
StByValParamsPadding(0), ArgRegsSaveSize(0), HasStackFrame(false),
RestoreSPFromFP(false), LRSpilledForFarJump(false),
StByValParamsPadding(0), ArgRegsSaveSize(0), ReturnRegsCount(0),
HasStackFrame(false), RestoreSPFromFP(false), LRSpilledForFarJump(false),
FramePtrSpillOffset(0), GPRCS1Offset(0), GPRCS2Offset(0), DPRCSOffset(0),
GPRCS1Size(0), GPRCS2Size(0), DPRCSSize(0), PICLabelUId(0),
VarArgsFrameIndex(0), HasITBlocks(false), ArgumentStackSize(0),