From: Alkis Evlogimenos Date: Sat, 31 Jul 2004 09:37:52 +0000 (+0000) Subject: Change signature to take two basic blocks: the target and the one X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e4d32f6cf96566f8d37e50212e4f67330150ee20;p=oota-llvm.git 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 --- diff --git a/include/llvm/Target/TargetInstrInfo.h b/include/llvm/Target/TargetInstrInfo.h index ab1f88b4344..3ae68fa3e26 100644 --- a/include/llvm/Target/TargetInstrInfo.h +++ b/include/llvm/Target/TargetInstrInfo.h @@ -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!"); }