From: simonm Date: Wed, 23 Dec 1998 12:26:00 +0000 (+0000) Subject: [project @ 1998-12-23 12:26:00 by simonm] X-Git-Tag: Approx_2487_patches~162 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=aefcf9575f400e54745b9411d3587ffc65649602;p=ghc-hetmet.git [project @ 1998-12-23 12:26:00 by simonm] Add strictness for fork# and par#. --- diff --git a/ghc/compiler/prelude/PrimOp.lhs b/ghc/compiler/prelude/PrimOp.lhs index 9d7075a..3b35044 100644 --- a/ghc/compiler/prelude/PrimOp.lhs +++ b/ghc/compiler/prelude/PrimOp.lhs @@ -856,6 +856,9 @@ primOpStrictness :: PrimOp -> ([Demand], Bool) -- Use only the ones you ned. primOpStrictness SeqOp = ([wwLazy], False) +primOpStrictness ParOp = ([wwLazy], False) +primOpStrictness ForkOp = ([wwLazy, wwPrim], False) + primOpStrictness NewArrayOp = ([wwPrim, wwLazy, wwPrim], False) primOpStrictness WriteArrayOp = ([wwPrim, wwPrim, wwLazy, wwPrim], False)