[llvm-commits] [llvm] r97140 - /llvm/trunk/include/llvm/Constants.h

Dan Gohman gohman at apple.com
Thu Feb 25 07:55:28 PST 2010


Author: djg
Date: Thu Feb 25 09:55:28 2010
New Revision: 97140

URL: http://llvm.org/viewvc/llvm-project?rev=97140&view=rev
Log:
Add more information to the getSizeOf comment.

Modified:
    llvm/trunk/include/llvm/Constants.h

Modified: llvm/trunk/include/llvm/Constants.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Constants.h?rev=97140&r1=97139&r2=97140&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Constants.h (original)
+++ llvm/trunk/include/llvm/Constants.h Thu Feb 25 09:55:28 2010
@@ -698,8 +698,9 @@
   /// independent way (Note: the return type is an i64).
   static Constant *getAlignOf(const Type* Ty);
   
-  /// getSizeOf constant expr - computes the size of a type in a target
-  /// independent way (Note: the return type is an i64).
+  /// getSizeOf constant expr - computes the (alloc) size of a type (in
+  /// address-units, not bits) in a target independent way (Note: the return
+  /// type is an i64).
   ///
   static Constant *getSizeOf(const Type* Ty);
 





More information about the llvm-commits mailing list