summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorPhilip Reames <listmail@philipreames.com>2014-12-02 19:28:57 +0000
committerPhilip Reames <listmail@philipreames.com>2014-12-02 19:28:57 +0000
commitf814a511dad178b6a905e4c04800d514a344eac4 (patch)
tree149819ace3c5b72e53fe51cd5424c62dd31e1cea /llvm/lib/CodeGen
parent305fed96e6b0b94a01868a3e0f1d86ab791344a8 (diff)
downloadbcm5719-llvm-f814a511dad178b6a905e4c04800d514a344eac4.tar.gz
bcm5719-llvm-f814a511dad178b6a905e4c04800d514a344eac4.zip
Appease a build bot complaining about an unused variable that's used in an assertion.
llvm-svn: 223142
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp b/llvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp
index 2e31c282ae0..137403fc274 100644
--- a/llvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp
@@ -230,6 +230,7 @@ static SDNode *lowerCallFromStatepoint(const CallInst &CI,
int NumCallArgs = dyn_cast<ConstantInt>(CI.getArgOperand(1))->getZExtValue();
assert(NumCallArgs >= 0 && "non-negative");
+ (void)NumCallArgs;
ImmutableStatepoint StatepointOperands(&CI);
OpenPOWER on IntegriCloud