We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 213d184 commit 194897eCopy full SHA for 194897e
llvm/lib/Target/ARM/Thumb1InstrInfo.cpp
@@ -135,9 +135,8 @@ void Thumb1InstrInfo::expandLoadStackGuard(
135
MachineBasicBlock::iterator MI) const {
136
MachineFunction &MF = *MI->getParent()->getParent();
137
const TargetMachine &TM = MF.getTarget();
138
- Module &M = *MF.getFunction().getParent();
139
140
- assert(M.getStackProtectorGuard() != "tls" &&
+ assert(MF.getFunction().getParent()->getStackProtectorGuard() != "tls" &&
141
"TLS stack protector not supported for Thumb1 targets");
142
143
if (TM.isPositionIndependent())
0 commit comments