summaryrefslogtreecommitdiff
path: root/compiler/GHC/Driver/Env/Types.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/GHC/Driver/Env/Types.hs')
-rw-r--r--compiler/GHC/Driver/Env/Types.hs7
1 files changed, 3 insertions, 4 deletions
diff --git a/compiler/GHC/Driver/Env/Types.hs b/compiler/GHC/Driver/Env/Types.hs
index 94ba48c019..4465d206dd 100644
--- a/compiler/GHC/Driver/Env/Types.hs
+++ b/compiler/GHC/Driver/Env/Types.hs
@@ -102,10 +102,9 @@ data HscEnv
-- This is mutable because packages will be demand-loaded during
-- a compilation run as required.
- hsc_NC :: {-# UNPACK #-} !(IORef NameCache),
- -- ^ As with 'hsc_EPS', this is side-effected by compiling to
- -- reflect sucking in interface files. They cache the state of
- -- external interface files, in effect.
+ hsc_NC :: {-# UNPACK #-} !NameCache,
+ -- ^ Global Name cache so that each Name gets a single Unique.
+ -- Also track the origin of the Names.
hsc_FC :: {-# UNPACK #-} !(IORef FinderCache),
-- ^ The cached result of performing finding in the file system