aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Constants.h
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-01-28 02:43:22 +0000
committerDan Gohman <gohman@apple.com>2010-01-28 02:43:22 +0000
commit06ed3e788ab3d71350b7cc7d077f4bd9a2b57799 (patch)
tree9a21d09ca8fe22d65b556ab3fa97d6e744b04b1e /include/llvm/Constants.h
parent0f5efe56258f8cd6ceff4d7955a5d80144cd9cb0 (diff)
downloadexternal_llvm-06ed3e788ab3d71350b7cc7d077f4bd9a2b57799.tar.gz
external_llvm-06ed3e788ab3d71350b7cc7d077f4bd9a2b57799.tar.bz2
external_llvm-06ed3e788ab3d71350b7cc7d077f4bd9a2b57799.zip
Make getAlignOf return an i64, for consistency with getSizeOf and
getOffsetOf, and remove the comment about assuming i8 is byte-aligned, which is no longer applicable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94738 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Constants.h')
-rw-r--r--include/llvm/Constants.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/llvm/Constants.h b/include/llvm/Constants.h
index f34f9cbf58..58077f0eb2 100644
--- a/include/llvm/Constants.h
+++ b/include/llvm/Constants.h
@@ -644,8 +644,7 @@ public:
///
/// getAlignOf constant expr - computes the alignment of a type in a target
- /// independent way (Note: the return type is an i32; Note: assumes that i8
- /// is byte aligned).
+ /// 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