[project @ 2000-08-03 13:29:46 by rrt]
authorrrt <unknown>
Thu, 3 Aug 2000 13:29:46 +0000 (13:29 +0000)
committerrrt <unknown>
Thu, 3 Aug 2000 13:29:46 +0000 (13:29 +0000)
Removed isLocallyDefinedName test in isDllName, as SPJ's with SM's suggestion
that it's redundant.

ghc/compiler/basicTypes/Name.lhs

index 60a5727..23c3a01 100644 (file)
@@ -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)