summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--includes/rts/Bytecodes.h2
-rw-r--r--includes/rts/Constants.h2
-rw-r--r--includes/rts/storage/FunTypes.h4
-rw-r--r--includes/stg/MiscClosures.h4
4 files changed, 6 insertions, 6 deletions
diff --git a/includes/rts/Bytecodes.h b/includes/rts/Bytecodes.h
index 5e1fc287cb..6ca74bf36e 100644
--- a/includes/rts/Bytecodes.h
+++ b/includes/rts/Bytecodes.h
@@ -17,7 +17,7 @@
/* NOTE:
- THIS FILE IS INCLUDED IN HASKELL SOURCES (ghc/compiler/ghci/ByteCodeGen.lhs).
+ THIS FILE IS INCLUDED IN HASKELL SOURCES (ghc/compiler/ghci/ByteCodeAsm.hs).
DO NOT PUT C-SPECIFIC STUFF IN HERE!
I hope that's clear :-)
diff --git a/includes/rts/Constants.h b/includes/rts/Constants.h
index 114f30ce2f..bd602e77a1 100644
--- a/includes/rts/Constants.h
+++ b/includes/rts/Constants.h
@@ -198,7 +198,7 @@
/*
* Constants for the why_blocked field of a TSO
- * NB. keep these in sync with GHC/Conc.lhs: threadStatus
+ * NB. keep these in sync with GHC/Conc/Sync.hs: threadStatus
*/
#define NotBlocked 0
#define BlockedOnMVar 1
diff --git a/includes/rts/storage/FunTypes.h b/includes/rts/storage/FunTypes.h
index 094bd87d01..8c565888c1 100644
--- a/includes/rts/storage/FunTypes.h
+++ b/includes/rts/storage/FunTypes.h
@@ -24,8 +24,8 @@
* generated code in ghc/rts/AutoApply.cmm.
*
* NOTE: other places to change if you change this table:
- * - utils/genapply/GenApply.hs: stackApplyTypes
- * - compiler/codeGen/CgCallConv.lhs: stdPattern
+ * - utils/genapply/Main.hs: stackApplyTypes
+ * - compiler/codeGen/StgCmmLayout.hs: stdPattern
*/
#define ARG_NONE 3
#define ARG_N 4
diff --git a/includes/stg/MiscClosures.h b/includes/stg/MiscClosures.h
index 994b369c46..8894535dd6 100644
--- a/includes/stg/MiscClosures.h
+++ b/includes/stg/MiscClosures.h
@@ -232,7 +232,7 @@ RTS_THUNK(stg_ap_6_upd);
RTS_THUNK(stg_ap_7_upd);
/* standard application routines (see also utils/genapply,
- * and compiler/codeGen/CgStackery.lhs).
+ * and compiler/codeGen/StgCmmArgRep.hs).
*/
RTS_RET(stg_ap_v);
RTS_RET(stg_ap_f);
@@ -272,7 +272,7 @@ RTS_FUN_DECL(stg_ap_ppppp_fast);
RTS_FUN_DECL(stg_ap_pppppp_fast);
RTS_FUN_DECL(stg_PAP_apply);
-/* standard GC & stack check entry points, all defined in HeapStackCheck.hc */
+/* standard GC & stack check entry points, all defined in HeapStackCheck.cmm */
RTS_FUN_DECL(stg_gc_noregs);