<br><div class="gmail_quote">On Fri, Mar 13, 2009 at 4:34 PM, Mike Stump <span dir="ltr"><<a href="mailto:mrs@apple.com">mrs@apple.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
+    if (VD->getStorageClass() == VarDecl::Static<br>
+        || VD->getStorageClass() == VarDecl::Extern)<br>
+      LocalDeclMap[VD] = i->second;<br>
+  }</blockquote><div><br>Private extern too, presumably. Unfortunately this predicate is still a bit off (because of how we merge decls) but this is a problem in other places of IRgen as well. We need to move this predicate into the Decl...<br>
<br> - Daniel<br><br></div></div><br>