diff options
author | Akira Hatanaka <ahatanaka@mips.com> | 2012-07-31 22:50:19 +0000 |
---|---|---|
committer | Akira Hatanaka <ahatanaka@mips.com> | 2012-07-31 22:50:19 +0000 |
commit | cdb3ba71ce550c5a41c84c3678225a39d6f0a414 (patch) | |
tree | b0d0c70bbaa9f09fc6ade9c6ff6fd113d231da53 /lib/Target/Mips/MipsTargetMachine.h | |
parent | d7122b8d3c48eab05d425c99fee53cde07feafe4 (diff) | |
download | llvm-cdb3ba71ce550c5a41c84c3678225a39d6f0a414.tar.gz llvm-cdb3ba71ce550c5a41c84c3678225a39d6f0a414.tar.bz2 llvm-cdb3ba71ce550c5a41c84c3678225a39d6f0a414.tar.xz |
Add definitions of two subclasses of MipsFrameLowering, Mips16FrameLowering and
MipsSEFrameLowering.
Implement MipsSEFrameLowering::hasReservedCallFrame. Call frames will not be
reserved if there is a call with a large call frame or there are variable sized
objects on the stack.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161090 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/MipsTargetMachine.h')
-rw-r--r-- | lib/Target/Mips/MipsTargetMachine.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/Mips/MipsTargetMachine.h b/lib/Target/Mips/MipsTargetMachine.h index 958f13624e..21b49e673c 100644 --- a/lib/Target/Mips/MipsTargetMachine.h +++ b/lib/Target/Mips/MipsTargetMachine.h @@ -32,7 +32,7 @@ class MipsTargetMachine : public LLVMTargetMachine { MipsSubtarget Subtarget; const TargetData DataLayout; // Calculates type size & alignment const MipsInstrInfo *InstrInfo; - MipsFrameLowering FrameLowering; + const MipsFrameLowering *FrameLowering; MipsTargetLowering TLInfo; MipsSelectionDAGInfo TSInfo; MipsJITInfo JITInfo; @@ -49,7 +49,7 @@ public: virtual const MipsInstrInfo *getInstrInfo() const { return InstrInfo; } virtual const TargetFrameLowering *getFrameLowering() const - { return &FrameLowering; } + { return FrameLowering; } virtual const MipsSubtarget *getSubtargetImpl() const { return &Subtarget; } virtual const TargetData *getTargetData() const |