[commit: ghc] wip/T15548: Make tablesNextToCode a proper dynamic flag (#15548) (bee8271)

git at git.haskell.org git at git.haskell.org
Tue Aug 21 05:40:01 UTC 2018


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/T15548
Link       : http://ghc.haskell.org/trac/ghc/changeset/bee827178f3825356e958adcc9ffbaf5896ef1bd/ghc

>---------------------------------------------------------------

commit bee827178f3825356e958adcc9ffbaf5896ef1bd
Author: Joachim Breitner <mail at joachim-breitner.de>
Date:   Mon Aug 20 21:29:42 2018 -0700

    Make tablesNextToCode a proper dynamic flag (#15548)
    
    There is no more use of the TABLES_NEXT_TO_CODE CPP macro in
    `compiler/`. The default value of `tablesNextToCode` is calculated as
    before, but now users of the GHCI API can modify this flag.


>---------------------------------------------------------------

bee827178f3825356e958adcc9ffbaf5896ef1bd
 compiler/ghc.mk                   |  8 --------
 compiler/ghci/ByteCodeItbls.hs    |  4 +++-
 compiler/main/DynFlags.hs         |  8 +++-----
 compiler/utils/Util.hs            |  8 --------
 libraries/ghci/GHCi/InfoTable.hsc | 30 ++++++++++++------------------
 libraries/ghci/GHCi/Message.hs    |  7 ++++---
 libraries/ghci/GHCi/Run.hs        |  4 ++--
 7 files changed, 24 insertions(+), 45 deletions(-)

Diff suppressed because of size. To see it, use:

    git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc bee827178f3825356e958adcc9ffbaf5896ef1bd


More information about the ghc-commits mailing list