Is it possible to use a pointer to the function argument (const Argument *) rather than the index?<br><br>+    /// Index original Function's argument.
<br>+    unsigned OrigArgIndex;<br><br>Just thought it might make the code in VarArgStyleRegisters simpler (no need to use std::advance).<br><br><div class="gmail_quote">On Mon, Oct 8, 2012 at 11:15 AM, Stepan Dyatkovskiy <span dir="ltr"><<a href="mailto:stpworld@narod.ru" target="_blank">stpworld@narod.ru</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Sergei,<br>
<br>
Sorry, I forgot to reattach testcase to the reworked patch. Please find updated patch in attachment. I also attached testcase separately.<br>
<br>
-Stepan.<br>
<br>
Sergei Larin wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Stepan,<br>
<br><div class="im">
   Do you have an example that illustrates your issue? Sorry if you have<br>
already send it before... Thanks.<br>
</div></blockquote>
<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>
<br></blockquote></div><br>