[commit: ghc] master: Fix comment (old file names) in includes/ (9984024)

git at git.haskell.org git at git.haskell.org
Sat Feb 4 10:33:13 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/9984024a58a277fad23efd09df0ab51cdd39a87a/ghc

>---------------------------------------------------------------

commit 9984024a58a277fad23efd09df0ab51cdd39a87a
Author: Takenobu Tani <takenobu.hs at gmail.com>
Date:   Sat Feb 4 10:24:42 2017 +0000

    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


>---------------------------------------------------------------

9984024a58a277fad23efd09df0ab51cdd39a87a
 includes/rts/Bytecodes.h        | 2 +-
 includes/rts/Constants.h        | 2 +-
 includes/rts/storage/FunTypes.h | 4 ++--
 includes/stg/MiscClosures.h     | 4 ++--
 4 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/includes/rts/Bytecodes.h b/includes/rts/Bytecodes.h
index 5e1fc28..6ca74bf 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 114f30c..bd602e7 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 094bd87..8c56588 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 994b369..8894535 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);
 



More information about the ghc-commits mailing list