X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fincludes%2FPrimOps.h;fp=ghc%2Fincludes%2FPrimOps.h;h=ce4917dd480c9d4634de8f0138403cb55effb890;hb=77186ef4db545f7ce2040715300019ea09414c41;hp=61dcf84c3e936e217683f350085a72918a02b5e8;hpb=0ceb6ee8213792ffc8a6614c3c40b03174ecb96f;p=ghc-hetmet.git diff --git a/ghc/includes/PrimOps.h b/ghc/includes/PrimOps.h index 61dcf84..ce4917d 100644 --- a/ghc/includes/PrimOps.h +++ b/ghc/includes/PrimOps.h @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: PrimOps.h,v 1.96 2002/07/17 09:21:48 simonmar Exp $ + * $Id: PrimOps.h,v 1.97 2002/09/06 14:34:14 simonmar Exp $ * * (c) The GHC Team, 1998-2000 * @@ -316,21 +316,6 @@ EXTFUN_RTS(mkForeignObjzh_fast); EXTFUN_RTS(newBCOzh_fast); EXTFUN_RTS(mkApUpd0zh_fast); - -/* ----------------------------------------------------------------------------- - Signal handling. Not really primops, but called directly from Haskell. - -------------------------------------------------------------------------- */ - -#define STG_SIG_DFL (-1) -#define STG_SIG_IGN (-2) -#define STG_SIG_ERR (-3) -#define STG_SIG_HAN (-4) - -extern StgInt stg_sig_install (StgInt, StgInt, StgStablePtr, void *); -#define stg_sig_default(sig,mask) stg_sig_install(sig,STG_SIG_DFL,0,(void *)mask) -#define stg_sig_ignore(sig,mask) stg_sig_install(sig,STG_SIG_IGN,0,(void *)mask) -#define stg_sig_catch(sig,ptr,mask) stg_sig_install(sig,STG_SIG_HAN,ptr,(void *)mask) - /* ------------------------------------------------------------------------ Parallel PrimOps