aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/PowerPC/PPCInstrInfo.h
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2007-05-18 00:05:48 +0000
committerEvan Cheng <evan.cheng@apple.com>2007-05-18 00:05:48 +0000
commitb5cdaa257e167a08a8a54ea9249d847ccc415ce0 (patch)
treeeb8bcd2531e39b2725150f6001c1ed31ccfa07d8 /lib/Target/PowerPC/PPCInstrInfo.h
parentf48ae4630bdf5c58dfca8f4d82a1ee1a88c3a767 (diff)
downloadexternal_llvm-b5cdaa257e167a08a8a54ea9249d847ccc415ce0.zip
external_llvm-b5cdaa257e167a08a8a54ea9249d847ccc415ce0.tar.gz
external_llvm-b5cdaa257e167a08a8a54ea9249d847ccc415ce0.tar.bz2
RemoveBranch() and InsertBranch() now returns number of instructions deleted / inserted.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37192 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCInstrInfo.h')
-rw-r--r--lib/Target/PowerPC/PPCInstrInfo.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Target/PowerPC/PPCInstrInfo.h b/lib/Target/PowerPC/PPCInstrInfo.h
index 9005963..498a8e5 100644
--- a/lib/Target/PowerPC/PPCInstrInfo.h
+++ b/lib/Target/PowerPC/PPCInstrInfo.h
@@ -99,10 +99,10 @@ public:
virtual bool AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB,
MachineBasicBlock *&FBB,
std::vector<MachineOperand> &Cond) const;
- virtual void RemoveBranch(MachineBasicBlock &MBB) const;
- virtual void InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
- MachineBasicBlock *FBB,
- const std::vector<MachineOperand> &Cond) const;
+ virtual unsigned RemoveBranch(MachineBasicBlock &MBB) const;
+ virtual unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
+ MachineBasicBlock *FBB,
+ const std::vector<MachineOperand> &Cond) const;
virtual bool BlockHasNoFallThrough(MachineBasicBlock &MBB) const;
virtual bool ReverseBranchCondition(std::vector<MachineOperand> &Cond) const;
};