diff options
author | John Doe <github.john.doe@outlook.com> | 2018-10-04 18:56:04 -0700 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2018-10-04 18:56:04 -0700 |
commit | af0c1f287d31ca3a641151df60baa7371635f508 (patch) | |
tree | c6e55099e3e5de393fb1f208e0728a824f7dea0f /src | |
parent | da6498e6c1013dd38d33e782bc777bd89aa0f0ee (diff) | |
download | coreclr-af0c1f287d31ca3a641151df60baa7371635f508.tar.gz coreclr-af0c1f287d31ca3a641151df60baa7371635f508.tar.bz2 coreclr-af0c1f287d31ca3a641151df60baa7371635f508.zip |
Typos (#20271)
* oportunistically -> opportunistically
* oppportunity -> opportunity
* Oppporunity -> Opportunity
* optinal -> optional
* optimisitic -> optimistic
* optionaly -> optionally
* origianl -> original
* orignally -> originally
* otheriwse -> otherwise
* otherrwise -> otherwise
Diffstat (limited to 'src')
-rw-r--r-- | src/debug/di/divalue.cpp | 2 | ||||
-rw-r--r-- | src/debug/ee/controller.cpp | 2 | ||||
-rw-r--r-- | src/debug/ildbsymlib/symread.cpp | 2 | ||||
-rw-r--r-- | src/gc/handletablecore.cpp | 2 | ||||
-rw-r--r-- | src/jit/flowgraph.cpp | 2 | ||||
-rw-r--r-- | src/jit/inlinepolicy.cpp | 2 | ||||
-rw-r--r-- | src/md/compiler/custattr_emit.cpp | 2 | ||||
-rw-r--r-- | src/md/winmd/adapter.cpp | 2 | ||||
-rw-r--r-- | src/pal/tests/palsuite/threading/DuplicateHandle/test7/test7.cpp | 2 | ||||
-rw-r--r-- | src/vm/codeversion.cpp | 2 |
10 files changed, 10 insertions, 10 deletions
diff --git a/src/debug/di/divalue.cpp b/src/debug/di/divalue.cpp index 50ecd68aa9..59cd382085 100644 --- a/src/debug/di/divalue.cpp +++ b/src/debug/di/divalue.cpp @@ -1592,7 +1592,7 @@ void * CordbReferenceValue::GetObjectAddress(MemoryRange localValue) void CordbReferenceValue::UpdateTypeInfo() { // If the object type that we got back is different than the one we sent, then it means that we - // orignally had a CLASS and now have something more specific, like a SDARRAY, MDARRAY, or STRING or + // originally had a CLASS and now have something more specific, like a SDARRAY, MDARRAY, or STRING or // a constructed type. // Update our signature accordingly, which is okay since we always have a copy of our sig. This // ensures that the reference's signature accurately reflects what the Runtime knows it's pointing diff --git a/src/debug/ee/controller.cpp b/src/debug/ee/controller.cpp index d88eacda19..9d45037ef0 100644 --- a/src/debug/ee/controller.cpp +++ b/src/debug/ee/controller.cpp @@ -2904,7 +2904,7 @@ DPOSS_ACTION DebuggerController::DispatchPatchOrSingleStep(Thread *thread, CONTE thread, TY_SHORT_CIRCUIT); - // We will only come back here on a RemapOppporunity that wasn't taken, or on a RemapComplete. + // We will only come back here on a RemapOpportunity that wasn't taken, or on a RemapComplete. // If we processed a RemapComplete (which returns TPR_IGNORE_AND_STOP), then don't want to handle // additional breakpoints on the current line because we've already effectively executed to that point // and would have hit them already. If they are new, we also don't want to hit them because eg. if are diff --git a/src/debug/ildbsymlib/symread.cpp b/src/debug/ildbsymlib/symread.cpp index 3fe3c8c9cc..4a3015a5c3 100644 --- a/src/debug/ildbsymlib/symread.cpp +++ b/src/debug/ildbsymlib/symread.cpp @@ -2324,7 +2324,7 @@ HRESULT SymScope::GetNamespaces( ULONG32 cNameSpaces, // [optional] number of entries pNameSpaces ULONG32 *pcNameSpaces, // [optional, out] Maximum number of Namespace - ISymUnmanagedNamespace *pNameSpaces[] // [optinal] array to store namespaces into + ISymUnmanagedNamespace *pNameSpaces[] // [optional] array to store namespaces into ) { HRESULT hr = NOERROR; diff --git a/src/gc/handletablecore.cpp b/src/gc/handletablecore.cpp index 01894381aa..9fadbc2f05 100644 --- a/src/gc/handletablecore.cpp +++ b/src/gc/handletablecore.cpp @@ -1845,7 +1845,7 @@ void SegmentTrimExcessPages(TableSegment *pSegment) // compute the address for the new decommit line size_t dwDecommitAddr = dwLo - OS_PAGE_SIZE; - // assume a decommit line of zero until we know otheriwse + // assume a decommit line of zero until we know otherwise uDecommitLine = 0; // if the address is within the handle area then compute the line from the address diff --git a/src/jit/flowgraph.cpp b/src/jit/flowgraph.cpp index 64fcc8c5b9..f8fe15da74 100644 --- a/src/jit/flowgraph.cpp +++ b/src/jit/flowgraph.cpp @@ -23054,7 +23054,7 @@ GenTree* Compiler::fgInlinePrependStatements(InlineInfo* inlineInfo) /* argBashTmpNode is non-NULL iff the argument's value was referenced exactly once by the original IL. This offers an - oppportunity to avoid an intermediate temp and just insert + opportunity to avoid an intermediate temp and just insert the original argument tree. However, if the temp node has been cloned somewhere while diff --git a/src/jit/inlinepolicy.cpp b/src/jit/inlinepolicy.cpp index 45dc96febc..af727c3515 100644 --- a/src/jit/inlinepolicy.cpp +++ b/src/jit/inlinepolicy.cpp @@ -658,7 +658,7 @@ double DefaultPolicy::DetermineMultiplier() multiplier += 3.0; JITDUMP("\nInline candidate has const arg that feeds a conditional. Multiplier increased to %g.", multiplier); } - // For prejit roots we do not see the call sites. To be suitably optimisitic + // For prejit roots we do not see the call sites. To be suitably optimistic // assume that call sites may pass constants. else if (m_IsPrejitRoot && ((m_ArgFeedsConstantTest > 0) || (m_ArgFeedsTest > 0))) { diff --git a/src/md/compiler/custattr_emit.cpp b/src/md/compiler/custattr_emit.cpp index 3e23600176..507945c521 100644 --- a/src/md/compiler/custattr_emit.cpp +++ b/src/md/compiler/custattr_emit.cpp @@ -1163,7 +1163,7 @@ HRESULT RegMeta::_HandleKnownCustomAttribute( // S_OK or error. dwFlags |= pmSupportsLastError; } - // If an entrypoint name was specified, use it, otherrwise grab the name from the member. + // If an entrypoint name was specified, use it, otherwise grab the name from the member. LPCWSTR wzEntry; if (qNamedArgs[DI_EntryPoint].val.type.tag) { diff --git a/src/md/winmd/adapter.cpp b/src/md/winmd/adapter.cpp index 11db22d283..77108780f9 100644 --- a/src/md/winmd/adapter.cpp +++ b/src/md/winmd/adapter.cpp @@ -1101,7 +1101,7 @@ HRESULT WinMDAdapter::ModifyExportedTypeName( //------------------------------------------------------------------------------ -// We must optionaly add an assembly ref for System.Numerics.Vectors.dll since this assembly is not available +// We must optionally add an assembly ref for System.Numerics.Vectors.dll since this assembly is not available // on downlevel platforms. // // This function assumes that System.Numerics.Vectors.dll is the last assembly that diff --git a/src/pal/tests/palsuite/threading/DuplicateHandle/test7/test7.cpp b/src/pal/tests/palsuite/threading/DuplicateHandle/test7/test7.cpp index bd09283b74..7074d37029 100644 --- a/src/pal/tests/palsuite/threading/DuplicateHandle/test7/test7.cpp +++ b/src/pal/tests/palsuite/threading/DuplicateHandle/test7/test7.cpp @@ -121,7 +121,7 @@ int __cdecl main(int argc, char* argv[]) Fail(""); } - /* Get the priority of the origianl thread, and + /* Get the priority of the original thread, and * compare it to what the duplicate was set to.*/ finalPriority = GetThreadPriority(hThread); if (finalPriority != THREAD_PRIORITY_HIGHEST) diff --git a/src/vm/codeversion.cpp b/src/vm/codeversion.cpp index 06451e9e94..e3425c3789 100644 --- a/src/vm/codeversion.cpp +++ b/src/vm/codeversion.cpp @@ -1522,7 +1522,7 @@ HRESULT MethodDescVersioningState::UndoJumpStampNativeCode(BOOL fEESuspended) // (fContentionPossible == TRUE) // This method will attempt to alter the jump-stamp even if the caller has not prevented // contention, but there is no guarantee it will be succesful. When the caller has prevented -// contention, then success is assured. Callers may oportunistically try without +// contention, then success is assured. Callers may opportunistically try without // EE suspension, and then upgrade to EE suspension if the first attempt fails. // // Assumptions: |