Switch to getName()

llvm-svn: 77151
This commit is contained in:
Daniel Dunbar 2009-07-26 09:28:40 +00:00
parent 7cc8f7e86d
commit e59313a298
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ RValue CodeGenFunction::EmitBuiltinExpr(const FunctionDecl *FD,
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;