diff options
Diffstat (limited to 'lib/VMCore/Type.cpp')
-rw-r--r-- | lib/VMCore/Type.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/VMCore/Type.cpp b/lib/VMCore/Type.cpp index c9312a8..4eb744d 100644 --- a/lib/VMCore/Type.cpp +++ b/lib/VMCore/Type.cpp @@ -143,8 +143,8 @@ unsigned Type::getPrimitiveSize() const { case Type::UByteTyID: return 1; case Type::UShortTyID: case Type::ShortTyID: return 2; - case Type::FloatTyID: - case Type::IntTyID: + case Type::FloatTyID: + case Type::IntTyID: case Type::UIntTyID: return 4; case Type::LongTyID: case Type::ULongTyID: @@ -160,7 +160,7 @@ unsigned Type::getPrimitiveSizeInBits() const { case Type::UByteTyID: return 8; case Type::UShortTyID: case Type::ShortTyID: return 16; - case Type::FloatTyID: + case Type::FloatTyID: case Type::IntTyID: case Type::UIntTyID: return 32; case Type::LongTyID: |