Skip to content

Commit

Permalink
Use new form of unconditional branch constructor.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13930 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
Brian Gaeke committed Jun 1, 2004
1 parent 5beb8ba commit dfb2e7d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ void CombineBranches::removeRedundant(std::map<BasicBlock *, BasicBlock *> &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<PHINode *, std::vector<unsigned int> > phiMap;

Expand Down

0 comments on commit dfb2e7d

Please sign in to comment.