forked from OSchip/llvm-project
Fix Release build warning.
A value used only in an assert. Again. llvm-svn: 257728
This commit is contained in:
parent
588fdd8394
commit
054123550f
|
@ -5063,6 +5063,7 @@ SelectionDAGBuilder::visitIntrinsicCall(const CallInst &I, unsigned Intrinsic) {
|
|||
case Intrinsic::gcroot: {
|
||||
MachineFunction &MF = DAG.getMachineFunction();
|
||||
const Function *F = MF.getFunction();
|
||||
(void)F;
|
||||
assert(F->hasGC() &&
|
||||
"only valid in functions with gc specified, enforced by Verifier");
|
||||
assert(GFI && "implied by previous");
|
||||
|
|
Loading…
Reference in New Issue