From dfb2e7d7c97990f5f3d6edbb204870ea8289642d Mon Sep 17 00:00:00 2001 From: Brian Gaeke Date: Tue, 1 Jun 2004 20:06:10 +0000 Subject: [PATCH] Use new form of unconditional branch constructor. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13930 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/Instrumentation/ProfilePaths/CombineBranch.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Transforms/Instrumentation/ProfilePaths/CombineBranch.cpp b/lib/Transforms/Instrumentation/ProfilePaths/CombineBranch.cpp index 7de1b3c52e6..a4197cbb207 100644 --- a/lib/Transforms/Instrumentation/ProfilePaths/CombineBranch.cpp +++ b/lib/Transforms/Instrumentation/ProfilePaths/CombineBranch.cpp @@ -110,7 +110,7 @@ void CombineBranches::removeRedundant(std::map &be){ sameTarget.push_back(MI->first); BasicBlock *newBB = new BasicBlock("newCommon", MI->first->getParent()); - BranchInst *newBranch = new BranchInst(MI->second, 0, 0, newBB); + BranchInst *newBranch = new BranchInst(MI->second, newBB); std::map > phiMap;