[project @ 2000-08-07 14:11:48 by sewardj]
authorsewardj <unknown>
Mon, 7 Aug 2000 14:11:49 +0000 (14:11 +0000)
committersewardj <unknown>
Mon, 7 Aug 2000 14:11:49 +0000 (14:11 +0000)
commit014a3451c3179b6c485e67dd1463966d588be96a
tree380b71df9a673f393837f0f81ae8cfb4d60edfdf
parent803030e7b6d014fc739d9dfcf6769af23fc868f3
[project @ 2000-08-07 14:11:48 by sewardj]
Reorganise the way primops are done.  Most of the information about
primops, their types and relevant attributes is in prelude/primops.txt.
A supporting program in fptools/ghc/utils/genprimopcode reads this
file and generates various bits of code which are #include'd into
prelude/PrimOp.lhs.  Eventually this mechanism will be extended to
generate PrelGHC.hi and C code for primops in the bytecode evaluator.

Also, add a few primops for creating, reading and writing BCOs.
ghc/compiler/Makefile
ghc/compiler/basicTypes/Unique.lhs
ghc/compiler/nativeGen/MachMisc.lhs
ghc/compiler/nativeGen/StixPrim.lhs
ghc/compiler/prelude/PrelInfo.lhs
ghc/compiler/prelude/PrelNames.lhs
ghc/compiler/prelude/PrimOp.lhs
ghc/compiler/prelude/PrimRep.lhs
ghc/compiler/prelude/TysPrim.lhs
ghc/compiler/prelude/primops.txt [new file with mode: 0644]