summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Alpha/AlphaInstrInfo.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
commit99be49dd9b3685399f85fc9e46ad010dc8c84887 (patch)
tree5613ee5bff98de4d286b8ca33bccd438e79816ce /llvm/lib/Target/Alpha/AlphaInstrInfo.h
parentc0dc382fb79da0dac1a2405204e08f4da0e16504 (diff)
downloadbcm5719-llvm-99be49dd9b3685399f85fc9e46ad010dc8c84887.tar.gz
bcm5719-llvm-99be49dd9b3685399f85fc9e46ad010dc8c84887.zip
RemoveBranch() and InsertBranch() now returns number of instructions deleted / inserted.
llvm-svn: 37192
Diffstat (limited to 'llvm/lib/Target/Alpha/AlphaInstrInfo.h')
-rw-r--r--llvm/lib/Target/Alpha/AlphaInstrInfo.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/Alpha/AlphaInstrInfo.h b/llvm/lib/Target/Alpha/AlphaInstrInfo.h
index f5f55d9a6c8..84009be3b8c 100644
--- a/llvm/lib/Target/Alpha/AlphaInstrInfo.h
+++ b/llvm/lib/Target/Alpha/AlphaInstrInfo.h
@@ -39,13 +39,13 @@ public:
virtual unsigned isLoadFromStackSlot(MachineInstr *MI, int &FrameIndex) const;
virtual unsigned isStoreToStackSlot(MachineInstr *MI, int &FrameIndex) const;
- virtual void InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
+ virtual unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
MachineBasicBlock *FBB,
const std::vector<MachineOperand> &Cond) const;
bool AnalyzeBranch(MachineBasicBlock &MBB,MachineBasicBlock *&TBB,
MachineBasicBlock *&FBB,
std::vector<MachineOperand> &Cond) const;
- void RemoveBranch(MachineBasicBlock &MBB) const;
+ unsigned RemoveBranch(MachineBasicBlock &MBB) const;
void insertNoop(MachineBasicBlock &MBB,
MachineBasicBlock::iterator MI) const;
bool BlockHasNoFallThrough(MachineBasicBlock &MBB) const;
OpenPOWER on IntegriCloud