diff options
Diffstat (limited to 'compiler/GHC/StgToCmm')
-rw-r--r-- | compiler/GHC/StgToCmm/ArgRep.hs | 6 | ||||
-rw-r--r-- | compiler/GHC/StgToCmm/Layout.hs | 2 | ||||
-rw-r--r-- | compiler/GHC/StgToCmm/Ticky.hs | 8 | ||||
-rw-r--r-- | compiler/GHC/StgToCmm/Utils.hs | 4 |
4 files changed, 10 insertions, 10 deletions
diff --git a/compiler/GHC/StgToCmm/ArgRep.hs b/compiler/GHC/StgToCmm/ArgRep.hs index 2ec0e177e8..cc618a16ed 100644 --- a/compiler/GHC/StgToCmm/ArgRep.hs +++ b/compiler/GHC/StgToCmm/ArgRep.hs @@ -120,11 +120,11 @@ idArgRep platform = toArgRep platform . idPrimRep -- * GHC.StgToCmm.Layout.stdPattern maybe to some degree? -- -- * the RTS_RET(stg_ap_*) and RTS_FUN_DECL(stg_ap_*_fast) --- declarations in includes/stg/MiscClosures.h +-- declarations in rts/include/stg/MiscClosures.h -- --- * the SLOW_CALL_*_ctr declarations in includes/stg/Ticky.h, +-- * the SLOW_CALL_*_ctr declarations in rts/include/stg/Ticky.h, -- --- * the TICK_SLOW_CALL_*() #defines in includes/Cmm.h, +-- * the TICK_SLOW_CALL_*() #defines in rts/include/Cmm.h, -- -- * the PR_CTR(SLOW_CALL_*_ctr) calls in rts/Ticky.c, -- diff --git a/compiler/GHC/StgToCmm/Layout.hs b/compiler/GHC/StgToCmm/Layout.hs index eeae70f747..0a74291ebd 100644 --- a/compiler/GHC/StgToCmm/Layout.hs +++ b/compiler/GHC/StgToCmm/Layout.hs @@ -541,7 +541,7 @@ mkVirtConstrSizes profile field_reps ------------------------------------------------------------------------- -- bring in ARG_P, ARG_N, etc. -#include "../includes/rts/storage/FunTypes.h" +#include "FunTypes.h" mkArgDescr :: Platform -> [Id] -> ArgDescr mkArgDescr platform args diff --git a/compiler/GHC/StgToCmm/Ticky.hs b/compiler/GHC/StgToCmm/Ticky.hs index 76748f2b0d..1317dcbe17 100644 --- a/compiler/GHC/StgToCmm/Ticky.hs +++ b/compiler/GHC/StgToCmm/Ticky.hs @@ -29,12 +29,12 @@ Some of the relevant source files: * GHC.Cmm.Parser expands some macros using generators defined in this module - * includes/stg/Ticky.h declares all of the global counters + * rts/include/stg/Ticky.h declares all of the global counters - * includes/rts/Ticky.h declares the C data type for an + * rts/include/rts/Ticky.h declares the C data type for an STG-declaration's counters - * some macros defined in includes/Cmm.h (and used within the RTS's + * some macros defined in rts/include/Cmm.h (and used within the RTS's CMM code) update the global ticky counters * at the end of execution rts/Ticky.c generates the final report @@ -247,7 +247,7 @@ emitTickyCounter cloType name args ; fun_descr_lit <- newStringCLit $ renderWithContext ctx ppr_for_ticky_name ; arg_descr_lit <- newStringCLit $ map (showTypeCategory . idType . fromNonVoid) args ; emitDataLits ctr_lbl - -- Must match layout of includes/rts/Ticky.h's StgEntCounter + -- Must match layout of rts/include/rts/Ticky.h's StgEntCounter -- -- krc: note that all the fields are I32 now; some were I16 -- before, but the code generator wasn't handling that diff --git a/compiler/GHC/StgToCmm/Utils.hs b/compiler/GHC/StgToCmm/Utils.hs index a1b13e2e8d..4913bbd3ce 100644 --- a/compiler/GHC/StgToCmm/Utils.hs +++ b/compiler/GHC/StgToCmm/Utils.hs @@ -198,7 +198,7 @@ emitRtsCallGen res lbl args safe -- Here we generate the sequence of saves/restores required around a -- foreign call instruction. --- TODO: reconcile with includes/Regs.h +-- TODO: reconcile with rts/include/Regs.h -- * Regs.h claims that BaseReg should be saved last and loaded first -- * This might not have been tickled before since BaseReg is callee save -- * Regs.h saves SparkHd, ParkT1, SparkBase and SparkLim @@ -206,7 +206,7 @@ emitRtsCallGen res lbl args safe -- This code isn't actually used right now, because callerSaves -- only ever returns true in the current universe for registers NOT in -- system_regs (just do a grep for CALLER_SAVES in --- includes/stg/MachRegs.h). It's all one giant no-op, and for +-- rts/include/stg/MachRegs.h). It's all one giant no-op, and for -- good reason: having to save system registers on every foreign call -- would be very expensive, so we avoid assigning them to those -- registers when we add support for an architecture. |