aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Target
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Target')
-rw-r--r--include/llvm/Target/TargetInstrInfo.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/llvm/Target/TargetInstrInfo.h b/include/llvm/Target/TargetInstrInfo.h
index ab1f88b..3ae68fa 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!");
}