diff options
author | Eli Bendersky <eliben@google.com> | 2013-01-23 16:22:04 +0000 |
---|---|---|
committer | Eli Bendersky <eliben@google.com> | 2013-01-23 16:22:04 +0000 |
commit | 32aab2216d2f0e21d1aa48b07800701579ade7e8 (patch) | |
tree | f339faf81be08b0a64aae1812e6addbc75dad914 /llvm/lib/Target/Mips/MCTargetDesc/MipsMCAsmInfo.cpp | |
parent | f930448bf61bd5f35a8fe90a90336d07598655c2 (diff) | |
download | bcm5719-llvm-32aab2216d2f0e21d1aa48b07800701579ade7e8.tar.gz bcm5719-llvm-32aab2216d2f0e21d1aa48b07800701579ade7e8.zip |
Clean up assignment of CalleeSaveStackSlotSize: get rid of the default and explicitly set this in every target that needs to change it from the default.
llvm-svn: 173270
Diffstat (limited to 'llvm/lib/Target/Mips/MCTargetDesc/MipsMCAsmInfo.cpp')
-rw-r--r-- | llvm/lib/Target/Mips/MCTargetDesc/MipsMCAsmInfo.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/lib/Target/Mips/MCTargetDesc/MipsMCAsmInfo.cpp b/llvm/lib/Target/Mips/MCTargetDesc/MipsMCAsmInfo.cpp index a6797492d88..5d4b32d3057 100644 --- a/llvm/lib/Target/Mips/MCTargetDesc/MipsMCAsmInfo.cpp +++ b/llvm/lib/Target/Mips/MCTargetDesc/MipsMCAsmInfo.cpp @@ -25,8 +25,9 @@ MipsMCAsmInfo::MipsMCAsmInfo(const Target &T, StringRef TT) { IsLittleEndian = false; if ((TheTriple.getArch() == Triple::mips64el) || - (TheTriple.getArch() == Triple::mips64)) - PointerSize = 8; + (TheTriple.getArch() == Triple::mips64)) { + PointerSize = CalleeSaveStackSlotSize = 8; + } AlignmentIsInBytes = false; Data16bitsDirective = "\t.2byte\t"; |