[project @ 2000-12-12 12:19:57 by simonmar]
authorsimonmar <unknown>
Tue, 12 Dec 2000 12:19:58 +0000 (12:19 +0000)
committersimonmar <unknown>
Tue, 12 Dec 2000 12:19:58 +0000 (12:19 +0000)
commit65ace55b0200fd37c6cf475d6ee16135866a3359
tree3ea78830aff4d8866da85589ea3506f1769431d4
parentd6684fe7e4e40e54dd6237aab6b488307af8e17f
[project @ 2000-12-12 12:19:57 by simonmar]
- Add primops for {read,write,index}{Int,Word}{8,16,32,64}OffAddr.
    This enables us to remove all the _casm_s from Int/Word.

  - Replace new{Char,Int,etc.}Array# with newByteArray# (save a few primops,
    at the cost of having to know the size of these types in PrelArr).

  - Implement MArray/IArray support for sized types.  finally.

  - Move the guts of the sized types into ghc/lib/std, we'll need
    them for doing more FFIish things in the Prelude.
13 files changed:
ghc/compiler/prelude/PrelNames.lhs
ghc/compiler/prelude/PrimRep.lhs
ghc/compiler/prelude/primops.txt
ghc/includes/PrimOps.h
ghc/lib/std/PrelArrExtra.lhs
ghc/lib/std/PrelByteArr.lhs
ghc/lib/std/PrelGHC.hi-boot
ghc/lib/std/PrelInt.lhs [new file with mode: 0644]
ghc/lib/std/PrelPack.lhs
ghc/lib/std/PrelWord.lhs [new file with mode: 0644]
ghc/lib/std/Time.lhs
ghc/rts/Linker.c
ghc/rts/PrimOps.hc