From: Bob Wilson Date: Tue, 16 Nov 2010 00:32:12 +0000 (+0000) Subject: Use getTypeSize() method. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3a7230218d37de975096280472fa55294024b728;p=clang Use getTypeSize() method. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@119297 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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)