mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-24 14:33:40 +00:00
- 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:
parent
7cdd2e0cb0
commit
06076d8d3e
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user