summaryrefslogtreecommitdiff
path: root/compiler/GHC/Settings.hs
diff options
context:
space:
mode:
authorSylvain Henry <sylvain@haskus.fr>2020-03-18 16:37:25 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-05-06 04:43:21 -0400
commitcab1871ab93feeacf2bf9a1c65b1c919ca9c5399 (patch)
tree1c8c7a535ca81d9f8ef26532425ff746b305cc13 /compiler/GHC/Settings.hs
parenta95e7fe02efd2fdeec91ba46de64bc78c81381eb (diff)
downloadhaskell-cab1871ab93feeacf2bf9a1c65b1c919ca9c5399.tar.gz
Move LeadingUnderscore into Platform (#17957)
Avoid direct use of DynFlags to know if symbols must be prefixed by an underscore.
Diffstat (limited to 'compiler/GHC/Settings.hs')
-rw-r--r--compiler/GHC/Settings.hs3
1 files changed, 0 insertions, 3 deletions
diff --git a/compiler/GHC/Settings.hs b/compiler/GHC/Settings.hs
index 08b108a291..df2f817393 100644
--- a/compiler/GHC/Settings.hs
+++ b/compiler/GHC/Settings.hs
@@ -62,7 +62,6 @@ module GHC.Settings
, sGhcWithSMP
, sGhcRTSWays
, sTablesNextToCode
- , sLeadingUnderscore
, sLibFFI
, sGhcThreaded
, sGhcDebugged
@@ -277,8 +276,6 @@ sGhcRTSWays :: Settings -> String
sGhcRTSWays = platformMisc_ghcRTSWays . sPlatformMisc
sTablesNextToCode :: Settings -> Bool
sTablesNextToCode = platformMisc_tablesNextToCode . sPlatformMisc
-sLeadingUnderscore :: Settings -> Bool
-sLeadingUnderscore = platformMisc_leadingUnderscore . sPlatformMisc
sLibFFI :: Settings -> Bool
sLibFFI = platformMisc_libFFI . sPlatformMisc
sGhcThreaded :: Settings -> Bool