From: rrt Date: Thu, 3 Aug 2000 13:29:46 +0000 (+0000) Subject: [project @ 2000-08-03 13:29:46 by rrt] X-Git-Tag: Approximately_9120_patches~3921 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=8182fbfda1fd7ff350482d88d3def7e49bba1d47;p=ghc-hetmet.git [project @ 2000-08-03 13:29:46 by rrt] Removed isLocallyDefinedName test in isDllName, as SPJ's with SM's suggestion that it's redundant. --- diff --git a/ghc/compiler/basicTypes/Name.lhs b/ghc/compiler/basicTypes/Name.lhs index 60a5727..23c3a01 100644 --- a/ghc/compiler/basicTypes/Name.lhs +++ b/ghc/compiler/basicTypes/Name.lhs @@ -455,9 +455,7 @@ maybeUserImportedFrom other = Nothing isDllName :: Name -> Bool -- Does this name refer to something in a different DLL? isDllName nm = not opt_Static && - not (isLocallyDefinedName nm) && not (isLocalModule (nameModule nm)) --- Why is the isLocallyDefinedName test needed? nameSrcLoc name = provSrcLoc (n_prov name)