[commit: ghc] master: DynFlags: Drop rtsBuildTag field (8a8cee7)
git at git.haskell.org
git at git.haskell.org
Mon Jul 24 23:36:39 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/8a8cee735b80567d2d97b25936ff4da80c7a3b47/ghc
>---------------------------------------------------------------
commit 8a8cee735b80567d2d97b25936ff4da80c7a3b47
Author: Ben Gamari <bgamari.foss at gmail.com>
Date: Mon Jul 24 19:02:20 2017 -0400
DynFlags: Drop rtsBuildTag field
This wasn't used anywhere; the RTS build tag is now constructed in
Packages.packageHsLibs.
Test Plan: Validate
Reviewers: austin
Subscribers: rwbarton, thomie
Differential Revision: https://phabricator.haskell.org/D3768
>---------------------------------------------------------------
8a8cee735b80567d2d97b25936ff4da80c7a3b47
compiler/main/DynFlags.hs | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/compiler/main/DynFlags.hs b/compiler/main/DynFlags.hs
index 5e33c2e..d25b361 100644
--- a/compiler/main/DynFlags.hs
+++ b/compiler/main/DynFlags.hs
@@ -750,7 +750,6 @@ data DynFlags = DynFlags {
-- ways
ways :: [Way], -- ^ Way flags from the command line
buildTag :: String, -- ^ The global \"way\" (e.g. \"p\" for prof)
- rtsBuildTag :: String, -- ^ The RTS \"way\"
-- For object splitting
splitInfo :: Maybe (String,Int),
@@ -1644,7 +1643,6 @@ defaultDynFlags mySettings =
pkgState = emptyPackageState,
ways = defaultWays mySettings,
buildTag = mkBuildTag (defaultWays mySettings),
- rtsBuildTag = mkBuildTag (defaultWays mySettings),
splitInfo = Nothing,
settings = mySettings,
-- ghc -M values
@@ -2477,8 +2475,7 @@ updateWays dflags
= let theWays = sort $ nub $ ways dflags
in dflags {
ways = theWays,
- buildTag = mkBuildTag (filter (not . wayRTSOnly) theWays),
- rtsBuildTag = mkBuildTag theWays
+ buildTag = mkBuildTag (filter (not . wayRTSOnly) theWays)
}
-- | Check (and potentially disable) any extensions that aren't allowed
More information about the ghc-commits
mailing list