From: Chris Lattner Date: Wed, 25 Apr 2007 04:08:28 +0000 (+0000) Subject: allow support for 64-bit stack objects X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=6266c18ea12b42bd9b262a1f4f8c3d7a85130118;p=oota-llvm.git allow support for 64-bit stack objects git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36420 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index 22b08d23f24..7a62da55712 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp @@ -249,7 +249,7 @@ FunctionLoweringInfo::FunctionLoweringInfo(TargetLowering &tli, TySize *= CUI->getZExtValue(); // Get total allocated size. if (TySize == 0) TySize = 1; // Don't create zero-sized stack objects. StaticAllocaMap[AI] = - MF.getFrameInfo()->CreateStackObject((unsigned)TySize, Align); + MF.getFrameInfo()->CreateStackObject(TySize, Align); } for (; BB != EB; ++BB)