<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Nov 14, 2013 at 6:41 PM, <a href="mailto:kledzik@apple.com">kledzik@apple.com</a> <span dir="ltr"><<a href="mailto:kledzik@apple.com" target="_blank">kledzik@apple.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
================<br>
Comment at: lib/Core/SymbolTable.cpp:192-194<br>
@@ +191,5 @@<br>
<div class="im">+ const UndefinedAtom *newFallback = newUndef->fallback();<br>
</div><div class="im">+ bool hasDifferentFallback =<br>
+ (existingFallback && newFallback &&<br>
</div>+ existingFallback->name() != newFallback->name());<br>
+ if (hasDifferentFallback) {<br>
----------------<br>
hasDifferentFallback should also be true if one has a fallback and the other does not.<br></blockquote><div><br></div><div>If the existing atom does not have a fallback and new one has, it's normal -- no need to warn that. So the condition would be a bit complicated that.</div>
</div></div></div>