Appease a build bot complaining about an unused variable that's used in an assertion.
authorPhilip Reames <listmail@philipreames.com>
Tue, 2 Dec 2014 19:28:57 +0000 (19:28 +0000)
committerPhilip Reames <listmail@philipreames.com>
Tue, 2 Dec 2014 19:28:57 +0000 (19:28 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223142 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/StatepointLowering.cpp

index 2e31c282ae06d68ade07db739a0a79a7d6503931..137403fc27487280e604bca58cb48aeb5f0ab6ea 100644 (file)
@@ -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);