[llvm] r283909 - ARMMachineFunctionInfo.cpp: Add an initializer of ARMFunctionInfo::ReturnRegsCount in the explicit ctor.
NAKAMURA Takumi via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 11 10:38:30 PDT 2016
Author: chapuni
Date: Tue Oct 11 12:38:30 2016
New Revision: 283909
URL: http://llvm.org/viewvc/llvm-project?rev=283909&view=rev
Log:
ARMMachineFunctionInfo.cpp: Add an initializer of ARMFunctionInfo::ReturnRegsCount in the explicit ctor.
It caused crash since r283867.
Modified:
llvm/trunk/lib/Target/ARM/ARMMachineFunctionInfo.cpp
Modified: llvm/trunk/lib/Target/ARM/ARMMachineFunctionInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMMachineFunctionInfo.cpp?rev=283909&r1=283908&r2=283909&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMMachineFunctionInfo.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMMachineFunctionInfo.cpp Tue Oct 11 12:38:30 2016
@@ -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),
More information about the llvm-commits
mailing list