diff options
author | Gabor Greif <ggreif@gmail.com> | 2015-06-08 17:15:09 +0200 |
---|---|---|
committer | Gabor Greif <ggreif@gmail.com> | 2015-06-12 11:23:34 +0200 |
commit | 0ef71740f6cc5ffddc08eb610b4add7fbdaab54a (patch) | |
tree | 57b336b7687d20fcf92acebc1e6631f4d35f7671 | |
parent | 016bbfd261b91193baa99ec008b469a70c66b8be (diff) | |
download | haskell-0ef71740f6cc5ffddc08eb610b4add7fbdaab54a.tar.gz |
Squash typos in comments
-rw-r--r-- | compiler/cmm/CmmUtils.hs | 2 | ||||
-rw-r--r-- | rts/Linker.c | 2 | ||||
-rw-r--r-- | rts/Trace.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/compiler/cmm/CmmUtils.hs b/compiler/cmm/CmmUtils.hs index d21d703e58..5495798ff4 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 bbf75bfd79..f3b170b501 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 bd4d332eac..dab7347e5c 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. */ |