Commit 0ef71740 authored by Gabor Greif's avatar Gabor Greif 💬

Squash typos in comments

parent 016bbfd2
...@@ -241,7 +241,7 @@ cmmLabelOff :: CLabel -> Int -> CmmLit ...@@ -241,7 +241,7 @@ cmmLabelOff :: CLabel -> Int -> CmmLit
cmmLabelOff lbl 0 = CmmLabel lbl cmmLabelOff lbl 0 = CmmLabel lbl
cmmLabelOff lbl byte_off = CmmLabelOff lbl byte_off 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 -- The type is the element type; used for making the multiplier
cmmIndex :: DynFlags cmmIndex :: DynFlags
-> Width -- Width w -> Width -- Width w
......
...@@ -1692,7 +1692,7 @@ initLinker_ (int retain_cafs) ...@@ -1692,7 +1692,7 @@ initLinker_ (int retain_cafs)
barf("ghciInsertSymbolTable failed"); 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, if (! ghciInsertSymbolTable(WSTR("(GHCi built-in symbols)"), symhash,
MAYBE_LEADING_UNDERSCORE_STR("newCAF"), MAYBE_LEADING_UNDERSCORE_STR("newCAF"),
retain_cafs ? newRetainedCAF : newGCdCAF, retain_cafs ? newRetainedCAF : newGCdCAF,
......
...@@ -461,7 +461,7 @@ void traceOSProcessInfo_(void) { ...@@ -461,7 +461,7 @@ void traceOSProcessInfo_(void) {
getpid()); getpid());
#if !defined(cygwin32_HOST_OS) && !defined (mingw32_HOST_OS) #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 * In any case, this trace event is mainly useful for tracing programs
* that use 'forkProcess' which Windows doesn't support anyway. * that use 'forkProcess' which Windows doesn't support anyway.
*/ */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment