[cfe-commits] r119297 - /cfe/trunk/lib/CodeGen/Mangle.cpp

Bob Wilson bob.wilson at apple.com
Mon Nov 15 16:32:13 PST 2010


Author: bwilson
Date: Mon Nov 15 18:32:12 2010
New Revision: 119297

URL: http://llvm.org/viewvc/llvm-project?rev=119297&view=rev
Log:
Use getTypeSize() method.

Modified:
    cfe/trunk/lib/CodeGen/Mangle.cpp

Modified: cfe/trunk/lib/CodeGen/Mangle.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/Mangle.cpp?rev=119297&r1=119296&r2=119297&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/Mangle.cpp (original)
+++ cfe/trunk/lib/CodeGen/Mangle.cpp Mon Nov 15 18:32:12 2010
@@ -1434,7 +1434,7 @@
   }
   const char *BaseName = 0;
   unsigned BitSize = (T->getNumElements() *
-                      getASTContext().getTypeInfo(EltType).first);
+                      getASTContext().getTypeSize(EltType));
   if (BitSize == 64)
     BaseName = "__simd64_";
   else if (BitSize == 128)





More information about the cfe-commits mailing list