[project @ 1998-10-21 11:28:00 by sof]
authorsof <unknown>
Wed, 21 Oct 1998 11:28:09 +0000 (11:28 +0000)
committersof <unknown>
Wed, 21 Oct 1998 11:28:09 +0000 (11:28 +0000)
commite88bfcee5cc2f6f678cf95bd115c7bd3c478051f
tree4aae0add013c2a396192a607c689c2d8c07970ac
parent42b29bf991409fe8987e34478901022000cb7f54
[project @ 1998-10-21 11:28:00 by sof]
- added primops for read&writing StablePtrs to ByteArrays, Adds and FOs
- egcs crashes in odd ways when encountering the typedefs we need to
  produce when compiling 'foreign import dynamic's. To workaround the
  problem, kludgily add a CCallTypedef constructor to AbsCSyn.AbstractC
  which the flattener will produce (at the toplevel) when encountering
  CCallOps inside COptStmts.
- augmented PrimOp.CCallOp to carry a unique when it represents a
  'foreign import dynamic' call. The CoreToStg pass ensures that these
  uniques are exactly that. They're used to eventuall generate (unique)
  typedef names.
ghc/compiler/absCSyn/AbsCSyn.lhs
ghc/compiler/absCSyn/AbsCUtils.lhs
ghc/compiler/absCSyn/PprAbsC.lhs
ghc/compiler/deSugar/DsCCall.lhs
ghc/compiler/deSugar/DsForeign.lhs
ghc/compiler/nativeGen/StixPrim.lhs
ghc/compiler/prelude/PrimOp.lhs
ghc/compiler/prelude/TysPrim.lhs
ghc/compiler/stgSyn/CoreToStg.lhs
ghc/compiler/typecheck/TcIfaceSig.lhs