summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorPhilip Reames <listmail@philipreames.com>2016-01-14 00:55:51 +0000
committerPhilip Reames <listmail@philipreames.com>2016-01-14 00:55:51 +0000
commit054123550fcaddf261a4ebd23644bc59e3f04691 (patch)
tree64ada47b7dbc2053f6c88edf3384849a213a7461 /llvm
parent588fdd8394fa0e301bac57b71b86c6fa4e04c513 (diff)
downloadbcm5719-llvm-054123550fcaddf261a4ebd23644bc59e3f04691.tar.gz
bcm5719-llvm-054123550fcaddf261a4ebd23644bc59e3f04691.zip
Fix Release build warning.
A value used only in an assert. Again. llvm-svn: 257728
Diffstat (limited to 'llvm')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
index 59811107a6c..f3ddf41adaa 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
@@ -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");
OpenPOWER on IntegriCloud