summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorSylvain Henry <sylvain@haskus.fr>2020-03-11 19:14:11 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-03-25 22:42:02 -0400
commit0de03cd78729dc58a846c64b645e71057ec5d24e (patch)
tree4d893f44db3fa94094376cf4fcad9a1a832ee261 /includes
parent262e42aa34c4d5705c8d011907c351497dd4e862 (diff)
downloadhaskell-0de03cd78729dc58a846c64b645e71057ec5d24e.tar.gz
DynFlags refactoring III
Use Platform instead of DynFlags when possible: * `tARGET_MIN_INT` et al. replaced with `platformMinInt` et al. * no more DynFlags in PreRules: added a new `RuleOpts` datatype * don't use `wORD_SIZE` in the compiler * make `wordAlignment` use `Platform` * make `dOUBLE_SIZE` a constant Metric Decrease: T13035 T1969
Diffstat (limited to 'includes')
-rw-r--r--includes/MachDeps.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/includes/MachDeps.h b/includes/MachDeps.h
index 81d6641dff..98a90814d9 100644
--- a/includes/MachDeps.h
+++ b/includes/MachDeps.h
@@ -32,9 +32,7 @@
*
* To get target's values it is preferred to use runtime target
* 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 (platformConstants dflags)
+ * record.
*
* Hence we hide these macros from GHC_STAGE=1
*/