diff options
author | Evan Cheng <evan.cheng@apple.com> | 2007-05-18 00:05:48 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2007-05-18 00:05:48 +0000 |
commit | b5cdaa257e167a08a8a54ea9249d847ccc415ce0 (patch) | |
tree | eb8bcd2531e39b2725150f6001c1ed31ccfa07d8 /lib/Target/Alpha/AlphaInstrInfo.h | |
parent | f48ae4630bdf5c58dfca8f4d82a1ee1a88c3a767 (diff) | |
download | external_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/Alpha/AlphaInstrInfo.h')
-rw-r--r-- | lib/Target/Alpha/AlphaInstrInfo.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/Alpha/AlphaInstrInfo.h b/lib/Target/Alpha/AlphaInstrInfo.h index f5f55d9..84009be 100644 --- a/lib/Target/Alpha/AlphaInstrInfo.h +++ b/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; |