<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>6 sep 2009 kl. 10.35 skrev Sebastian Redl:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Anders Carlsson wrote:<br><blockquote type="cite">Author: andersca<br></blockquote><blockquote type="cite">Date: Sun Sep  6 11:54:02 2009<br></blockquote><blockquote type="cite">New Revision: 81123<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">URL: <a href="http://llvm.org/viewvc/llvm-project?rev=81123&view=rev">http://llvm.org/viewvc/llvm-project?rev=81123&view=rev</a><br></blockquote><blockquote type="cite">Log:<br></blockquote><blockquote type="cite">Reapply 81096, now with a fix. Spot the bug:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">      for (unsigned i = numargs; i < NumArgs; ++i)<br></blockquote><blockquote type="cite">        Args[0] = 0;<br></blockquote><blockquote type="cite"><br></blockquote>Aside from the actual bug, wouldn't it also be a good idea to rename one<br>of the two numargs variables?<font class="Apple-style-span" color="#000000"><font class="Apple-style-span" color="#144FAE"><br></font></font></div></blockquote><br></div><div>Turns out the code didn't handle variadic constructors, so I cleaned up the code in r81178.</div><div><br></div><div>Anders</div><div><br></div></body></html>