From 5ab451ac92f8db0fe2c95648b894c08dfd7d7077 Mon Sep 17 00:00:00 2001 From: David Majnemer Date: Sun, 24 Jan 2016 06:40:37 +0000 Subject: [PATCH] Fix buildbot failures llvm-svn: 258655 --- lib/Transforms/Scalar/SCCP.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Transforms/Scalar/SCCP.cpp b/lib/Transforms/Scalar/SCCP.cpp index d1b0d2547e2..58d769b2f02 100644 --- a/lib/Transforms/Scalar/SCCP.cpp +++ b/lib/Transforms/Scalar/SCCP.cpp @@ -1603,7 +1603,7 @@ bool SCCP::runOnFunction(Function &F) { DEBUG(dbgs() << " BasicBlock Dead:" << *BB); ++NumDeadBlocks; - NumInstRemoved += removeAllNonTerminatorAndEHPadInstructions(BB); + NumInstRemoved += removeAllNonTerminatorAndEHPadInstructions(&*BB); MadeChanges = true; continue;