X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fcompiler%2Fprelude%2Fprimops.txt;fp=ghc%2Fcompiler%2Fprelude%2Fprimops.txt;h=73d145ec39418d99dc71a0ba837281d6ca3135a8;hb=7385dd9fa7f062997a2860ea13e2c268e0783c40;hp=264fec251199f7be68e656be64c2a7efed82c3c8;hpb=2015743e65c7ca0ea9126c35178b1c6387e6ecae;p=ghc-hetmet.git diff --git a/ghc/compiler/prelude/primops.txt b/ghc/compiler/prelude/primops.txt index 264fec2..73d145e 100644 --- a/ghc/compiler/prelude/primops.txt +++ b/ghc/compiler/prelude/primops.txt @@ -1,5 +1,5 @@ ----------------------------------------------------------------------- --- $Id: primops.txt,v 1.14 2001/01/15 09:55:41 sewardj Exp $ +-- $Id: primops.txt,v 1.15 2001/01/15 16:55:24 sewardj Exp $ -- -- Primitive Operations -- @@ -362,9 +362,6 @@ primop Int64ToIntegerOp "int64ToInteger#" GenPrimOp --- Integer# --- ------------------------------------------------------------------------ -primop IntegerNegOp "negateInteger#" GenPrimOp - Int# -> ByteArr# -> (# Int#, ByteArr# #) - primop IntegerAddOp "plusInteger#" GenPrimOp Int# -> ByteArr# -> Int# -> ByteArr# -> (# Int#, ByteArr# #) with commutable = True @@ -772,9 +769,6 @@ primop ReadOffAddrOp_Double "readDoubleOffAddr#" GenPrimOp primop ReadOffAddrOp_StablePtr "readStablePtrOffAddr#" GenPrimOp Addr# -> Int# -> State# s -> (# State# s, StablePtr# a #) -primop ReadOffAddrOp_ForeignObj "readForeignObjOffAddr#" GenPrimOp - Addr# -> Int# -> State# s -> (# State# s, ForeignObj# #) - primop ReadOffAddrOp_Int8 "readInt8OffAddr#" GenPrimOp Addr# -> Int# -> State# s -> (# State# s, Int# #) @@ -1256,17 +1250,21 @@ primop ParAtForNowOp "parAtForNow#" GenPrimOp usage = { mangle ParAtForNowOp [mkO, mkZ, mkP, mkP, mkP, mkP, mkM] mkM } has_side_effects = True -primop CopyableOp "copyable#" GenPrimOp - a -> Int# - with - usage = { mangle CopyableOp [mkZ] mkR } - has_side_effects = True - -primop NoFollowOp "noFollow#" GenPrimOp - a -> Int# - with - usage = { mangle NoFollowOp [mkZ] mkR } - has_side_effects = True +-- copyable# and noFollow# have no corresponding entry in +-- PrelGHC.hi-boot, so I don't know whether they should still +-- be here or not. JRS, 15 Jan 01 +-- +--primop CopyableOp "copyable#" GenPrimOp +-- a -> Int# +-- with +-- usage = { mangle CopyableOp [mkZ] mkR } +-- has_side_effects = True +-- +--primop NoFollowOp "noFollow#" GenPrimOp +-- a -> Int# +-- with +-- usage = { mangle NoFollowOp [mkZ] mkR } +-- has_side_effects = True ------------------------------------------------------------------------