diff options
author | Akira Hatanaka <ahatanaka@mips.com> | 2012-11-02 20:56:25 +0000 |
---|---|---|
committer | Akira Hatanaka <ahatanaka@mips.com> | 2012-11-02 20:56:25 +0000 |
commit | 173192fa71a45ee87479c0eb7753bf116bce36b8 (patch) | |
tree | 9f8d693fc80e3d0715dc84375f32f302df9c220b /lib/Target/Mips/MipsMachineFunction.h | |
parent | 986f29c7bac9957d5643e5eb4ce5e346872dc5b4 (diff) | |
download | external_llvm-173192fa71a45ee87479c0eb7753bf116bce36b8.zip external_llvm-173192fa71a45ee87479c0eb7753bf116bce36b8.tar.gz external_llvm-173192fa71a45ee87479c0eb7753bf116bce36b8.tar.bz2 |
[mips] Delete MipsFunctionInfo::EmitNOAT. Unconditionally print directive
"set .noat" so that the assembler doesn't issue warnings when register $AT is
used.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167310 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/MipsMachineFunction.h')
-rw-r--r-- | lib/Target/Mips/MipsMachineFunction.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/Target/Mips/MipsMachineFunction.h b/lib/Target/Mips/MipsMachineFunction.h index 663aaec..1b3e0a3 100644 --- a/lib/Target/Mips/MipsMachineFunction.h +++ b/lib/Target/Mips/MipsMachineFunction.h @@ -51,12 +51,10 @@ class MipsFunctionInfo : public MachineFunctionInfo { unsigned NextStackOffset; bool HasByvalArg; - bool EmitNOAT; - public: MipsFunctionInfo(MachineFunction& MF) : MF(MF), SRetReturnReg(0), GlobalBaseReg(0), Mips16SPAliasReg(0), - VarArgsFrameIndex(0), EmitNOAT(false) + VarArgsFrameIndex(0) {} unsigned getSRetReturnReg() const { return SRetReturnReg; } @@ -77,9 +75,6 @@ public: NextStackOffset = Offset; HasByvalArg = HasByval; } - - bool getEmitNOAT() const { return EmitNOAT; } - void setEmitNOAT() { EmitNOAT = true; } }; } // end of namespace llvm |