mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Add a convenience function on SILBasicBlock to move it after another Block
Swift SVN r19633
This commit is contained in:
@@ -111,6 +111,10 @@ public:
|
||||
/// \sa splitBasicBlock
|
||||
SILBasicBlock *splitBasicBlockAndBranch(iterator I, SILLocation BranchLoc);
|
||||
|
||||
/// \brief Move the basic block to after the specified basic block in the IR.
|
||||
/// The basic blocks must reside in the same function.
|
||||
void moveAfter(SILBasicBlock *After);
|
||||
|
||||
//===--------------------------------------------------------------------===//
|
||||
// SILBasicBlock Argument List Inspection and Manipulation
|
||||
//===--------------------------------------------------------------------===//
|
||||
|
||||
Reference in New Issue
Block a user