[commit: ghc] master: Squash typos in comments (0ef7174)
git at git.haskell.org
git at git.haskell.org
Fri Jun 12 09:23:28 UTC 2015
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/0ef71740f6cc5ffddc08eb610b4add7fbdaab54a/ghc
>---------------------------------------------------------------
commit 0ef71740f6cc5ffddc08eb610b4add7fbdaab54a
Author: Gabor Greif <ggreif at gmail.com>
Date: Mon Jun 8 17:15:09 2015 +0200
Squash typos in comments
>---------------------------------------------------------------
0ef71740f6cc5ffddc08eb610b4add7fbdaab54a
compiler/cmm/CmmUtils.hs | 2 +-
rts/Linker.c | 2 +-
rts/Trace.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/compiler/cmm/CmmUtils.hs b/compiler/cmm/CmmUtils.hs
index d21d703..5495798 100644
--- a/compiler/cmm/CmmUtils.hs
+++ b/compiler/cmm/CmmUtils.hs
@@ -241,7 +241,7 @@ cmmLabelOff :: CLabel -> Int -> CmmLit
cmmLabelOff lbl 0 = CmmLabel lbl
cmmLabelOff lbl byte_off = CmmLabelOff lbl byte_off
--- | Useful for creating an index into an array, with a staticaly known offset.
+-- | Useful for creating an index into an array, with a statically known offset.
-- The type is the element type; used for making the multiplier
cmmIndex :: DynFlags
-> Width -- Width w
diff --git a/rts/Linker.c b/rts/Linker.c
index bbf75bf..f3b170b 100644
--- a/rts/Linker.c
+++ b/rts/Linker.c
@@ -1692,7 +1692,7 @@ initLinker_ (int retain_cafs)
barf("ghciInsertSymbolTable failed");
}
- // Redurect newCAF to newRetainedCAF if retain_cafs is true.
+ // Redirect newCAF to newRetainedCAF if retain_cafs is true.
if (! ghciInsertSymbolTable(WSTR("(GHCi built-in symbols)"), symhash,
MAYBE_LEADING_UNDERSCORE_STR("newCAF"),
retain_cafs ? newRetainedCAF : newGCdCAF,
diff --git a/rts/Trace.c b/rts/Trace.c
index bd4d332..dab7347 100644
--- a/rts/Trace.c
+++ b/rts/Trace.c
@@ -461,7 +461,7 @@ void traceOSProcessInfo_(void) {
getpid());
#if !defined(cygwin32_HOST_OS) && !defined (mingw32_HOST_OS)
-/* Windows has no strong concept of process heirarchy, so no getppid().
+/* Windows has no strong concept of process hierarchy, so no getppid().
* In any case, this trace event is mainly useful for tracing programs
* that use 'forkProcess' which Windows doesn't support anyway.
*/
More information about the ghc-commits
mailing list