<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Feb 10, 2010, at 10:42 AM, Dale Johannesen wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><br>On Feb 9, 2010, at 6:02 PMPST, Chris Lattner wrote:<br><br><blockquote type="cite"><br></blockquote><blockquote type="cite">On Feb 9, 2010, at 5:31 PM, Dale Johannesen wrote:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><blockquote type="cite">Author: johannes<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Date: Tue Feb  9 19:31:26 2010<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">New Revision: 95749<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">URL:<span class="Apple-converted-space"> </span><a href="http://llvm.org/viewvc/llvm-project?rev=95749&view=rev">http://llvm.org/viewvc/llvm-project?rev=95749&view=rev</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Log:<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Rewrite loop to suit Chris' preference.<br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">The second !mi->isDebugValue() you added is now dead.<br></blockquote><br>That is needed for the case where a block ends with DEBUG_VALUE.  Without that check baseIndex would point too far ahead after the loop.</span></blockquote></div><br><div>Ok, thanks for checking!</div><div><br></div><div>-Chris</div></body></html>