diff options
author | Brian Wignall <brianwignall@gmail.com> | 2019-11-26 08:26:41 -0500 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2019-11-28 02:54:52 -0500 |
commit | 3748ba3a01f81078025b86023833784055d1af57 (patch) | |
tree | f5df08b667ac13c9dc28160aee08fec1a216a0bd /rts | |
parent | 5f84b52a9c439ae2739bf1899a2adbae9c6d4f67 (diff) | |
download | haskell-3748ba3a01f81078025b86023833784055d1af57.tar.gz |
Fix typos, using Wikipedia list of common typos
Diffstat (limited to 'rts')
-rw-r--r-- | rts/Apply.cmm | 2 | ||||
-rw-r--r-- | rts/Hpc.c | 2 | ||||
-rw-r--r-- | rts/LinkerInternals.h | 2 | ||||
-rw-r--r-- | rts/StgCRun.c | 2 | ||||
-rw-r--r-- | rts/linker/MachO.c | 2 | ||||
-rw-r--r-- | rts/linker/PEi386.c | 4 | ||||
-rw-r--r-- | rts/sm/NonMoving.c | 2 | ||||
-rw-r--r-- | rts/sm/NonMovingMark.c | 2 |
8 files changed, 9 insertions, 9 deletions
diff --git a/rts/Apply.cmm b/rts/Apply.cmm index eeb760c5ed..dcfaa446f2 100644 --- a/rts/Apply.cmm +++ b/rts/Apply.cmm @@ -571,7 +571,7 @@ being carried out by TSO 2 and attempt to suspend it. The suspension process proceeds by invoking raiseAsync, which walks the stack from the top looking for update frames. For each update frame we take any stack -frames preceeding it and construct an AP_STACK heap object from them. We then +frames preceding it and construct an AP_STACK heap object from them. We then replace the updatee of the frame with an indirection pointing to the AP_STACK. So, after suspending the first update frame we have, @@ -373,7 +373,7 @@ freeHpcModuleInfo (HpcModuleInfo *mod) } /* Called at the end of execution, to write out the Hpc *.tix file - * for this exection. Safe to call, even if coverage is not used. + * for this execution. Safe to call, even if coverage is not used. */ void exitHpc(void) { diff --git a/rts/LinkerInternals.h b/rts/LinkerInternals.h index 5cd35f2e5b..0f47b82761 100644 --- a/rts/LinkerInternals.h +++ b/rts/LinkerInternals.h @@ -361,7 +361,7 @@ void freeSegments(ObjectCode *oc); #define MAP_ANONYMOUS MAP_ANON #endif -/* Which object file format are we targetting? */ +/* Which object file format are we targeting? */ #if defined(linux_HOST_OS) || defined(solaris2_HOST_OS) \ || defined(linux_android_HOST_OS) \ || defined(freebsd_HOST_OS) || defined(kfreebsdgnu_HOST_OS) \ diff --git a/rts/StgCRun.c b/rts/StgCRun.c index 934926e0f3..a6ef7054a4 100644 --- a/rts/StgCRun.c +++ b/rts/StgCRun.c @@ -131,7 +131,7 @@ STG_NO_OPTIMIZE StgWord8 *win32AllocStack(void) * ABI requires this (x64, Mac OSX 32bit/64bit) as well as interfacing with * other libraries through the FFI. * - * As part of this arrangment we must maintain the stack at a 16-byte boundary + * As part of this arrangement we must maintain the stack at a 16-byte boundary * - word_size-bytes (so 16n - 4 for i386 and 16n - 8 for x64) on entry to a * procedure since both GCC and LLVM expect this. This is because the stack * should have been 16-byte boundary aligned and then a call made which pushes diff --git a/rts/linker/MachO.c b/rts/linker/MachO.c index 5ae7620fc7..12e84578fc 100644 --- a/rts/linker/MachO.c +++ b/rts/linker/MachO.c @@ -427,7 +427,7 @@ isGotLoad(struct relocation_info * ri) { /* This is very similar to makeSymbolExtra * However, as we load sections into different - * pages, that may be further appart than + * pages, that may be further apart than * branching allows, we'll use some extra * space at the end of each section allocated * for stubs. diff --git a/rts/linker/PEi386.c b/rts/linker/PEi386.c index 2f65f6a208..81308779a1 100644 --- a/rts/linker/PEi386.c +++ b/rts/linker/PEi386.c @@ -105,7 +105,7 @@ contain the name of the actual dll to load. This will be the only content of the section. In the symbol table, the last symbol will be the name used to refer to the dll in the relocation tables. This name will always - be in the format "symbol_name_iname", however when refered to, the format + be in the format "symbol_name_iname", however when referred to, the format "_head_symbol_name" is used. We record this symbol early on during GetNames and load the dll and use @@ -1535,7 +1535,7 @@ ocGetNames_PEi386 ( ObjectCode* oc ) } setImportSymbol (oc, sname); - /* Don't process this oc any futher. Just exit. */ + /* Don't process this oc any further. Just exit. */ oc->n_symbols = 0; oc->symbols = NULL; stgFree (oc->image); diff --git a/rts/sm/NonMoving.c b/rts/sm/NonMoving.c index 20ec5a45ba..d13989cc53 100644 --- a/rts/sm/NonMoving.c +++ b/rts/sm/NonMoving.c @@ -890,7 +890,7 @@ void nonmovingCollect(StgWeak **dead_weaks, StgTSO **resurrected_threads) // If we're interrupting or shutting down, do not let this capability go and // run a STW collection. Reason: we won't be able to acquire this capability // again for the sync if we let it go, because it'll immediately start doing - // a major GC, becuase that's what we do when exiting scheduler (see + // a major GC, because that's what we do when exiting scheduler (see // exitScheduler()). if (sched_state == SCHED_RUNNING) { concurrent_coll_running = true; diff --git a/rts/sm/NonMovingMark.c b/rts/sm/NonMovingMark.c index 085d7827df..3ebd039c43 100644 --- a/rts/sm/NonMovingMark.c +++ b/rts/sm/NonMovingMark.c @@ -88,7 +88,7 @@ memcount n_nonmoving_marked_compact_blocks = 0; * move the same large object to nonmoving_marked_large_objects more than once. */ static Mutex nonmoving_large_objects_mutex; -// Note that we don't need a similar lock for compact objects becuase we never +// Note that we don't need a similar lock for compact objects because we never // mark a compact object eagerly in a write barrier; all compact objects are // marked by the mark thread, so there can't be any races here. #endif |