The cheap version of getName() is sufficient here.
llvm-svn: 145399
This commit is contained in:
parent
7f107eeea5
commit
3df1a2dd59
|
@ -795,7 +795,7 @@ CodeGenFunction::EmitAutoVarAlloca(const VarDecl &D) {
|
|||
LTy = BuildByRefType(&D);
|
||||
|
||||
llvm::AllocaInst *Alloc = CreateTempAlloca(LTy);
|
||||
Alloc->setName(D.getNameAsString());
|
||||
Alloc->setName(D.getName());
|
||||
|
||||
CharUnits allocaAlignment = alignment;
|
||||
if (isByRef)
|
||||
|
|
Loading…
Reference in New Issue