Stop runRW# being magic
authorSimon Peyton Jones <simonpj@microsoft.com>
Tue, 19 Dec 2017 10:35:27 +0000 (10:35 +0000)
committerSimon Peyton Jones <simonpj@microsoft.com>
Tue, 19 Dec 2017 15:29:35 +0000 (15:29 +0000)
commit10ed31980f30bf2a0091b6f4cef11e0f2f633f22
treeefe00463657258f63a2e8e0f13ec05e5291cc999
parenta100763cc5c6c9736a00ca57b2ec3c721311eecb
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.
compiler/basicTypes/MkId.hs
compiler/coreSyn/CorePrep.hs
compiler/prelude/PrelNames.hs
libraries/ghc-prim/GHC/Magic.hs