From 1c446220250dcada51d4bb33a0cc7d8ce572e8b6 Mon Sep 17 00:00:00 2001 From: Joachim Breitner Date: Sun, 20 Jan 2019 19:25:26 -0500 Subject: 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 --- hadrian/src/Settings/Packages.hs | 4 ---- 1 file changed, 4 deletions(-) (limited to 'hadrian') 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 @@ -62,10 +62,6 @@ packageArgs = do , notM targetSupportsSMP ? arg "--ghc-option=-optc-DNOSMP" , (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" -- cgit v1.2.1