Move AArch64FrameLowering into the subtarget.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210549 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Christopher
2014-06-10 17:44:12 +00:00
parent 8128a7965f
commit c4f9370391
4 changed files with 11 additions and 5 deletions

View File

@@ -33,7 +33,6 @@ private:
const DataLayout DL;
AArch64InstrInfo InstrInfo;
AArch64TargetLowering TLInfo;
AArch64FrameLowering FrameLowering;
AArch64SelectionDAGInfo TSInfo;
public:
@@ -50,7 +49,7 @@ public:
}
const DataLayout *getDataLayout() const override { return &DL; }
const AArch64FrameLowering *getFrameLowering() const override {
return &FrameLowering;
return getSubtargetImpl()->getFrameLowering();
}
const AArch64InstrInfo *getInstrInfo() const override { return &InstrInfo; }
const AArch64RegisterInfo *getRegisterInfo() const override {