diff options
Diffstat (limited to 'backend/include/rcc')
| -rw-r--r-- | backend/include/rcc/CodeGen/MachineBasicBlock.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/backend/include/rcc/CodeGen/MachineBasicBlock.h b/backend/include/rcc/CodeGen/MachineBasicBlock.h index da538db..10cc438 100644 --- a/backend/include/rcc/CodeGen/MachineBasicBlock.h +++ b/backend/include/rcc/CodeGen/MachineBasicBlock.h @@ -99,6 +99,9 @@ public: MachineInstr &Instruction); [[nodiscard]] Expected<void> insertInstructionAfter(MachineInstr &Position, MachineInstr &Instruction); + // Reorder linked instructions without reporting removal or insertion to the delegate. + [[nodiscard]] Expected<void> spliceInstructionBefore(MachineInstr &Position, + MachineInstr &Instruction); [[nodiscard]] Expected<void> removeInstruction(MachineInstr &Instruction); void clearInstructions() noexcept; |
