mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-26 21:32:10 +00:00
Use new form of unconditional branch constructor.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13930 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5beb8badb1
commit
dfb2e7d7c9
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user