summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-04-25 04:08:28 +0000
committerChris Lattner <sabre@nondot.org>2007-04-25 04:08:28 +0000
commitcb0ed0cfbd4ba16cab8590d25ad6d03f932f0bdb (patch)
tree2b085af8271b25fef1c1ff7abef9324729bcd128 /llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
parent7bf18ba0a2628ccd806fc555ceada31967bb852d (diff)
downloadbcm5719-llvm-cb0ed0cfbd4ba16cab8590d25ad6d03f932f0bdb.tar.gz
bcm5719-llvm-cb0ed0cfbd4ba16cab8590d25ad6d03f932f0bdb.zip
allow support for 64-bit stack objects
llvm-svn: 36420
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
index 22b08d23f24..7a62da55712 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
+++ b/llvm/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)
OpenPOWER on IntegriCloud