Remove purely external primops
The compiler doesn't create uses nor compiles the uses that exist specially. These are just plain C-- FFI. These `await*` ones are especially important to so convert because "true" primops are hard to make platform-specific currently. The other exports are part of this commit so this module always exports something, which avoids silly CPP elsewhere. More will be added later once `foreign import prim` is extended.
Showing
- compiler/prelude/primops.txt.pp 38 additions, 36 deletionscompiler/prelude/primops.txt.pp
- libraries/base/GHC/Base.hs 2 additions, 1 deletionlibraries/base/GHC/Base.hs
- libraries/base/GHC/Conc/Windows.hs 1 addition, 0 deletionslibraries/base/GHC/Conc/Windows.hs
- libraries/base/GHC/Exts.hs 2 additions, 0 deletionslibraries/base/GHC/Exts.hs
- libraries/ghc-prim/GHC/Prim/Ext.hs 105 additions, 0 deletionslibraries/ghc-prim/GHC/Prim/Ext.hs
- libraries/ghc-prim/ghc-prim.cabal 1 addition, 0 deletionslibraries/ghc-prim/ghc-prim.cabal
Loading
Please register or sign in to comment