allow support for 64-bit stack objects

llvm-svn: 36420
This commit is contained in:
Chris Lattner 2007-04-25 04:08:28 +00:00
parent 7bf18ba0a2
commit cb0ed0cfbd
1 changed files with 1 additions and 1 deletions

View 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)