Typo (#18266)
authorJohn Doe <github.john.doe@outlook.com>
Sun, 3 Jun 2018 22:07:51 +0000 (15:07 -0700)
committerDan Moseley <danmose@microsoft.com>
Sun, 3 Jun 2018 22:07:51 +0000 (15:07 -0700)
* addres -> address

* depedant -> dependent

* gaurantee -> guarantee

* gaurantees -> guarantees

* lable -> label

* lazieness -> laziness

* lcoation -> location

* enquing -> enqueuing

* enregsitered -> enregistered

* ensurin -> ensuring

12 files changed:
src/debug/daccess/dacdbiimpl.cpp
src/debug/di/rsappdomain.cpp
src/debug/di/rsclass.cpp
src/debug/di/rstype.cpp
src/gc/gc.cpp
src/ilasm/grammar_after.cpp
src/ilasm/writer.cpp
src/jit/gentree.cpp
src/pal/tests/palsuite/miscellaneous/InterlockedCompareExchange/test2/test.cpp
src/vm/arm64/stubs.cpp
src/vm/assembly.cpp
src/vm/jitinterface.cpp

index 4f15297..a85cfa9 100644 (file)
@@ -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);
     }
index fdfe657..b293896 100644 (file)
@@ -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:
index f0cdda4..ff82466 100644 (file)
@@ -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;
index d0a2451..f180982 100644 (file)
@@ -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 
index 157ed98..08a1050 100644 (file)
@@ -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;
index 53d141d..7764c8d 100644 (file)
@@ -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                 :
index 624c474..7f92558 100644 (file)
@@ -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);
         
index 93d9df1..2f617b6 100644 (file)
@@ -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
index 902f626..568380b 100644 (file)
@@ -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.
index a236e28..38779b7 100644 (file)
@@ -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;
     
index e93d2c3..6b2c3b8 100644 (file)
@@ -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);
index 80c5e65..53ce50c 100644 (file)
@@ -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);
         }