mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-24 12:55:45 +00:00
Fix Release build warning.
A value used only in an assert. Again. llvm-svn: 257728
This commit is contained in:
parent
d8d6ceb6fa
commit
80c7fd234d
@ -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…
x
Reference in New Issue
Block a user