<div dir="ltr">Thank you! (and sorry for breakage).</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jul 18, 2014 at 4:57 PM, NAKAMURA Takumi <span dir="ltr"><<a href="mailto:geek4civic@gmail.com" target="_blank">geek4civic@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Excuse me, reverted in r213431.<br>
<br>
CGBuilder doesn't name with -Asserts. setName() is still required here.<br>
<br>
2014-07-19 6:29 GMT+09:00 Alexey Samsonov <<a href="mailto:vonosmas@gmail.com">vonosmas@gmail.com</a>>:<br>
<div class="HOEnZb"><div class="h5">> Author: samsonov<br>
> Date: Fri Jul 18 16:29:55 2014<br>
> New Revision: 213415<br>
><br>
> URL: <a href="http://llvm.org/viewvc/llvm-project?rev=213415&view=rev" target="_blank">http://llvm.org/viewvc/llvm-project?rev=213415&view=rev</a><br>
> Log:<br>
> Merge two lines<br>
><br>
> Modified:<br>
>     cfe/trunk/lib/CodeGen/CGDecl.cpp<br>
><br>
> Modified: cfe/trunk/lib/CodeGen/CGDecl.cpp<br>
> URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGDecl.cpp?rev=213415&r1=213414&r2=213415&view=diff" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGDecl.cpp?rev=213415&r1=213414&r2=213415&view=diff</a><br>

> ==============================================================================<br>
> --- cfe/trunk/lib/CodeGen/CGDecl.cpp (original)<br>
> +++ cfe/trunk/lib/CodeGen/CGDecl.cpp Fri Jul 18 16:29:55 2014<br>
> @@ -907,8 +907,7 @@ CodeGenFunction::EmitAutoVarAlloca(const<br>
>        if (isByRef)<br>
>          LTy = BuildByRefType(&D);<br>
><br>
> -      llvm::AllocaInst *Alloc = CreateTempAlloca(LTy);<br>
> -      Alloc->setName(D.getName());<br>
> +      llvm::AllocaInst *Alloc = CreateTempAlloca(LTy, D.getName());<br>
><br>
>        CharUnits allocaAlignment = alignment;<br>
>        if (isByRef)<br>
><br>
><br>
> _______________________________________________<br>
> cfe-commits mailing list<br>
> <a href="mailto:cfe-commits@cs.uiuc.edu">cfe-commits@cs.uiuc.edu</a><br>
> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Alexey Samsonov<br><a href="mailto:vonosmas@gmail.com" target="_blank">vonosmas@gmail.com</a></div>
</div>