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

John Criswell criswell at uiuc.edu
Mon Aug 16 07:49:09 PDT 2010


Author: criswell
Date: Mon Aug 16 09:49:09 2010
New Revision: 111126

URL: http://llvm.org/viewvc/llvm-project?rev=111126&view=rev
Log:
Wrapped some comments to 80 characters per line.
No functionality changes.

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=111126&r1=111125&r2=111126&view=diff
==============================================================================
--- poolalloc/trunk/lib/DSA/Local.cpp (original)
+++ poolalloc/trunk/lib/DSA/Local.cpp Mon Aug 16 09:49:09 2010
@@ -692,9 +692,10 @@
       break;
     case Triple::x86_64:
       // On x86_64, we have va_list as a struct {i32, i32, i8*, i8* }
-      // The first i8* is where arguments generally go, but the second i8* can 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.
+      // The first i8* is where arguments generally go, but the second i8* can
+      // 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)
         N->growSize(24); //sizeof the va_list struct mentioned above
       N->setLink(8,VAArray); //first i8*
@@ -711,8 +712,9 @@
       N->setIncompleteMarker()->setUnknownMarker()->foldNodeCompletely();
   }
 
-  //XXX: We used to set the alloca marker for the DSNode passed to va_start.
-  //Seems to me that you could allocate the va_list on the heap, so ignoring for now.
+  // XXX: We used to set the alloca marker for the DSNode passed to va_start.
+  // Seems to me that you could allocate the va_list on the heap, so ignoring
+  // for now.
   N->setModifiedMarker()->setVAStartMarker();
 }
 





More information about the llvm-commits mailing list