Silence unused variable warnings.

Swift SVN r23346
This commit is contained in:
Andrew Trick
2014-11-15 01:10:27 +00:00
parent b297c1f51b
commit fd7c8d5627
3 changed files with 4 additions and 0 deletions

View File

@@ -90,6 +90,7 @@ void CallGraph::addEdgesForApply(ApplyInst *AI, CallGraphNode *CallerNode) {
auto ThinCallee = cast<ThinToThickFunctionInst>(Callee)->getOperand();
// TODO: We want to see through these to the underlying function.
assert(cast<FunctionRefInst>(ThinCallee) && "Expected function reference!");
(void)ThinCallee;
++NumCallSitesWithoutEdges;
break;
}