summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/debug/daccess/dacdbiimpl.cpp4
-rw-r--r--src/debug/di/rsappdomain.cpp2
-rw-r--r--src/debug/di/rsclass.cpp2
-rw-r--r--src/debug/di/rstype.cpp2
-rw-r--r--src/gc/gc.cpp2
-rw-r--r--src/ilasm/grammar_after.cpp2
-rw-r--r--src/ilasm/writer.cpp2
-rw-r--r--src/jit/gentree.cpp2
-rw-r--r--src/pal/tests/palsuite/miscellaneous/InterlockedCompareExchange/test2/test.cpp4
-rw-r--r--src/vm/arm64/stubs.cpp2
-rw-r--r--src/vm/assembly.cpp2
-rw-r--r--src/vm/jitinterface.cpp4
12 files changed, 15 insertions, 15 deletions
diff --git a/src/debug/daccess/dacdbiimpl.cpp b/src/debug/daccess/dacdbiimpl.cpp
index 4f15297f03..a85cfa9f32 100644
--- a/src/debug/daccess/dacdbiimpl.cpp
+++ b/src/debug/daccess/dacdbiimpl.cpp
@@ -4485,7 +4485,7 @@ void DacDbiInterfaceImpl::MarkDebuggerAttachPending()
}
else
{
- // Caller should have gauranteed that the LS is loaded.
+ // Caller should have guaranteed that the LS is loaded.
// If we're detaching, then don't throw because we don't care.
ThrowHR(CORDBG_E_NOTREADY);
}
@@ -4521,7 +4521,7 @@ void DacDbiInterfaceImpl::MarkDebuggerAttached(BOOL fAttached)
}
else if (fAttached)
{
- // Caller should have gauranteed that the LS is loaded.
+ // Caller should have guaranteed that the LS is loaded.
// If we're detaching, then don't throw because we don't care.
ThrowHR(CORDBG_E_NOTREADY);
}
diff --git a/src/debug/di/rsappdomain.cpp b/src/debug/di/rsappdomain.cpp
index fdfe657c57..b293896bc5 100644
--- a/src/debug/di/rsappdomain.cpp
+++ b/src/debug/di/rsappdomain.cpp
@@ -399,7 +399,7 @@ void CordbAppDomain::AssemblyEnumerationCallback(VMPTR_DomainAssembly vmDomainAs
// NULL on failure, and sets unrecoverable error.
//
// Assumptions:
-// Caller gaurantees assembly is not already added.
+// Caller guarantees assembly is not already added.
// Called under the stop-go lock.
//
// Notes:
diff --git a/src/debug/di/rsclass.cpp b/src/debug/di/rsclass.cpp
index f0cdda4a0b..ff8246685c 100644
--- a/src/debug/di/rsclass.cpp
+++ b/src/debug/di/rsclass.cpp
@@ -815,7 +815,7 @@ BOOL CordbClass::GotUnallocatedStatic(DacDbiArrayList<FieldData> * pFieldList)
{
// The address for a regular static field isn't available yet
// How can this happen? Statics appear to get allocated during domain load.
- // There may be some lazieness or a race-condition involved.
+ // There may be some laziness or a race-condition involved.
fGotUnallocatedStatic = TRUE;
}
++count;
diff --git a/src/debug/di/rstype.cpp b/src/debug/di/rstype.cpp
index d0a245186a..f180982404 100644
--- a/src/debug/di/rstype.cpp
+++ b/src/debug/di/rstype.cpp
@@ -1854,7 +1854,7 @@ CordbType::GetUnboxedObjectSize(ULONG32 *pObjectSize)
}
else
{
- // Caller gaurantees that we're not a class. And the check above guarantees we're not a value-type.
+ // Caller guarantees that we're not a class. And the check above guarantees we're not a value-type.
// So we're some sort of primitive, and thus we can determine size from the signature.
//
// @dbgtodo inspection - We didn't have this assert in Whidbey, and it's firing in vararg
diff --git a/src/gc/gc.cpp b/src/gc/gc.cpp
index 157ed9850a..08a10509e0 100644
--- a/src/gc/gc.cpp
+++ b/src/gc/gc.cpp
@@ -17507,7 +17507,7 @@ void gc_heap::enque_pinned_plug (uint8_t* plug,
}
}
- dprintf (3, ("enquing P #%Id(%Ix): %Ix. oldest: %Id, LO: %Ix, pre: %d",
+ dprintf (3, ("enqueuing P #%Id(%Ix): %Ix. oldest: %Id, LO: %Ix, pre: %d",
mark_stack_tos, &mark_stack_array[mark_stack_tos], plug, mark_stack_bos, last_object_in_last_plug, (save_pre_plug_info_p ? 1 : 0)));
mark& m = mark_stack_array[mark_stack_tos];
m.first = plug;
diff --git a/src/ilasm/grammar_after.cpp b/src/ilasm/grammar_after.cpp
index 53d141db54..7764c8d63e 100644
--- a/src/ilasm/grammar_after.cpp
+++ b/src/ilasm/grammar_after.cpp
@@ -1259,7 +1259,7 @@ AGAIN:
}
break;
- // Modifiers or depedant types
+ // Modifiers or dependent types
case ELEMENT_TYPE_PINNED :
case ELEMENT_TYPE_PTR :
case ELEMENT_TYPE_BYREF :
diff --git a/src/ilasm/writer.cpp b/src/ilasm/writer.cpp
index 624c474bde..7f92558fe0 100644
--- a/src/ilasm/writer.cpp
+++ b/src/ilasm/writer.cpp
@@ -176,7 +176,7 @@ HRESULT Assembler::CreateTLSDirectory() {
tlsDir->AddressOfIndex = VALPTR(tlsIndexOffset);
if(FAILED(hr=m_pCeeFileGen->AddSectionReloc(tlsDirSec, tlsDirOffset + offsetofAddressOfIndex, m_pGlobalDataSection, srRelocHighLow))) return(hr);
- // Set addres of callbacks chain
+ // Set address of callbacks chain
tlsDir->AddressOfCallBacks = VALPTR((DWORD)(DWORD_PTR)(PIMAGE_TLS_CALLBACK*)(size_t)(tlsDirOffset + sizeofdir));
if(FAILED(hr=m_pCeeFileGen->AddSectionReloc(tlsDirSec, tlsDirOffset + offsetofAddressOfCallBacks, tlsDirSec, srRelocHighLow))) return(hr);
diff --git a/src/jit/gentree.cpp b/src/jit/gentree.cpp
index 93d9df1157..2f617b62c9 100644
--- a/src/jit/gentree.cpp
+++ b/src/jit/gentree.cpp
@@ -3484,7 +3484,7 @@ unsigned Compiler::gtSetEvalOrder(GenTree* tree)
case GT_NEG:
// We need to ensure that -x is evaluated before x or else
// we get burned while adjusting genFPstkLevel in x*-x where
- // the rhs x is the last use of the enregsitered x.
+ // the rhs x is the last use of the enregistered x.
//
// Even in the integer case we want to prefer to
// evaluate the side without the GT_NEG node, all other things
diff --git a/src/pal/tests/palsuite/miscellaneous/InterlockedCompareExchange/test2/test.cpp b/src/pal/tests/palsuite/miscellaneous/InterlockedCompareExchange/test2/test.cpp
index 902f626d47..568380b274 100644
--- a/src/pal/tests/palsuite/miscellaneous/InterlockedCompareExchange/test2/test.cpp
+++ b/src/pal/tests/palsuite/miscellaneous/InterlockedCompareExchange/test2/test.cpp
@@ -117,8 +117,8 @@ void ModifyGlobalResource(void)
AcquireLock(&Lock);
/*
- The following set of operations is gauranteed to be atomic by virtue of the fact
- that InterLockedCompareExchange was able to gaurantee that the compare
+ The following set of operations is guaranteed to be atomic by virtue of the fact
+ that InterLockedCompareExchange was able to guarantee that the compare
and exchange operation on pLock was thread safe. If the same set of code was
executed without using InterlockedCompareExchange the code would fail most of
time.
diff --git a/src/vm/arm64/stubs.cpp b/src/vm/arm64/stubs.cpp
index a236e28f2e..38779b7820 100644
--- a/src/vm/arm64/stubs.cpp
+++ b/src/vm/arm64/stubs.cpp
@@ -2037,7 +2037,7 @@ PCODE DynamicHelpers::CreateReturnConst(LoaderAllocator * pAllocator, TADDR arg)
BEGIN_DYNAMIC_HELPER_EMIT(16);
- // ldr x0, <lable>
+ // ldr x0, <label>
*(DWORD*)p = 0x58000040;
p += 4;
diff --git a/src/vm/assembly.cpp b/src/vm/assembly.cpp
index e93d2c3466..6b2c3b8a15 100644
--- a/src/vm/assembly.cpp
+++ b/src/vm/assembly.cpp
@@ -1894,7 +1894,7 @@ MethodDesc* Assembly::GetEntryPoint()
// byMDInternalRO::FindParamOfMethod and we will bail out.
//
// If it does not exist (return value CLDB_E_RECORD_NOTFOUND) or if it is found (S_OK),
- // we do not bother as the values would have come upon ensurin a valid parameter record
+ // we do not bother as the values would have come upon ensuring a valid parameter record
// list.
mdParamDef pdParam;
HRESULT hrValidParamList = pModule->GetMDImport()->FindParamOfMethod(mdEntry, 0, &pdParam);
diff --git a/src/vm/jitinterface.cpp b/src/vm/jitinterface.cpp
index 80c5e65f35..53ce50ce37 100644
--- a/src/vm/jitinterface.cpp
+++ b/src/vm/jitinterface.cpp
@@ -11496,8 +11496,8 @@ void CEEJitInfo::recordRelocation(void * location,
// Write the 21 bits pc-relative page address into location.
INT64 targetPage = (INT64)target & 0xFFFFFFFFFFFFF000LL;
- INT64 lcoationPage = (INT64)location & 0xFFFFFFFFFFFFF000LL;
- INT64 relPage = (INT64)(targetPage - lcoationPage);
+ INT64 locationPage = (INT64)location & 0xFFFFFFFFFFFFF000LL;
+ INT64 relPage = (INT64)(targetPage - locationPage);
INT32 imm21 = (INT32)(relPage >> 12) & 0x1FFFFF;
PutArm64Rel21((UINT32 *)location, imm21);
}