summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakenobu Tani <takenobu.hs@gmail.com>2017-02-04 10:24:42 +0000
committerMatthew Pickering <matthewtpickering@gmail.com>2017-02-04 10:26:36 +0000
commit9984024a58a277fad23efd09df0ab51cdd39a87a (patch)
treea164ac9fc5cffcb2c21a0fc46de4068fd2cb0ef4
parent2f5cb3d44d05e581b75a47fec222577dfa7a533e (diff)
downloadhaskell-9984024a58a277fad23efd09df0ab51cdd39a87a.tar.gz
Fix comment (old file names) in includes/
[skip ci] There ware some old file names (.lhs, ...) at comments. * includes/rts/Bytecodes.h - ghc/compiler/ghci/ByteCodeGen.lhs -> ByteCodeAsm.hs * includes/rts/Constants.h - libraries/base/GHC/Conc.lhs -> libraries/base/GHC/Conc/Sync.hs * includes/rts/storage/FunTypes.h - utils/genapply/GenApply.hs -> utils/genappl/Main.hs - compiler/codeGen/CgCallConv.lhs -> compiler/codeGen/StgCmmLayout.hs * includes/stg/MiscClosures.h - compiler/codeGen/CgStackery.lhs -> compiler/codeGen/StgCmmArgRep.hs - HeapStackCheck.hc -> HeapStackCheck.cmm Reviewers: bgamari, austin, simonmar, erikd Reviewed By: erikd Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D3074
-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);