Typo correction (dotnet/coreclr#10482)
authorOfer Zelig <oferze@users.noreply.github.com>
Sat, 25 Mar 2017 15:31:45 +0000 (02:31 +1100)
committerJan Kotas <jkotas@microsoft.com>
Sat, 25 Mar 2017 15:31:45 +0000 (08:31 -0700)
Commit migrated from https://github.com/dotnet/coreclr/commit/ab849639db83ee65e51838ef147cee8d21b813c7

15 files changed:
src/coreclr/src/ToolBox/superpmi/superpmi-shared/icorjitinfoimpl.h
src/coreclr/src/ToolBox/superpmi/superpmi-shim-collector/icorjitinfo.cpp
src/coreclr/src/ToolBox/superpmi/superpmi-shim-counter/icorjitinfo.cpp
src/coreclr/src/ToolBox/superpmi/superpmi-shim-simple/icorjitinfo.cpp
src/coreclr/src/ToolBox/superpmi/superpmi/icorjitinfo.cpp
src/coreclr/src/gc/gc.cpp
src/coreclr/src/inc/corinfo.h
src/coreclr/src/inc/formattype.cpp
src/coreclr/src/md/hotdata/hotdataformat.h
src/coreclr/src/mscorlib/src/System/Diagnostics/Eventing/TraceLogging/EventSourceActivity.cs
src/coreclr/src/utilcode/prettyprintsig.cpp
src/coreclr/src/vm/debughelp.cpp
src/coreclr/src/vm/gchelpers.cpp
src/coreclr/src/vm/methodtablebuilder.cpp
src/coreclr/src/vm/prestub.cpp

index 9385cf7..3590318 100644 (file)
@@ -382,7 +382,7 @@ public:
     // in representing of 'cls' from a GC perspective.  The class is
     // assumed to be an array of machine words
     // (of length // getClassSize(cls) / sizeof(void*)),
-    // 'gcPtrs' is a poitner to an array of BYTEs of this length.
+    // 'gcPtrs' is a pointer to an array of BYTEs of this length.
     // getClassGClayout fills in this array so that gcPtrs[i] is set
     // to one of the CorInfoGCType values which is the GC type of
     // the i-th machine word of an object of type 'cls'
@@ -454,7 +454,7 @@ public:
     // value into a particular location and thus has the signature
     //     void unboxHelper(void* dest, CORINFO_CLASS_HANDLE cls, Object* obj)
     // Otherwise (it is null or points at a FALSE value) it is requesting 
-    // a helper that returns a poitner to the unboxed data 
+    // a helper that returns a pointer to the unboxed data 
     //     void* unboxHelper(CORINFO_CLASS_HANDLE cls, Object* obj)
     // The EE has the option of NOT returning the copy style helper
     // (But must be able to always honor the non-copy style helper)
index 01e98cd..0952a95 100644 (file)
@@ -713,7 +713,7 @@ unsigned interceptor_ICJI::getClassAlignmentRequirement (
 // in representing of 'cls' from a GC perspective.  The class is
 // assumed to be an array of machine words
 // (of length // getClassSize(cls) / sizeof(void*)),
-// 'gcPtrs' is a poitner to an array of BYTEs of this length.
+// 'gcPtrs' is a pointer to an array of BYTEs of this length.
 // getClassGClayout fills in this array so that gcPtrs[i] is set
 // to one of the CorInfoGCType values which is the GC type of
 // the i-th machine word of an object of type 'cls'
@@ -852,7 +852,7 @@ CorInfoHelpFunc interceptor_ICJI::getBoxHelper(
 // value into a particular location and thus has the signature
 //     void unboxHelper(void* dest, CORINFO_CLASS_HANDLE cls, Object* obj)
 // Otherwise (it is null or points at a FALSE value) it is requesting
-// a helper that returns a poitner to the unboxed data
+// a helper that returns a pointer to the unboxed data
 //     void* unboxHelper(CORINFO_CLASS_HANDLE cls, Object* obj)
 // The EE has the option of NOT returning the copy style helper
 // (But must be able to always honor the non-copy style helper)
index 705b1e8..c3a101e 100644 (file)
@@ -567,7 +567,7 @@ unsigned interceptor_ICJI::getClassAlignmentRequirement (
 // in representing of 'cls' from a GC perspective.  The class is
 // assumed to be an array of machine words
 // (of length // getClassSize(cls) / sizeof(void*)),
-// 'gcPtrs' is a poitner to an array of BYTEs of this length.
+// 'gcPtrs' is a pointer to an array of BYTEs of this length.
 // getClassGClayout fills in this array so that gcPtrs[i] is set
 // to one of the CorInfoGCType values which is the GC type of
 // the i-th machine word of an object of type 'cls'
@@ -683,7 +683,7 @@ CorInfoHelpFunc interceptor_ICJI::getBoxHelper(
 // value into a particular location and thus has the signature
 //     void unboxHelper(void* dest, CORINFO_CLASS_HANDLE cls, Object* obj)
 // Otherwise (it is null or points at a FALSE value) it is requesting
-// a helper that returns a poitner to the unboxed data
+// a helper that returns a pointer to the unboxed data
 //     void* unboxHelper(CORINFO_CLASS_HANDLE cls, Object* obj)
 // The EE has the option of NOT returning the copy style helper
 // (But must be able to always honor the non-copy style helper)
index 9783983..81e2e44 100644 (file)
@@ -515,7 +515,7 @@ unsigned interceptor_ICJI::getClassAlignmentRequirement (
 // in representing of 'cls' from a GC perspective.  The class is
 // assumed to be an array of machine words
 // (of length // getClassSize(cls) / sizeof(void*)),
-// 'gcPtrs' is a poitner to an array of BYTEs of this length.
+// 'gcPtrs' is a pointer to an array of BYTEs of this length.
 // getClassGClayout fills in this array so that gcPtrs[i] is set
 // to one of the CorInfoGCType values which is the GC type of
 // the i-th machine word of an object of type 'cls'
@@ -620,7 +620,7 @@ CorInfoHelpFunc interceptor_ICJI::getBoxHelper(
 // value into a particular location and thus has the signature
 //     void unboxHelper(void* dest, CORINFO_CLASS_HANDLE cls, Object* obj)
 // Otherwise (it is null or points at a FALSE value) it is requesting
-// a helper that returns a poitner to the unboxed data
+// a helper that returns a pointer to the unboxed data
 //     void* unboxHelper(CORINFO_CLASS_HANDLE cls, Object* obj)
 // The EE has the option of NOT returning the copy style helper
 // (But must be able to always honor the non-copy style helper)
index 91ebb4d..e0aebd6 100644 (file)
@@ -622,7 +622,7 @@ unsigned MyICJI::getClassAlignmentRequirement (
 // in representing of 'cls' from a GC perspective.  The class is
 // assumed to be an array of machine words
 // (of length // getClassSize(cls) / sizeof(void*)),
-// 'gcPtrs' is a poitner to an array of BYTEs of this length.
+// 'gcPtrs' is a pointer to an array of BYTEs of this length.
 // getClassGClayout fills in this array so that gcPtrs[i] is set
 // to one of the CorInfoGCType values which is the GC type of
 // the i-th machine word of an object of type 'cls'
@@ -739,7 +739,7 @@ CorInfoHelpFunc MyICJI::getBoxHelper(
 // value into a particular location and thus has the signature
 //     void unboxHelper(void* dest, CORINFO_CLASS_HANDLE cls, Object* obj)
 // Otherwise (it is null or points at a FALSE value) it is requesting
-// a helper that returns a poitner to the unboxed data
+// a helper that returns a pointer to the unboxed data
 //     void* unboxHelper(CORINFO_CLASS_HANDLE cls, Object* obj)
 // The EE has the option of NOT returning the copy style helper
 // (But must be able to always honor the non-copy style helper)
index a1a691e..bacef7f 100644 (file)
@@ -36744,7 +36744,7 @@ inline void testGCShadow(Object** ptr)
     if (*ptr != 0 && (uint8_t*) shadow < g_GCShadowEnd && *ptr != *shadow)
     {
 
-        // If you get this assertion, someone updated a GC poitner in the heap without
+        // If you get this assertion, someone updated a GC pointer in the heap without
         // using the write barrier.  To find out who, check the value of 
         // dd_collection_count (dynamic_data_of (0)). Also
         // note the value of 'ptr'.  Rerun the App that the previous GC just occurred.
index e16a580..ccb1929 100644 (file)
@@ -149,7 +149,7 @@ The first 4 options are mutially exclusive
 This last field can modify any of the cases above except CORINFO_FLG_HELPER
 
 CORINFO_FLG_STATIC_IN_HEAP This is currently only used for static fields of value classes. If the field has
-this set then after computing what would normally be the field, what you actually get is a object poitner
+this set then after computing what would normally be the field, what you actually get is a object pointer
 (that must be reported to the GC) to a boxed version of the value. Thus the actual field address is computed
 by addr = (*addr+sizeof(OBJECTREF))
 
@@ -2301,7 +2301,7 @@ public:
     // in representing of 'cls' from a GC perspective.  The class is
     // assumed to be an array of machine words
     // (of length // getClassSize(cls) / sizeof(void*)),
-    // 'gcPtrs' is a poitner to an array of BYTEs of this length.
+    // 'gcPtrs' is a pointer to an array of BYTEs of this length.
     // getClassGClayout fills in this array so that gcPtrs[i] is set
     // to one of the CorInfoGCType values which is the GC type of
     // the i-th machine word of an object of type 'cls'
@@ -2373,7 +2373,7 @@ public:
     // value into a particular location and thus has the signature
     //     void unboxHelper(void* dest, CORINFO_CLASS_HANDLE cls, Object* obj)
     // Otherwise (it is null or points at a FALSE value) it is requesting 
-    // a helper that returns a poitner to the unboxed data 
+    // a helper that returns a pointer to the unboxed data 
     //     void* unboxHelper(CORINFO_CLASS_HANDLE cls, Object* obj)
     // The EE has the option of NOT returning the copy style helper
     // (But must be able to always honor the non-copy style helper)
index 76aa506..8a7965c 100644 (file)
@@ -412,7 +412,7 @@ const PCCOR_SIGNATURE PrettyPrintSignature(
 
 
 /******************************************************************************/
-// pretty prints 'type' or its 'typedef' to the buffer 'out' returns a poitner to the next type, 
+// pretty prints 'type' or its 'typedef' to the buffer 'out' returns a pointer to the next type, 
 // or 0 on a format failure; outside ILDASM -- simple wrapper for PrettyPrintType 
 
 PCCOR_SIGNATURE PrettyPrintTypeOrDef(
index 0823010..3431d18 100644 (file)
@@ -35,7 +35,7 @@ namespace MetaData
 // #HotMetaData 
 // To help with startup time, we create a section of metadata that is only that meta-data that was touched
 // durring IBC profiling.  Given an offset into a pool this checks if we have any hot data associated with
-// it.  If we do we return a poitner to it, otherwse we return NULL.
+// it.  If we do we return a pointer to it, otherwse we return NULL.
 
 #include <pshpack1.h>
 
index 38c1767..dcbfa6f 100644 (file)
@@ -77,7 +77,7 @@ namespace System.Diagnostics.Tracing
 
         /// <summary>
         /// Writes a Start event with the specified name and data.   If the start event is not active (because the provider 
-        /// is not on or keyword-level indiates the event is off, then the returned activity is simply the 'this' poitner 
+        /// is not on or keyword-level indiates the event is off, then the returned activity is simply the 'this' pointer 
         /// and it is effectively like the Start d
         /// 
         /// A new activityID GUID is generated and the returned
index 7e9028d..fc0844c 100644 (file)
@@ -167,7 +167,7 @@ LPCWSTR PrettyPrintSigWorker(
 
 //*****************************************************************************
 //*****************************************************************************
-// pretty prints 'type' to the buffer 'out' returns a poitner to the next type, 
+// pretty prints 'type' to the buffer 'out' returns a pointer to the next type, 
 // or 0 on a format failure 
 
 static PCCOR_SIGNATURE PrettyPrintType(
@@ -562,7 +562,7 @@ HRESULT PrettyPrintSigWorkerInternal(
 #endif
 //*****************************************************************************
 //*****************************************************************************
-// pretty prints 'type' to the buffer 'out' returns a poitner to the next type, 
+// pretty prints 'type' to the buffer 'out' returns a pointer to the next type, 
 // or 0 on a format failure 
 
 __checkReturn 
index abe45d5..3e66f14 100644 (file)
@@ -245,7 +245,7 @@ MethodDesc* IP2MD(ULONG_PTR IP)
 }
 
 /*******************************************************************/
-/* if addr is a valid method table, return a poitner to it */
+/* if addr is a valid method table, return a pointer to it */
 MethodTable* AsMethodTable(size_t addr)
 {
     CONTRACTL
index 258a862..9669f98 100644 (file)
@@ -203,7 +203,7 @@ inline void CheckObjectSize(size_t alloc_size)
 //     * Call code:AllocLHeap - Used very rarely to force allocation to be on the large object heap.
 //
 // While this is a choke point into allocating an object, it is primitive (it does not want to know about
-// MethodTable and thus does not initialize that poitner. It also does not know if the object is finalizable
+// MethodTable and thus does not initialize that pointer. It also does not know if the object is finalizable
 // or contains pointers. Thus we quickly wrap this function in more user-friendly ones that know about
 // MethodTables etc. (see code:FastAllocatePrimitiveArray code:AllocateArrayEx code:AllocateObject)
 //
index 7de3510..5244f6c 100644 (file)
@@ -1942,7 +1942,7 @@ MethodTableBuilder::BuildMethodTableThrowing(
     }
 
     // Check for the RemotingProxy Attribute
-    // structs with GC poitners MUST be pointer sized aligned because the GC assumes it
+    // structs with GC pointers MUST be pointer sized aligned because the GC assumes it
     if (IsValueClass() && pMT->ContainsPointers() && (bmtFP->NumInstanceFieldBytes % sizeof(void*) != 0))
     {
         BuildMethodTableThrowException(IDS_CLASSLOAD_BADFORMAT);
@@ -9856,7 +9856,7 @@ void MethodTableBuilder::CheckForSystemTypes()
         }
         else if (strcmp(name, g_ArgIteratorName) == 0)
         {
-            // Mark the special types that have embeded stack poitners in them
+            // Mark the special types that have embeded stack pointers in them
             pMT->SetIsByRefLike();
         }
         else if (strcmp(name, g_RuntimeArgumentHandleName) == 0)
index 2f84b9d..1aec797 100644 (file)
@@ -891,7 +891,7 @@ Stub * CreateInstantiatingILStub(MethodDesc* pTargetMD, void* pHiddenArg)
 }
 #endif
 
-/* Make a stub that for a value class method that expects a BOXed this poitner */
+/* Make a stub that for a value class method that expects a BOXed this pointer */
 Stub * MakeUnboxingStubWorker(MethodDesc *pMD)
 {
     CONTRACT(Stub*)