- Add new ctor to BasicBlock to allow insertion before any BB, not just at

the end of the function.

llvm-svn: 3933
This commit is contained in:
Chris Lattner 2002-09-26 05:03:17 +00:00
parent 7cdd2e0cb0
commit 06076d8d3e

View File

@ -63,6 +63,10 @@ public:
/// is automatically inserted at the end of the function.
///
BasicBlock(const std::string &Name = "", Function *Parent = 0);
/// BasicBlock ctor - If the InsertBefore parameter is specified, the basic
/// block is automatically inserted right before the specified block.
BasicBlock(const std::string &Name, BasicBlock *InsertBefore);
~BasicBlock();
// Specialize setName to take care of symbol table majik