[llvm-commits] [poolalloc] r107806 - /poolalloc/trunk/lib/PoolAllocate/TransformFunctionBody.cpp
John Criswell
criswell at uiuc.edu
Wed Jul 7 13:08:46 PDT 2010
Author: criswell
Date: Wed Jul 7 15:08:46 2010
New Revision: 107806
URL: http://llvm.org/viewvc/llvm-project?rev=107806&view=rev
Log:
Improved comment text and wrapped text to 80 columns.
No functionality changes.
Modified:
poolalloc/trunk/lib/PoolAllocate/TransformFunctionBody.cpp
Modified: poolalloc/trunk/lib/PoolAllocate/TransformFunctionBody.cpp
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/lib/PoolAllocate/TransformFunctionBody.cpp?rev=107806&r1=107805&r2=107806&view=diff
==============================================================================
--- poolalloc/trunk/lib/PoolAllocate/TransformFunctionBody.cpp (original)
+++ poolalloc/trunk/lib/PoolAllocate/TransformFunctionBody.cpp Wed Jul 7 15:08:46 2010
@@ -184,7 +184,11 @@
// and the that the old one has no name.
std::string Name = I->getName(); I->setName("");
- // FIXME: Don't assume allocation sizes are 32bit--this differs per architecture!
+ //
+ // FIXME: Don't assume allocation sizes are 32-bit; different architectures
+ // have different limits on the size of memory objects that they can
+ // allocate.
+ //
if (!Size->getType()->isIntegerTy(32))
Size = CastInst::CreateIntegerCast(Size, Type::getInt32Ty(Size->getType()->getContext()), false, Size->getName(), I);
More information about the llvm-commits
mailing list