From: Eli Bendersky Date: Wed, 23 Jan 2013 17:12:15 +0000 (+0000) Subject: Fix powerpc test failure - forgot to initialize stack slot size for PPCLinuxMCAsmInfo X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e807d1ea1e05fea895ba90dd4da8c91026ba1f29;p=oota-llvm.git Fix powerpc test failure - forgot to initialize stack slot size for PPCLinuxMCAsmInfo git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173275 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/PowerPC/MCTargetDesc/PPCMCAsmInfo.cpp b/lib/Target/PowerPC/MCTargetDesc/PPCMCAsmInfo.cpp index b04842782ae..a25d7fe64f3 100644 --- a/lib/Target/PowerPC/MCTargetDesc/PPCMCAsmInfo.cpp +++ b/lib/Target/PowerPC/MCTargetDesc/PPCMCAsmInfo.cpp @@ -36,8 +36,9 @@ PPCMCAsmInfoDarwin::PPCMCAsmInfoDarwin(bool is64Bit) { void PPCLinuxMCAsmInfo::anchor() { } PPCLinuxMCAsmInfo::PPCLinuxMCAsmInfo(bool is64Bit) { - if (is64Bit) - PointerSize = 8; + if (is64Bit) { + PointerSize = CalleeSaveStackSlotSize = 8; + } IsLittleEndian = false; // ".comm align is in bytes but .align is pow-2."