diff options
author | Joachim Breitner <mail@joachim-breitner.de> | 2019-01-20 19:25:26 -0500 |
---|---|---|
committer | John Ericson <git@johnericson.me> | 2020-03-26 12:37:09 -0400 |
commit | 1c446220250dcada51d4bb33a0cc7d8ce572e8b6 (patch) | |
tree | bb35239515276dd4398a9af8f3c1eeb490ac26ea /hadrian | |
parent | f51efc4bf5f20d1df3d11a2bb4c147f416367ae4 (diff) | |
download | haskell-1c446220250dcada51d4bb33a0cc7d8ce572e8b6.tar.gz |
Use run-time tablesNextToCode in compiler exclusively (#15548)
Summary:
- There is no more use of the TABLES_NEXT_TO_CODE CPP macro in
`compiler/`. GHCI_TABLES_NEXT_TO_CODE is also removed entirely.
The field within `PlatformMisc` within `DynFlags` is used instead.
- The field is still not exposed as a CLI flag. We might consider some
way to ensure the right RTS / libraries are used before doing that.
Original reviewers:
Original subscribers: TerrorJack, rwbarton, carter
Original Differential Revision: https://phabricator.haskell.org/D5082
Diffstat (limited to 'hadrian')
-rw-r--r-- | hadrian/src/Settings/Packages.hs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/hadrian/src/Settings/Packages.hs b/hadrian/src/Settings/Packages.hs index d06d4292dd..160259002c 100644 --- a/hadrian/src/Settings/Packages.hs +++ b/hadrian/src/Settings/Packages.hs @@ -63,10 +63,6 @@ packageArgs = do , (any (wayUnit Threaded) rtsWays) ? notStage0 ? arg "--ghc-option=-optc-DTHREADED_RTS" , ghcWithInterpreter ? - flag TablesNextToCode ? - notM (flag GhcUnregisterised) ? - notStage0 ? arg "--ghc-option=-DGHCI_TABLES_NEXT_TO_CODE" - , ghcWithInterpreter ? ghciWithDebugger <$> flavour ? notStage0 ? arg "--ghc-option=-DDEBUGGER" , ghcProfiled <$> flavour ? |