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

git at git.haskell.org git at git.haskell.org
Tue Aug 21 21:11:50 UTC 2018


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

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

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

commit 0993a26241e079e6d8333ef81c206e87f1f6f2c3
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.


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

0993a26241e079e6d8333ef81c206e87f1f6f2c3
 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 0993a26241e079e6d8333ef81c206e87f1f6f2c3


More information about the ghc-commits mailing list