diff options
| author | Vasileios Kalintiris <Vasileios.Kalintiris@imgtec.com> | 2015-04-02 10:42:44 +0000 |
|---|---|---|
| committer | Vasileios Kalintiris <Vasileios.Kalintiris@imgtec.com> | 2015-04-02 10:42:44 +0000 |
| commit | 6d68778588dd963d52719f781f32b2d7a184fcda (patch) | |
| tree | dbab864496d81f9f8b8c4fd0c029f5bd70174cfd /llvm/lib/Target/Mips/MipsSEInstrInfo.h | |
| parent | b3698a53fa3797c838cbd03274b3fbc39d5d96a2 (diff) | |
| download | bcm5719-llvm-6d68778588dd963d52719f781f32b2d7a184fcda.tar.gz bcm5719-llvm-6d68778588dd963d52719f781f32b2d7a184fcda.zip | |
[mips] Expose adjustStackPtr() from MipsInstrInfo. NFC.
Summary:
adjustStackPtr() is implemented from both MipsSEInstrInfo and
Mips16InstrInfo. It makes sense to expose this function from
MipsInstrInfo and avoid explicit casting in some cases.
Depends on D8638.
Reviewers: dsanders
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D8640
llvm-svn: 233905
Diffstat (limited to 'llvm/lib/Target/Mips/MipsSEInstrInfo.h')
| -rw-r--r-- | llvm/lib/Target/Mips/MipsSEInstrInfo.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/Mips/MipsSEInstrInfo.h b/llvm/lib/Target/Mips/MipsSEInstrInfo.h index d16fab2e92f..bebbabf7b83 100644 --- a/llvm/lib/Target/Mips/MipsSEInstrInfo.h +++ b/llvm/lib/Target/Mips/MipsSEInstrInfo.h @@ -68,7 +68,7 @@ public: /// Adjust SP by Amount bytes. void adjustStackPtr(unsigned SP, int64_t Amount, MachineBasicBlock &MBB, - MachineBasicBlock::iterator I) const; + MachineBasicBlock::iterator I) const override; /// Emit a series of instructions to load an immediate. If NewImm is a /// non-NULL parameter, the last instruction is not emitted, but instead |

