summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakenobu Tani <takenobu.hs@gmail.com>2017-02-04 10:24:49 +0000
committerMatthew Pickering <matthewtpickering@gmail.com>2017-02-04 10:27:01 +0000
commit31bb85ffc4b68b5e2625ae374822ab8e8548eecc (patch)
tree41a01695dc4b9632ba2aa9de85bbe64680a08972
parent9984024a58a277fad23efd09df0ab51cdd39a87a (diff)
downloadhaskell-31bb85ffc4b68b5e2625ae374822ab8e8548eecc.tar.gz
Fix comment (old file names) in rts/
[skip ci] There ware some old file names (.lhs, ...) at comments. * rts/win32/ThrIOManager.c - Conc.lhs -> Conc.hs * rts/PrimOps.cmm - ByteCodeLink.lhs -> ByteCodeLink.hs - StgMiscClosures.hc -> StgMiscClosures.cmm * rts/AutoApply.h - AutoApply.hc -> AutoApply.cmm * rts/HeapStackCheck.cmm - PrimOps.hc -> PrimOps.cmm * rts/LdvProfile.h - Updates.hc -> Updates.cmm * rts/Schedule.c - StgStartup.hc -> StgStartup.cmm * rts/Weak.c - StgMiscClosures.hc -> StgMiscClosures.cmm Reviewers: bgamari, austin, erikd, simonmar Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D3075
-rw-r--r--rts/AutoApply.h2
-rw-r--r--rts/HeapStackCheck.cmm2
-rw-r--r--rts/LdvProfile.h2
-rw-r--r--rts/PrimOps.cmm4
-rw-r--r--rts/Schedule.c2
-rw-r--r--rts/Weak.c2
-rw-r--r--rts/win32/ThrIOManager.c2
7 files changed, 8 insertions, 8 deletions
diff --git a/rts/AutoApply.h b/rts/AutoApply.h
index 4e441ca18b..b73e666ba9 100644
--- a/rts/AutoApply.h
+++ b/rts/AutoApply.h
@@ -2,7 +2,7 @@
*
* (c) The University of Glasgow 2002-2004
*
- * Helper bits for the generic apply code (AutoApply.hc)
+ * Helper bits for the generic apply code (AutoApply.cmm)
*
* -------------------------------------------------------------------------- */
diff --git a/rts/HeapStackCheck.cmm b/rts/HeapStackCheck.cmm
index 69bff74f41..9bfe37ebd4 100644
--- a/rts/HeapStackCheck.cmm
+++ b/rts/HeapStackCheck.cmm
@@ -526,7 +526,7 @@ stg_block_noregs
* ptr to MVar (R1)
* stg_block_putmvar_info
*
- * See PrimOps.hc for a description of the workings of take/putMVar.
+ * See PrimOps.cmm for a description of the workings of take/putMVar.
*
* -------------------------------------------------------------------------- */
diff --git a/rts/LdvProfile.h b/rts/LdvProfile.h
index e515715bc3..7475dc15da 100644
--- a/rts/LdvProfile.h
+++ b/rts/LdvProfile.h
@@ -21,7 +21,7 @@ RTS_PRIVATE void LdvCensusKillAll ( void );
// address 'from'.
//
// Invoked when:
-// 1) Hp is incremented and exceeds HpLim (in Updates.hc).
+// 1) Hp is incremented and exceeds HpLim (in Updates.cmm).
// 2) copypart() is called (in GC.c).
#define LDV_FILL_SLOP(from, howMany) \
if (era > 0) { \
diff --git a/rts/PrimOps.cmm b/rts/PrimOps.cmm
index d6cdb3d535..4baf63a8f7 100644
--- a/rts/PrimOps.cmm
+++ b/rts/PrimOps.cmm
@@ -723,7 +723,7 @@ stg_finalizzeWeakzh ( gcptr w )
// LDV_recordDead((StgClosure *)w, sizeofW(StgWeak) - sizeofW(StgProfHeader));
// Furthermore, when PROFILING is turned on, dead weak pointers are exactly as
// large as weak pointers, so there is no need to fill the slop, either.
- // See stg_DEAD_WEAK_info in StgMiscClosures.hc.
+ // See stg_DEAD_WEAK_info in StgMiscClosures.cmm.
#endif
//
@@ -1968,7 +1968,7 @@ stg_mkApUpd0zh ( P_ bco )
W_ ap;
// This function is *only* used to wrap zero-arity BCOs in an
- // updatable wrapper (see ByteCodeLink.lhs). An AP thunk is always
+ // updatable wrapper (see ByteCodeLink.hs). An AP thunk is always
// saturated and always points directly to a FUN or BCO.
ASSERT(%INFO_TYPE(%GET_STD_INFO(bco)) == HALF_W_(BCO) &&
StgBCO_arity(bco) == HALF_W_(0));
diff --git a/rts/Schedule.c b/rts/Schedule.c
index 02d8137a2c..a4d0c1da80 100644
--- a/rts/Schedule.c
+++ b/rts/Schedule.c
@@ -1323,7 +1323,7 @@ scheduleHandleThreadFinished (Capability *cap STG_UNUSED, Task *task, StgTSO *t)
if (t->what_next == ThreadComplete) {
if (task->incall->ret) {
- // NOTE: return val is stack->sp[1] (see StgStartup.hc)
+ // NOTE: return val is stack->sp[1] (see StgStartup.cmm)
*(task->incall->ret) = (StgClosure *)task->incall->tso->stackobj->sp[1];
}
task->incall->rstat = Success;
diff --git a/rts/Weak.c b/rts/Weak.c
index 1974bb972e..46a853d6ff 100644
--- a/rts/Weak.c
+++ b/rts/Weak.c
@@ -110,7 +110,7 @@ scheduleFinalizers(Capability *cap, StgWeak *list)
// Furthermore, when PROFILING is turned on, dead weak
// pointers are exactly as large as weak pointers, so there is
// no need to fill the slop, either. See stg_DEAD_WEAK_info
- // in StgMiscClosures.hc.
+ // in StgMiscClosures.cmm.
#endif
SET_HDR(w, &stg_DEAD_WEAK_info, w->header.prof.ccs);
}
diff --git a/rts/win32/ThrIOManager.c b/rts/win32/ThrIOManager.c
index 56042ddc77..13c5e220bb 100644
--- a/rts/win32/ThrIOManager.c
+++ b/rts/win32/ThrIOManager.c
@@ -3,7 +3,7 @@
* (c) The GHC Team, 1998-2006
*
* The IO manager thread in THREADED_RTS.
- * See also libraries/base/GHC/Conc.lhs.
+ * See also libraries/base/GHC/Conc.hs.
*
* ---------------------------------------------------------------------------*/