Fix comment (old file names) in includes/
authorTakenobu Tani <takenobu.hs@gmail.com>
Sat, 4 Feb 2017 10:24:42 +0000 (10:24 +0000)
committerMatthew Pickering <matthewtpickering@gmail.com>
Sat, 4 Feb 2017 10:26:36 +0000 (10:26 +0000)
[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

includes/rts/Bytecodes.h
includes/rts/Constants.h
includes/rts/storage/FunTypes.h
includes/stg/MiscClosures.h

index 5e1fc28..6ca74bf 100644 (file)
@@ -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 :-)
index 114f30c..bd602e7 100644 (file)
 
 /*
  * 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
index 094bd87..8c56588 100644 (file)
@@ -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  
index 994b369..8894535 100644 (file)
@@ -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);