diff options
author | Eric Christopher <echristo@gmail.com> | 2014-07-18 23:33:47 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2014-07-18 23:33:47 +0000 |
commit | 0ce4f580bceb132e4ee3c5ab3fb22bcb61af7344 (patch) | |
tree | 5ab5141d8e0161ffef9d2fc1afd5acf0e37fd8f0 /lib/Target/Mips/MipsFrameLowering.h | |
parent | d644d17dd44e89ffd2dcb6896bc23b4c478c37cf (diff) |
FrameLowering depends only upon the Subtarget, so only take a subtarget
during initialization.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@213429 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/MipsFrameLowering.h')
-rw-r--r-- | lib/Target/Mips/MipsFrameLowering.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Target/Mips/MipsFrameLowering.h b/lib/Target/Mips/MipsFrameLowering.h index 8e9196c30fa..9d593091e01 100644 --- a/lib/Target/Mips/MipsFrameLowering.h +++ b/lib/Target/Mips/MipsFrameLowering.h @@ -28,8 +28,7 @@ public: explicit MipsFrameLowering(const MipsSubtarget &sti, unsigned Alignment) : TargetFrameLowering(StackGrowsDown, Alignment, 0, Alignment), STI(sti) {} - static const MipsFrameLowering *create(MipsTargetMachine &TM, - const MipsSubtarget &ST); + static const MipsFrameLowering *create(const MipsSubtarget &ST); bool hasFP(const MachineFunction &MF) const override; |