summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorJohn Ericson <git@JohnEricson.me>2019-05-21 23:00:27 -0400
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-05-29 16:06:45 -0400
commitbfccd832782353a000b430870a6602cc591c8b7a (patch)
tree499d224a8aa6f8adb5dc2b726f7726b6409b8c41 /includes
parentace2e3350fa7da1f7ebcdb882f1241da10a90c26 (diff)
downloadhaskell-bfccd832782353a000b430870a6602cc591c8b7a.tar.gz
Inline `Settings` into `DynFlags`
After the previous commit, `Settings` is just a thin wrapper around other groups of settings. While `Settings` is used by GHC-the-executable to initalize `DynFlags`, in principle another consumer of GHC-the-library could initialize `DynFlags` a different way. It therefore doesn't make sense for `DynFlags` itself (library code) to separate the settings that typically come from `Settings` from the settings that typically don't.
Diffstat (limited to 'includes')
-rw-r--r--includes/MachDeps.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/MachDeps.h b/includes/MachDeps.h
index 22aec83840..fd13e3315a 100644
--- a/includes/MachDeps.h
+++ b/includes/MachDeps.h
@@ -34,7 +34,7 @@
* configuration from 'targetPlatform :: DynFlags -> Platform'
* record. A few wrappers are already defined and used throughout GHC:
* wORD_SIZE :: DynFlags -> Int
- * wORD_SIZE dflags = pc_WORD_SIZE (sPlatformConstants (settings dflags))
+ * wORD_SIZE dflags = pc_WORD_SIZE (platformConstants dflags)
*
* Hence we hide these macros from -DSTAGE=1
*/