diff options
author | Bob Wilson <bob.wilson@apple.com> | 2010-11-16 00:32:12 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@apple.com> | 2010-11-16 00:32:12 +0000 |
commit | 3a7230218d37de975096280472fa55294024b728 (patch) | |
tree | 6a7d033fe778afcf52cd861658bc365b62a499d4 /lib/CodeGen/Mangle.cpp | |
parent | 5082d34e4107a44ac7f07b62f7a6c917e0e6e71e (diff) |
Use getTypeSize() method.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@119297 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/Mangle.cpp')
-rw-r--r-- | lib/CodeGen/Mangle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/Mangle.cpp b/lib/CodeGen/Mangle.cpp index 83d43ebb8f..316ab7111a 100644 --- a/lib/CodeGen/Mangle.cpp +++ b/lib/CodeGen/Mangle.cpp @@ -1434,7 +1434,7 @@ bool CXXNameMangler::mangleNeonVectorType(const VectorType *T) { } const char *BaseName = 0; unsigned BitSize = (T->getNumElements() * - getASTContext().getTypeInfo(EltType).first); + getASTContext().getTypeSize(EltType)); if (BitSize == 64) BaseName = "__simd64_"; else if (BitSize == 128) |