summaryrefslogtreecommitdiff
path: root/lib/MC
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/MC
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/MC')
-rw-r--r--lib/MC/MCAsmInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/MC/MCAsmInfo.cpp b/lib/MC/MCAsmInfo.cpp
index de1095bf8a..51bb435710 100644
--- a/lib/MC/MCAsmInfo.cpp
+++ b/lib/MC/MCAsmInfo.cpp
@@ -24,7 +24,7 @@ using namespace llvm;
MCAsmInfo::MCAsmInfo() {
PointerSize = 4;
- CalleeSaveStackSlotSize = 0; // 0 means PointerSize is used in getter.
+ CalleeSaveStackSlotSize = 4;
IsLittleEndian = true;
StackGrowsUp = false;