[llvm-commits] [poolalloc] r113984 - /poolalloc/trunk/lib/DSA/Local.cpp

John Criswell criswell at uiuc.edu
Wed Sep 15 10:14:56 PDT 2010


Author: criswell
Date: Wed Sep 15 12:14:56 2010
New Revision: 113984

URL: http://llvm.org/viewvc/llvm-project?rev=113984&view=rev
Log:
Fixed bug in 176.gcc: when expanding a DSNode to 24 bytes, make sure that to
expand it if it has less than 24 bytes.

Modified:
    poolalloc/trunk/lib/DSA/Local.cpp

Modified: poolalloc/trunk/lib/DSA/Local.cpp
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/lib/DSA/Local.cpp?rev=113984&r1=113983&r2=113984&view=diff
==============================================================================
--- poolalloc/trunk/lib/DSA/Local.cpp (original)
+++ poolalloc/trunk/lib/DSA/Local.cpp Wed Sep 15 12:14:56 2010
@@ -694,7 +694,7 @@
       // be used also to pass arguments by register.
       // We model this by having both the i8*'s point to an array of pointers
       // to the arguments.
-      if (N->getSize() < 1)
+      if (N->getSize() < 24)
         N->growSize(24); //sizeof the va_list struct mentioned above
       N->setLink(8,VAArray); //first i8*
       N->setLink(16,VAArray); //second i8*





More information about the llvm-commits mailing list