diff options
-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. */ |