summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCAsmInfo.cpp
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
commit32aab2216d2f0e21d1aa48b07800701579ade7e8 (patch)
treef339faf81be08b0a64aae1812e6addbc75dad914 /llvm/lib/MC/MCAsmInfo.cpp
parentf930448bf61bd5f35a8fe90a90336d07598655c2 (diff)
downloadbcm5719-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/MC/MCAsmInfo.cpp')
-rw-r--r--llvm/lib/MC/MCAsmInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/MC/MCAsmInfo.cpp b/llvm/lib/MC/MCAsmInfo.cpp
index de1095bf8ac..51bb4357102 100644
--- a/llvm/lib/MC/MCAsmInfo.cpp
+++ b/llvm/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;
OpenPOWER on IntegriCloud