forked from OSchip/llvm-project
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:
parent
e61de02016
commit
e9587bd771
|
@ -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),
|
||||
|
|
Loading…
Reference in New Issue