From f57616ff540fcc45da3eff03dadcb81e76bbdb15 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 --- compiler/utils/Util.hs | 8 -------- 1 file changed, 8 deletions(-) (limited to 'compiler/utils/Util.hs') diff --git a/compiler/utils/Util.hs b/compiler/utils/Util.hs index aa4afa5451..4a2fdc586b 100644 --- a/compiler/utils/Util.hs +++ b/compiler/utils/Util.hs @@ -11,7 +11,6 @@ module Util ( -- * Flags dependent on the compiler build ghciSupported, debugIsOn, ncgDebugIsOn, - ghciTablesNextToCode, isWindowsHost, isDarwinHost, -- * General list processing @@ -205,13 +204,6 @@ ncgDebugIsOn = True ncgDebugIsOn = False #endif -ghciTablesNextToCode :: Bool -#if defined(GHCI_TABLES_NEXT_TO_CODE) -ghciTablesNextToCode = True -#else -ghciTablesNextToCode = False -#endif - isWindowsHost :: Bool #if defined(mingw32_HOST_OS) isWindowsHost = True -- cgit v1.2.1