<div dir="ltr">On Mon, Jun 24, 2013 at 9:03 AM, Jordan Rose <span dir="ltr"><<a href="mailto:jordan_rose@apple.com" target="_blank">jordan_rose@apple.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5"><span style="color:rgb(34,34,34)">There aren't any...all of the symmetrical operations require both arguments to be of the same type. I'm pretty sure the "Special case" below for the compare-and-swap functions is now dead code.</span></div>
</div></blockquote><div><br></div><div style>That sounds plausible to me.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">
<span style="color:rgb(34,34,34)">Do you think it'd worth adding an assertion that we never get a comparison op here?</span></div></div></blockquote><div><br></div><div style>Yep, removing the isComparisonOp() code path, and adding an assert to ensure it isn't reached (before the rhs.isZeroConstant() check) sounds good to me.</div>
</div></div></div>