[llvm-commits] [llvm] r173275 - /llvm/trunk/lib/Target/PowerPC/MCTargetDesc/PPCMCAsmInfo.cpp
Eli Bendersky
eliben at google.com
Wed Jan 23 09:12:16 PST 2013
Author: eliben
Date: Wed Jan 23 11:12:15 2013
New Revision: 173275
URL: http://llvm.org/viewvc/llvm-project?rev=173275&view=rev
Log:
Fix powerpc test failure - forgot to initialize stack slot size for PPCLinuxMCAsmInfo
Modified:
llvm/trunk/lib/Target/PowerPC/MCTargetDesc/PPCMCAsmInfo.cpp
Modified: llvm/trunk/lib/Target/PowerPC/MCTargetDesc/PPCMCAsmInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PowerPC/MCTargetDesc/PPCMCAsmInfo.cpp?rev=173275&r1=173274&r2=173275&view=diff
==============================================================================
--- llvm/trunk/lib/Target/PowerPC/MCTargetDesc/PPCMCAsmInfo.cpp (original)
+++ llvm/trunk/lib/Target/PowerPC/MCTargetDesc/PPCMCAsmInfo.cpp Wed Jan 23 11:12:15 2013
@@ -36,8 +36,9 @@
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."
More information about the llvm-commits
mailing list