[llvm-commits] CVS: llvm/lib/Transforms/Instrumentation/ProfilePaths/CombineBranch.cpp
    Brian Gaeke 
    gaeke at cs.uiuc.edu
       
    Tue Jun  1 15:08:05 PDT 2004
    
    
  
Changes in directory llvm/lib/Transforms/Instrumentation/ProfilePaths:
CombineBranch.cpp updated: 1.8 -> 1.9
---
Log message:
Use new form of unconditional branch constructor.
---
Diffs of the changes:  (+1 -1)
Index: llvm/lib/Transforms/Instrumentation/ProfilePaths/CombineBranch.cpp
diff -u llvm/lib/Transforms/Instrumentation/ProfilePaths/CombineBranch.cpp:1.8 llvm/lib/Transforms/Instrumentation/ProfilePaths/CombineBranch.cpp:1.9
--- llvm/lib/Transforms/Instrumentation/ProfilePaths/CombineBranch.cpp:1.8	Tue Mar 30 13:53:46 2004
+++ llvm/lib/Transforms/Instrumentation/ProfilePaths/CombineBranch.cpp	Tue Jun  1 15:06:10 2004
@@ -110,7 +110,7 @@
       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;
 
    
    
More information about the llvm-commits
mailing list