Change signature to take two basic blocks: the target and the one

where the goto will be appended.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15361 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Alkis Evlogimenos 2004-07-31 09:37:52 +00:00
parent 0cad9f53b1
commit e4d32f6cf9

View File

@ -155,10 +155,10 @@ public:
return false;
}
/// Insert a goto (unconditional branch) sequence to MBB, right
/// before MBBI
virtual void insertGoto(const MachineBasicBlock& MBB,
MachineBasicBlock::iterator MBBI) const {
/// Insert a goto (unconditional branch) sequence to TMBB, at the
/// end of MBB
virtual void insertGoto(MachineBasicBlock& MBB,
MachineBasicBlock& TMBB) const {
assert(0 && "Target didn't implement insertGoto!");
}