The change itself looks fine, but please do add a test case.<div><br></div><div>Do you have commit access?</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Nov 28, 2012 at 12:10 AM, Meador Inge <span dir="ltr"><<a href="mailto:meadori@codesourcery.com" target="_blank">meadori@codesourcery.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><br>
On Nov 27, 2012, at 12:28 PM, Eric Holk wrote:<br>
<br>
> I found that compiling functions using struct literals would trip an assert in StructType::getName. This patch checks that the struct isn't a literal struct before calling getName and allows it to generate code successfully.<br>

><br>
> Let me know if there are questions, comments, or anything else needed from me.<br>
<br>
</div>Please provide a test case.<br>
<br>
--<br>
Meador Inge<br>
CodeSourcery / Mentor Embedded<br>
<br>
<br>
_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><br><div>Thanks,</div><div><br></div><div>Justin Holewinski</div><br>
</div>