mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-13 08:26:02 +00:00
Fix a thinko in the documentation of the splitBasicBlock method. The branch
instruction is added to the original block, not the new block. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21513 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -160,9 +160,9 @@ public:
|
|||||||
/// splitBasicBlock - This splits a basic block into two at the specified
|
/// splitBasicBlock - This splits a basic block into two at the specified
|
||||||
/// instruction. Note that all instructions BEFORE the specified iterator
|
/// instruction. Note that all instructions BEFORE the specified iterator
|
||||||
/// stay as part of the original basic block, an unconditional branch is added
|
/// stay as part of the original basic block, an unconditional branch is added
|
||||||
/// to the new BB, and the rest of the instructions in the BB are moved to the
|
/// to the original BB, and the rest of the instructions in the BB are moved
|
||||||
/// new BB, including the old terminator. The newly formed BasicBlock is
|
/// to the new BB, including the old terminator. The newly formed BasicBlock
|
||||||
/// returned. This function invalidates the specified iterator.
|
/// is returned. This function invalidates the specified iterator.
|
||||||
///
|
///
|
||||||
/// Note that this only works on well formed basic blocks (must have a
|
/// Note that this only works on well formed basic blocks (must have a
|
||||||
/// terminator), and 'I' must not be the end of instruction list (which would
|
/// terminator), and 'I' must not be the end of instruction list (which would
|
||||||
|
Reference in New Issue
Block a user