diff options
author | Eric Lindblad <lindblad@gmx.us> | 2022-05-13 15:40:55 -0500 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2022-06-01 07:44:51 -0400 |
commit | 514a6a28db16793d6d2ca8fe7863e82943f56374 (patch) | |
tree | 5e35392d37250050e192d11790bdefa7011f8862 /rts/include | |
parent | ef7ddd7348070a9149d162217280c0a50f2b213d (diff) | |
download | haskell-514a6a28db16793d6d2ca8fe7863e82943f56374.tar.gz |
typos
Diffstat (limited to 'rts/include')
-rw-r--r-- | rts/include/RtsAPI.h | 2 | ||||
-rw-r--r-- | rts/include/ghc.mk | 2 | ||||
-rw-r--r-- | rts/include/rts/TSANUtils.h | 2 | ||||
-rw-r--r-- | rts/include/rts/storage/ClosureMacros.h | 2 | ||||
-rw-r--r-- | rts/include/stg/SMP.h | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/rts/include/RtsAPI.h b/rts/include/RtsAPI.h index b6ea88623c..672673498f 100644 --- a/rts/include/RtsAPI.h +++ b/rts/include/RtsAPI.h @@ -141,7 +141,7 @@ typedef struct GCDetails_ { uint32_t threads; // Number of bytes allocated since the previous GC uint64_t allocated_bytes; - // Total amount of live data in the heap (incliudes large + compact data). + // Total amount of live data in the heap (includes large + compact data). // Updated after every GC. Data in uncollected generations (in minor GCs) // are considered live. uint64_t live_bytes; diff --git a/rts/include/ghc.mk b/rts/include/ghc.mk index 92a70538d1..074af66078 100644 --- a/rts/include/ghc.mk +++ b/rts/include/ghc.mk @@ -47,7 +47,7 @@ includes_H_FILES_GENERATED = \ ghcplatform.h # Unlike above, include generated files. We still need the previous list -# without the generated files separtely and not just as part of this due to +# without the generated files separately and not just as part of this due to # lingering issues like the derived constants generation snooping the RTS # headers. includes_dist_H_FILES = \ diff --git a/rts/include/rts/TSANUtils.h b/rts/include/rts/TSANUtils.h index 72f4541a89..ddcf108041 100644 --- a/rts/include/rts/TSANUtils.h +++ b/rts/include/rts/TSANUtils.h @@ -41,7 +41,7 @@ #if defined(TSAN_ENABLED) #if !defined(HAVE_C11_ATOMICS) -#error TSAN cannot be enabled without C11 atomics suppoort. +#error TSAN cannot be enabled without C11 atomics support. #endif #define TSAN_ANNOTATE_HAPPENS_BEFORE(addr) \ diff --git a/rts/include/rts/storage/ClosureMacros.h b/rts/include/rts/storage/ClosureMacros.h index d3ceca4805..34e07ae553 100644 --- a/rts/include/rts/storage/ClosureMacros.h +++ b/rts/include/rts/storage/ClosureMacros.h @@ -589,7 +589,7 @@ overwritingMutableClosureOfs (StgClosure *p, uint32_t offset) // - shrinkSmallMutableArray# (SMALL_MUT_ARR_PTRS) // // we can safely omit the Ldv_recordDead call. Since these closures are - // considered inherenlty used we don't need to track their destruction. + // considered inherently used we don't need to track their destruction. #if defined(PROFILING) ASSERT(isInherentlyUsed(get_itbl(p)->type) == true); #endif diff --git a/rts/include/stg/SMP.h b/rts/include/stg/SMP.h index 696ec737ac..1bb6ca06a0 100644 --- a/rts/include/stg/SMP.h +++ b/rts/include/stg/SMP.h @@ -80,7 +80,7 @@ EXTERN_INLINE StgWord atomic_dec(StgVolatilePtr p); /* * Busy-wait nop: this is a hint to the CPU that we are currently in a * busy-wait loop waiting for another CPU to change something. On a - * hypertreaded CPU it should yield to another thread, for example. + * hyperthreaded CPU it should yield to another thread, for example. */ EXTERN_INLINE void busy_wait_nop(void); |