summaryrefslogtreecommitdiff
path: root/lib/Target/MSP430
diff options
context:
space:
mode:
authorEli Bendersky <eliben@google.com>2013-01-23 16:22:04 +0000
committerEli Bendersky <eliben@google.com>2013-01-23 16:22:04 +0000
commite752feee5228bfa33acee35ef9c606ce12f0f173 (patch)
treee8571c6d69fec1b824843f694eb37767d710a452 /lib/Target/MSP430
parente735945ad74a4af9772a7d9bb45418b2551fffe9 (diff)
downloadllvm-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/MSP430')
-rw-r--r--lib/Target/MSP430/MCTargetDesc/MSP430MCAsmInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/MSP430/MCTargetDesc/MSP430MCAsmInfo.cpp b/lib/Target/MSP430/MCTargetDesc/MSP430MCAsmInfo.cpp
index 2e328cb5d6..3c95760569 100644
--- a/lib/Target/MSP430/MCTargetDesc/MSP430MCAsmInfo.cpp
+++ b/lib/Target/MSP430/MCTargetDesc/MSP430MCAsmInfo.cpp
@@ -18,7 +18,7 @@ using namespace llvm;
void MSP430MCAsmInfo::anchor() { }
MSP430MCAsmInfo::MSP430MCAsmInfo(const Target &T, StringRef TT) {
- PointerSize = 2;
+ PointerSize = CalleeSaveStackSlotSize = 2;
PrivateGlobalPrefix = ".L";
WeakRefDirective ="\t.weak\t";