allow support for 64-bit stack objects
authorChris Lattner <sabre@nondot.org>
Wed, 25 Apr 2007 04:08:28 +0000 (04:08 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 25 Apr 2007 04:08:28 +0000 (04:08 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36420 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp

index 22b08d23f24ba7a1d2eaf5be5c5305499822509f..7a62da55712bec6c00324a657305728c939eae0a 100644 (file)
@@ -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)