summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-07-26 09:28:40 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-07-26 09:28:40 +0000
commite59313a298b979a759de61dba53f523a341c74f5 (patch)
treee338676208fe290937b39f189827dd26c5f0b669
parent7cc8f7e86db492cd8bed5413fa6952a3b4677d2d (diff)
downloadbcm5719-llvm-e59313a298b979a759de61dba53f523a341c74f5.tar.gz
bcm5719-llvm-e59313a298b979a759de61dba53f523a341c74f5.zip
Switch to getName()
llvm-svn: 77151
-rw-r--r--clang/lib/CodeGen/CGBuiltin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGBuiltin.cpp b/clang/lib/CodeGen/CGBuiltin.cpp
index 7209446ed13..ffd19e371d9 100644
--- a/clang/lib/CodeGen/CGBuiltin.cpp
+++ b/clang/lib/CodeGen/CGBuiltin.cpp
@@ -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;
OpenPOWER on IntegriCloud