]> granicus.if.org Git - clang/commitdiff
Use getTypeSize() method.
authorBob Wilson <bob.wilson@apple.com>
Tue, 16 Nov 2010 00:32:12 +0000 (00:32 +0000)
committerBob Wilson <bob.wilson@apple.com>
Tue, 16 Nov 2010 00:32:12 +0000 (00:32 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@119297 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/Mangle.cpp

index 83d43ebb8ff112fbbf45c08b407a4719d939bafa..316ab7111aa84a5e3c1f473b4c77a0ec8649cf71 100644 (file)
@@ -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)