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 | |
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')
-rw-r--r-- | includes/rts/prof/CCS.h | 2 | ||||
-rw-r--r-- | includes/rts/storage/FunTypes.h | 2 | ||||
-rw-r--r-- | includes/stg/MiscClosures.h | 6 | ||||
-rw-r--r-- | includes/stg/SMP.h | 6 |
4 files changed, 8 insertions, 8 deletions
diff --git a/includes/rts/prof/CCS.h b/includes/rts/prof/CCS.h index b296a32b8a..7685f03003 100644 --- a/includes/rts/prof/CCS.h +++ b/includes/rts/prof/CCS.h @@ -22,7 +22,7 @@ * putting the 8-byte fields on an 8-byte boundary. Padding can * vary between C compilers, and we don't take into account any * possible padding when generating CCS and CC decls in the code - * generator (compiler/codeGen/StgCmmProf.hs). + * generator (GHC.StgToCmm.Prof). */ typedef struct CostCentre_ { diff --git a/includes/rts/storage/FunTypes.h b/includes/rts/storage/FunTypes.h index 27858fb82b..88fcc5878c 100644 --- a/includes/rts/storage/FunTypes.h +++ b/includes/rts/storage/FunTypes.h @@ -24,7 +24,7 @@ * * NOTE: other places to change if you change this table: * - utils/genapply/Main.hs: stackApplyTypes - * - compiler/codeGen/StgCmmLayout.hs: stdPattern + * - GHC.StgToCmm.Layout: stdPattern */ #define ARG_NONE 3 #define ARG_N 4 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 |