[cfe-commits] r77151 - /cfe/trunk/lib/CodeGen/CGBuiltin.cpp

Daniel Dunbar daniel at zuster.org
Sun Jul 26 02:28:43 PDT 2009


Author: ddunbar
Date: Sun Jul 26 04:28:40 2009
New Revision: 77151

URL: http://llvm.org/viewvc/llvm-project?rev=77151&view=rev
Log:
Switch to getName()

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

Modified: cfe/trunk/lib/CodeGen/CGBuiltin.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGBuiltin.cpp?rev=77151&r1=77150&r2=77151&view=diff

==============================================================================
--- cfe/trunk/lib/CodeGen/CGBuiltin.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGBuiltin.cpp Sun Jul 26 04:28:40 2009
@@ -81,7 +81,7 @@
       VMContext.getPointerTypeUnqual(llvm::Type::Int8Ty);
     if (ArgValue->getType() != DestType)
       ArgValue = Builder.CreateBitCast(ArgValue, DestType, 
-                                       ArgValue->getNameStart());
+                                       ArgValue->getName().data());
 
     Intrinsic::ID inst = (BuiltinID == Builtin::BI__builtin_va_end) ? 
       Intrinsic::vaend : Intrinsic::vastart;





More information about the cfe-commits mailing list