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 | e752feee5228bfa33acee35ef9c606ce12f0f173 (patch) | |
tree | e8571c6d69fec1b824843f694eb37767d710a452 /lib/Target/PowerPC/MCTargetDesc/PPCMCAsmInfo.cpp | |
parent | e735945ad74a4af9772a7d9bb45418b2551fffe9 (diff) | |
download | llvm-e752feee5228bfa33acee35ef9c606ce12f0f173.tar.gz llvm-e752feee5228bfa33acee35ef9c606ce12f0f173.tar.bz2 llvm-e752feee5228bfa33acee35ef9c606ce12f0f173.tar.xz |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173270 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/MCTargetDesc/PPCMCAsmInfo.cpp')
-rw-r--r-- | lib/Target/PowerPC/MCTargetDesc/PPCMCAsmInfo.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Target/PowerPC/MCTargetDesc/PPCMCAsmInfo.cpp b/lib/Target/PowerPC/MCTargetDesc/PPCMCAsmInfo.cpp index 215aa40c4a..b04842782a 100644 --- a/lib/Target/PowerPC/MCTargetDesc/PPCMCAsmInfo.cpp +++ b/lib/Target/PowerPC/MCTargetDesc/PPCMCAsmInfo.cpp @@ -17,8 +17,9 @@ using namespace llvm; void PPCMCAsmInfoDarwin::anchor() { } PPCMCAsmInfoDarwin::PPCMCAsmInfoDarwin(bool is64Bit) { - if (is64Bit) - PointerSize = 8; + if (is64Bit) { + PointerSize = CalleeSaveStackSlotSize = 8; + } IsLittleEndian = false; PCSymbol = "."; |