[llvm-commits] CVS: llvm/lib/VMCore/BasicBlock.cpp
Chris Lattner
lattner at cs.uiuc.edu
Thu Nov 20 12:26:30 PST 2003
Changes in directory llvm/lib/VMCore:
BasicBlock.cpp updated: 1.36 -> 1.37
---
Log message:
Start using the nicer terminator auto-insertion API
---
Diffs of the changes: (+1 -1)
Index: llvm/lib/VMCore/BasicBlock.cpp
diff -u llvm/lib/VMCore/BasicBlock.cpp:1.36 llvm/lib/VMCore/BasicBlock.cpp:1.37
--- llvm/lib/VMCore/BasicBlock.cpp:1.36 Tue Nov 11 16:41:34 2003
+++ llvm/lib/VMCore/BasicBlock.cpp Thu Nov 20 12:25:24 2003
@@ -243,7 +243,7 @@
} while (Inst != &*I); // Loop until we move the specified instruction.
// Add a branch instruction to the newly formed basic block.
- InstList.push_back(new BranchInst(New));
+ new BranchInst(New, 0, 0, this);
// Now we must loop through all of the successors of the New block (which
// _were_ the successors of the 'this' block), and update any PHI nodes in
More information about the llvm-commits
mailing list