diff options
author | Brian Gaeke <gaeke@uiuc.edu> | 2004-06-01 20:06:10 +0000 |
---|---|---|
committer | Brian Gaeke <gaeke@uiuc.edu> | 2004-06-01 20:06:10 +0000 |
commit | c0b9b83450a74211b0e6e5ba697ae346b985d52c (patch) | |
tree | 97fea9c438b9c0a080b09c3a7af65cd5a896f70e /llvm/lib/Transforms | |
parent | 84c8bd0dd4f5e950894272a4fab4a322dce830ae (diff) | |
download | bcm5719-llvm-c0b9b83450a74211b0e6e5ba697ae346b985d52c.tar.gz bcm5719-llvm-c0b9b83450a74211b0e6e5ba697ae346b985d52c.zip |
Use new form of unconditional branch constructor.
llvm-svn: 13930
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r-- | llvm/lib/Transforms/Instrumentation/ProfilePaths/CombineBranch.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Instrumentation/ProfilePaths/CombineBranch.cpp b/llvm/lib/Transforms/Instrumentation/ProfilePaths/CombineBranch.cpp index 7de1b3c52e6..a4197cbb207 100644 --- a/llvm/lib/Transforms/Instrumentation/ProfilePaths/CombineBranch.cpp +++ b/llvm/lib/Transforms/Instrumentation/ProfilePaths/CombineBranch.cpp @@ -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; |