diff options
author | Ofer Zelig <oferze@users.noreply.github.com> | 2017-03-26 02:31:45 +1100 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2017-03-25 08:31:45 -0700 |
commit | ab849639db83ee65e51838ef147cee8d21b813c7 (patch) | |
tree | 7813facc03de4034449cff1226007fe26e1ed24e | |
parent | d4a6cf7bc9d1b5ccbf671f1c8fae1b4f83027cbd (diff) | |
download | coreclr-ab849639db83ee65e51838ef147cee8d21b813c7.tar.gz coreclr-ab849639db83ee65e51838ef147cee8d21b813c7.tar.bz2 coreclr-ab849639db83ee65e51838ef147cee8d21b813c7.zip |
Typo correction (#10482)
-rw-r--r-- | src/ToolBox/superpmi/superpmi-shared/icorjitinfoimpl.h | 4 | ||||
-rw-r--r-- | src/ToolBox/superpmi/superpmi-shim-collector/icorjitinfo.cpp | 4 | ||||
-rw-r--r-- | src/ToolBox/superpmi/superpmi-shim-counter/icorjitinfo.cpp | 4 | ||||
-rw-r--r-- | src/ToolBox/superpmi/superpmi-shim-simple/icorjitinfo.cpp | 4 | ||||
-rw-r--r-- | src/ToolBox/superpmi/superpmi/icorjitinfo.cpp | 4 | ||||
-rw-r--r-- | src/gc/gc.cpp | 2 | ||||
-rw-r--r-- | src/inc/corinfo.h | 6 | ||||
-rw-r--r-- | src/inc/formattype.cpp | 2 | ||||
-rw-r--r-- | src/md/hotdata/hotdataformat.h | 2 | ||||
-rw-r--r-- | src/mscorlib/src/System/Diagnostics/Eventing/TraceLogging/EventSourceActivity.cs | 2 | ||||
-rw-r--r-- | src/utilcode/prettyprintsig.cpp | 4 | ||||
-rw-r--r-- | src/vm/debughelp.cpp | 2 | ||||
-rw-r--r-- | src/vm/gchelpers.cpp | 2 | ||||
-rw-r--r-- | src/vm/methodtablebuilder.cpp | 4 | ||||
-rw-r--r-- | src/vm/prestub.cpp | 2 |
15 files changed, 24 insertions, 24 deletions
diff --git a/src/ToolBox/superpmi/superpmi-shared/icorjitinfoimpl.h b/src/ToolBox/superpmi/superpmi-shared/icorjitinfoimpl.h index 9385cf7ee3..35903181d6 100644 --- a/src/ToolBox/superpmi/superpmi-shared/icorjitinfoimpl.h +++ b/src/ToolBox/superpmi/superpmi-shared/icorjitinfoimpl.h @@ -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) diff --git a/src/ToolBox/superpmi/superpmi-shim-collector/icorjitinfo.cpp b/src/ToolBox/superpmi/superpmi-shim-collector/icorjitinfo.cpp index 01e98cd7fd..0952a9534b 100644 --- a/src/ToolBox/superpmi/superpmi-shim-collector/icorjitinfo.cpp +++ b/src/ToolBox/superpmi/superpmi-shim-collector/icorjitinfo.cpp @@ -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) diff --git a/src/ToolBox/superpmi/superpmi-shim-counter/icorjitinfo.cpp b/src/ToolBox/superpmi/superpmi-shim-counter/icorjitinfo.cpp index 705b1e8939..c3a101ea4a 100644 --- a/src/ToolBox/superpmi/superpmi-shim-counter/icorjitinfo.cpp +++ b/src/ToolBox/superpmi/superpmi-shim-counter/icorjitinfo.cpp @@ -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) diff --git a/src/ToolBox/superpmi/superpmi-shim-simple/icorjitinfo.cpp b/src/ToolBox/superpmi/superpmi-shim-simple/icorjitinfo.cpp index 9783983af9..81e2e44354 100644 --- a/src/ToolBox/superpmi/superpmi-shim-simple/icorjitinfo.cpp +++ b/src/ToolBox/superpmi/superpmi-shim-simple/icorjitinfo.cpp @@ -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) diff --git a/src/ToolBox/superpmi/superpmi/icorjitinfo.cpp b/src/ToolBox/superpmi/superpmi/icorjitinfo.cpp index 91ebb4ddeb..e0aebd67d1 100644 --- a/src/ToolBox/superpmi/superpmi/icorjitinfo.cpp +++ b/src/ToolBox/superpmi/superpmi/icorjitinfo.cpp @@ -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) diff --git a/src/gc/gc.cpp b/src/gc/gc.cpp index a1a691eb6d..bacef7f968 100644 --- a/src/gc/gc.cpp +++ b/src/gc/gc.cpp @@ -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. diff --git a/src/inc/corinfo.h b/src/inc/corinfo.h index e16a580a5e..ccb1929df7 100644 --- a/src/inc/corinfo.h +++ b/src/inc/corinfo.h @@ -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) diff --git a/src/inc/formattype.cpp b/src/inc/formattype.cpp index 76aa506bf1..8a7965cb4f 100644 --- a/src/inc/formattype.cpp +++ b/src/inc/formattype.cpp @@ -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( diff --git a/src/md/hotdata/hotdataformat.h b/src/md/hotdata/hotdataformat.h index 0823010611..3431d18deb 100644 --- a/src/md/hotdata/hotdataformat.h +++ b/src/md/hotdata/hotdataformat.h @@ -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> diff --git a/src/mscorlib/src/System/Diagnostics/Eventing/TraceLogging/EventSourceActivity.cs b/src/mscorlib/src/System/Diagnostics/Eventing/TraceLogging/EventSourceActivity.cs index 38c1767462..dcbfa6f6bd 100644 --- a/src/mscorlib/src/System/Diagnostics/Eventing/TraceLogging/EventSourceActivity.cs +++ b/src/mscorlib/src/System/Diagnostics/Eventing/TraceLogging/EventSourceActivity.cs @@ -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 diff --git a/src/utilcode/prettyprintsig.cpp b/src/utilcode/prettyprintsig.cpp index 7e9028ddab..fc0844ce4a 100644 --- a/src/utilcode/prettyprintsig.cpp +++ b/src/utilcode/prettyprintsig.cpp @@ -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 diff --git a/src/vm/debughelp.cpp b/src/vm/debughelp.cpp index abe45d5da0..3e66f14047 100644 --- a/src/vm/debughelp.cpp +++ b/src/vm/debughelp.cpp @@ -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 diff --git a/src/vm/gchelpers.cpp b/src/vm/gchelpers.cpp index 258a86239c..9669f988d7 100644 --- a/src/vm/gchelpers.cpp +++ b/src/vm/gchelpers.cpp @@ -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) // diff --git a/src/vm/methodtablebuilder.cpp b/src/vm/methodtablebuilder.cpp index 7de35101ff..5244f6c30a 100644 --- a/src/vm/methodtablebuilder.cpp +++ b/src/vm/methodtablebuilder.cpp @@ -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) diff --git a/src/vm/prestub.cpp b/src/vm/prestub.cpp index 2f84b9df9d..1aec7973d0 100644 --- a/src/vm/prestub.cpp +++ b/src/vm/prestub.cpp @@ -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*) |