From e790b61ebd25d9ab769cf0fa6887b285439b5762 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Thu, 25 Feb 2010 15:55:28 +0000 Subject: [PATCH] Add more information to the getSizeOf comment. llvm-svn: 97140 --- llvm/include/llvm/Constants.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/llvm/include/llvm/Constants.h b/llvm/include/llvm/Constants.h index c706329fb28b..1cebb2015181 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);