diff options
| author | Dan Gohman <gohman@apple.com> | 2010-02-25 15:55:28 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2010-02-25 15:55:28 +0000 |
| commit | e790b61ebd25d9ab769cf0fa6887b285439b5762 (patch) | |
| tree | c329be18eca7d3553198a5af79a1bc6f1e3b868d | |
| parent | 91bf1914dad27d7ad5efe1178646278b515a2575 (diff) | |
| download | bcm5719-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.h | 5 |
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); |

