projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b102da
)
[project @ 2000-08-03 13:29:46 by rrt]
author
rrt
<unknown>
Thu, 3 Aug 2000 13:29:46 +0000
(13:29 +0000)
committer
rrt
<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
patch
|
blob
|
history
diff --git
a/ghc/compiler/basicTypes/Name.lhs
b/ghc/compiler/basicTypes/Name.lhs
index
60a5727
..
23c3a01
100644
(file)
--- 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)