mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
Fix unused variable in non-assert builds
llvm-svn: 320885
This commit is contained in:
parent
ddd8ed6709
commit
30af1cf5a2
@ -5747,8 +5747,7 @@ SelectionDAGBuilder::visitIntrinsicCall(const CallInst &I, unsigned Intrinsic) {
|
||||
getValue(I.getArgOperand(0))));
|
||||
return nullptr;
|
||||
case Intrinsic::gcroot: {
|
||||
MachineFunction &MF = DAG.getMachineFunction();
|
||||
assert(MF.getFunction().hasGC() &&
|
||||
assert(DAG.getMachineFunction().getFunction().hasGC() &&
|
||||
"only valid in functions with gc specified, enforced by Verifier");
|
||||
assert(GFI && "implied by previous");
|
||||
const Value *Alloca = I.getArgOperand(0)->stripPointerCasts();
|
||||
|
Loading…
Reference in New Issue
Block a user