[project @ 2000-09-11 11:17:09 by sewardj]
authorsewardj <unknown>
Mon, 11 Sep 2000 11:17:09 +0000 (11:17 +0000)
committersewardj <unknown>
Mon, 11 Sep 2000 11:17:09 +0000 (11:17 +0000)
commitd4993e8b9cee0e2e2a7e16a9f20b55d8985575a3
tree10e6431cf93f88af070d260a983633037b89d4e3
parent3fc55f7920c62dafc4c8c470de6bc45fbbee7a27
[project @ 2000-09-11 11:17:09 by sewardj]
Initial primop support for the metacircular interpreter (GHCI).
Only appears if you compile with -DGHCI; if not, the world is
unchanged.

new primops:
   indexPtrOffClosure#
   indexWordOffClosure#

modified:
   dataToTag#   -- now dereferences indirections before extracting tag

new entry code
   mci_constr_entry          and
   mci_constr[1..8]entry
being the direct and vectored return code fragments for interpreter
created constructors.  Support for static constructors is not yet
done.

New handwritten .hc functions:
   mci_make_constr*
being code to create various flavours of constructors from args
on the stack.  An interface file to describe these will follow in
a later commit.
ghc/compiler/prelude/primops.txt
ghc/includes/PrimOps.h
ghc/includes/StgMiscClosures.h
ghc/lib/std/PrelGHC.hi-boot
ghc/rts/StgMiscClosures.hc