summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/CallingConvLower.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2011-06-09 06:29:54 +0000
committerEric Christopher <echristo@apple.com>2011-06-09 06:29:54 +0000
commit76fd742d167308af6077051861a8b49c62241070 (patch)
treeab3efb260979041b9ff915e81221bfa6a9105b65 /llvm/lib/CodeGen/CallingConvLower.cpp
parent8ad343f29201b2e3e379e41104837cae599eb87a (diff)
downloadbcm5719-llvm-76fd742d167308af6077051861a8b49c62241070.tar.gz
bcm5719-llvm-76fd742d167308af6077051861a8b49c62241070.zip
Temporarily revert 132764 to see if it fixes the Windows buildbot.
llvm-svn: 132771
Diffstat (limited to 'llvm/lib/CodeGen/CallingConvLower.cpp')
-rw-r--r--llvm/lib/CodeGen/CallingConvLower.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/CallingConvLower.cpp b/llvm/lib/CodeGen/CallingConvLower.cpp
index bc61ec8ed0a..dac2fef5b43 100644
--- a/llvm/lib/CodeGen/CallingConvLower.cpp
+++ b/llvm/lib/CodeGen/CallingConvLower.cpp
@@ -49,8 +49,6 @@ void CCState::HandleByVal(unsigned ValNo, MVT ValVT,
Size = MinSize;
if (MinAlign > (int)Align)
Align = MinAlign;
- if (MF.getFrameInfo()->getMaxAlignment() < Align)
- MF.getFrameInfo()->setMaxAlignment(Align);
TM.getTargetLowering()->HandleByVal(const_cast<CCState*>(this), Size);
unsigned Offset = AllocateStack(Size, Align);
addLoc(CCValAssign::getMem(ValNo, ValVT, Offset, LocVT, LocInfo));
OpenPOWER on IntegriCloud