diff options
author | Sylvain Henry <sylvain@haskus.fr> | 2019-08-13 17:26:32 +0200 |
---|---|---|
committer | Sylvain Henry <sylvain@haskus.fr> | 2019-09-10 00:04:50 +0200 |
commit | 447864a94a1679b5b079e08bb7208a0005381cef (patch) | |
tree | baa469c52620ce7ae02def3e5e6a6f109cc89f40 /includes/stg | |
parent | 270fbe8512f04b6107755fa22bdec62205c0a567 (diff) | |
download | haskell-447864a94a1679b5b079e08bb7208a0005381cef.tar.gz |
Module hierarchy: StgToCmm (#13009)
Add StgToCmm module hierarchy. Platform modules that are used in several
other places (NCG, LLVM codegen, Cmm transformations) are put into
GHC.Platform.
Diffstat (limited to 'includes/stg')
-rw-r--r-- | includes/stg/MiscClosures.h | 6 | ||||
-rw-r--r-- | includes/stg/SMP.h | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/includes/stg/MiscClosures.h b/includes/stg/MiscClosures.h index 4cec0b961c..217b1bc89d 100644 --- a/includes/stg/MiscClosures.h +++ b/includes/stg/MiscClosures.h @@ -243,7 +243,7 @@ RTS_THUNK(stg_ap_6_upd); RTS_THUNK(stg_ap_7_upd); /* standard application routines (see also utils/genapply, - * and compiler/codeGen/StgCmmArgRep.hs). + * and GHC.StgToCmm.ArgRep). */ RTS_RET(stg_ap_v); RTS_RET(stg_ap_f); @@ -528,13 +528,13 @@ extern StgWord CCS_OVERHEAD[]; extern StgWord CCS_SYSTEM[]; // Calls to these rts functions are generated directly -// by codegen (see compiler/codeGen/StgCmmProf.hs) +// by codegen (see GHC.StgToCmm.Prof) // and don't require (don't emit) forward declarations. // // In unregisterised mode (when building via .hc files) // the calls are ordinary C calls. Functions must be in // scope and must match prototype assumed by -// 'compiler/codeGen/StgCmmProf.hs' +// 'GHC.StgToCmm.Prof' // as opposed to real prototype declared in // 'includes/rts/prof/CCS.h' void enterFunCCS (void *reg, void *ccsfn); diff --git a/includes/stg/SMP.h b/includes/stg/SMP.h index 5487a9a4d6..4be11d1f64 100644 --- a/includes/stg/SMP.h +++ b/includes/stg/SMP.h @@ -166,7 +166,7 @@ EXTERN_INLINE void load_load_barrier(void); * * - Eager blackholing a THUNK: * This is protected by an explicit write barrier in the eager blackholing - * code produced by the codegen. See StgCmmBind.emitBlackHoleCode. + * code produced by the codegen. See GHC.StgToCmm.Bind.emitBlackHoleCode. * * - Lazy blackholing a THUNK: * This is is protected by an explicit write barrier in the thread suspension @@ -189,8 +189,8 @@ EXTERN_INLINE void load_load_barrier(void); * * - Write to an Array#, ArrayArray#, or SmallArray#: * This case is protected by an explicit write barrier in the code produced - * for this primop by the codegen. See StgCmmPrim.doWritePtrArrayOp and - * StgCmmPrim.doWriteSmallPtrArrayOp. Relevant issue: #12469. + * for this primop by the codegen. See GHC.StgToCmm.Prim.doWritePtrArrayOp and + * GHC.StgToCmm.Prim.doWriteSmallPtrArrayOp. Relevant issue: #12469. * * - Write to MutVar# via writeMutVar#: * This case is protected by an explicit write barrier in the code produced |