summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-02-25 15:55:28 +0000
committerDan Gohman <gohman@apple.com>2010-02-25 15:55:28 +0000
commite790b61ebd25d9ab769cf0fa6887b285439b5762 (patch)
treec329be18eca7d3553198a5af79a1bc6f1e3b868d
parent91bf1914dad27d7ad5efe1178646278b515a2575 (diff)
downloadbcm5719-llvm-e790b61ebd25d9ab769cf0fa6887b285439b5762.tar.gz
bcm5719-llvm-e790b61ebd25d9ab769cf0fa6887b285439b5762.zip
Add more information to the getSizeOf comment.
llvm-svn: 97140
-rw-r--r--llvm/include/llvm/Constants.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/include/llvm/Constants.h b/llvm/include/llvm/Constants.h
index c706329fb28..1cebb201518 100644
--- a/llvm/include/llvm/Constants.h
+++ b/llvm/include/llvm/Constants.h
@@ -698,8 +698,9 @@ public:
/// 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);
OpenPOWER on IntegriCloud