[commit: ghc] master: Stop runRW# being magic (10ed319)

git at git.haskell.org git at git.haskell.org
Tue Dec 19 15:29:52 UTC 2017


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/10ed31980f30bf2a0091b6f4cef11e0f2f633f22/ghc

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

commit 10ed31980f30bf2a0091b6f4cef11e0f2f633f22
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Tue Dec 19 10:35:27 2017 +0000

    Stop runRW# being magic
    
    Triggered by thinking about Trac #14596, I found that runRW#
    does not need to be a "magic" wired-in Id, now that we have
    levity polymorphism.
    
    This patch stops it being wired-in.


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

10ed31980f30bf2a0091b6f4cef11e0f2f633f22
 compiler/basicTypes/MkId.hs     | 67 ++---------------------------------------
 compiler/coreSyn/CorePrep.hs    | 43 +++++++++++++++++++++++++-
 compiler/prelude/PrelNames.hs   |  4 ++-
 libraries/ghc-prim/GHC/Magic.hs |  5 ++-
 4 files changed, 50 insertions(+), 69 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 10ed31980f30bf2a0091b6f4cef11e0f2f633f22


More information about the ghc-commits mailing list