summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn Doe <github.john.doe@outlook.com>2018-11-22 14:23:46 -0800
committerJan Kotas <jkotas@microsoft.com>2018-11-22 14:23:46 -0800
commit445f68f3668daa527adad6f2bdd1311f2607ca71 (patch)
tree205aa06d813636709aa6abaa9b0093a56a5a7e48 /src
parente54dffef08c22a94962aacd93d4793b377cac632 (diff)
downloadcoreclr-445f68f3668daa527adad6f2bdd1311f2607ca71.tar.gz
coreclr-445f68f3668daa527adad6f2bdd1311f2607ca71.tar.bz2
coreclr-445f68f3668daa527adad6f2bdd1311f2607ca71.zip
Typos (#21171)
* accesible -> accessible * acheive -> achieve * actutl -> actual * appied -> applied * apropriate -> appropriate * aprox -> approx * aquired -> acquired * argumemts -> arguments * Argumens -> Arguments * argumetn -> argument
Diffstat (limited to 'src')
-rw-r--r--src/jit/codegenarm64.cpp2
-rw-r--r--src/jit/simd.cpp14
-rw-r--r--src/jit/valuenum.cpp4
-rw-r--r--src/pal/tests/palsuite/miscellaneous/FreeEnvironmentStringsW/test2/test.cpp2
-rw-r--r--src/vm/codeversion.cpp2
-rw-r--r--src/vm/compile.cpp2
-rw-r--r--src/vm/encee.cpp2
-rw-r--r--src/vm/stublink.cpp2
8 files changed, 15 insertions, 15 deletions
diff --git a/src/jit/codegenarm64.cpp b/src/jit/codegenarm64.cpp
index affef95a08..14a0949f05 100644
--- a/src/jit/codegenarm64.cpp
+++ b/src/jit/codegenarm64.cpp
@@ -3658,7 +3658,7 @@ void CodeGen::genEmitHelperCall(unsigned helper, int argSize, emitAttr retSize,
//------------------------------------------------------------------------
// genSIMDIntrinsic: Generate code for a SIMD Intrinsic. This is the main
-// routine which in turn calls apropriate genSIMDIntrinsicXXX() routine.
+// routine which in turn calls appropriate genSIMDIntrinsicXXX() routine.
//
// Arguments:
// simdNode - The GT_SIMD node
diff --git a/src/jit/simd.cpp b/src/jit/simd.cpp
index 224c340720..1f735a1dca 100644
--- a/src/jit/simd.cpp
+++ b/src/jit/simd.cpp
@@ -1119,7 +1119,7 @@ GenTreeSIMD* Compiler::impSIMDGetFixed(var_types simdType, var_types baseType, u
// impSIMDLongRelOpEqual: transforms operands and returns the SIMD intrinsic to be applied on
// transformed operands to obtain == comparison result.
//
-// Argumens:
+// Arguments:
// typeHnd - type handle of SIMD vector
// size - SIMD vector size
// op1 - in-out parameter; first operand
@@ -1163,7 +1163,7 @@ SIMDIntrinsicID Compiler::impSIMDLongRelOpEqual(CORINFO_CLASS_HANDLE typeHnd,
// impSIMDLongRelOpGreaterThan: transforms operands and returns the SIMD intrinsic to be applied on
// transformed operands to obtain > comparison result.
//
-// Argumens:
+// Arguments:
// typeHnd - type handle of SIMD vector
// size - SIMD vector size
// pOp1 - in-out parameter; first operand
@@ -1259,7 +1259,7 @@ SIMDIntrinsicID Compiler::impSIMDLongRelOpGreaterThan(CORINFO_CLASS_HANDLE typeH
// impSIMDLongRelOpGreaterThanOrEqual: transforms operands and returns the SIMD intrinsic to be applied on
// transformed operands to obtain >= comparison result.
//
-// Argumens:
+// Arguments:
// typeHnd - type handle of SIMD vector
// size - SIMD vector size
// pOp1 - in-out parameter; first operand
@@ -1315,7 +1315,7 @@ SIMDIntrinsicID Compiler::impSIMDLongRelOpGreaterThanOrEqual(CORINFO_CLASS_HANDL
// impSIMDInt32OrSmallIntRelOpGreaterThanOrEqual: transforms operands and returns the SIMD intrinsic to be applied on
// transformed operands to obtain >= comparison result in case of integer base type vectors
//
-// Argumens:
+// Arguments:
// typeHnd - type handle of SIMD vector
// size - SIMD vector size
// baseType - base type of SIMD vector
@@ -1376,7 +1376,7 @@ SIMDIntrinsicID Compiler::impSIMDIntegralRelOpGreaterThanOrEqual(
// Transforms operands and returns the SIMD intrinsic to be applied on
// transformed operands to obtain given relop result.
//
-// Argumens:
+// Arguments:
// relOpIntrinsicId - Relational operator SIMD intrinsic
// typeHnd - type handle of SIMD vector
// size - SIMD vector size
@@ -1717,7 +1717,7 @@ GenTree* Compiler::impSIMDAbs(CORINFO_CLASS_HANDLE typeHnd, var_types baseType,
// Creates a GT_SIMD tree for Select operation
//
-// Argumens:
+// Arguments:
// typeHnd - type handle of SIMD vector
// baseType - base type of SIMD vector
// size - SIMD vector size
@@ -1777,7 +1777,7 @@ GenTree* Compiler::impSIMDSelect(
// Creates a GT_SIMD tree for Min/Max operation
//
-// Argumens:
+// Arguments:
// IntrinsicId - SIMD intrinsic Id, either Min or Max
// typeHnd - type handle of SIMD vector
// baseType - base type of SIMD vector
diff --git a/src/jit/valuenum.cpp b/src/jit/valuenum.cpp
index b8948bd0a4..10d279b8fb 100644
--- a/src/jit/valuenum.cpp
+++ b/src/jit/valuenum.cpp
@@ -3276,7 +3276,7 @@ bool ValueNumStore::VNEvalShouldFold(var_types typ, VNFunc func, ValueNum arg0VN
//----------------------------------------------------------------------------------------
// EvalUsingMathIdentity
// - Attempts to evaluate 'func' by using mathimatical identities
-// that can be appied to 'func'.
+// that can be applied to 'func'.
//
// Arguments:
// typ - The type of the resulting ValueNum produced by 'func'
@@ -9186,7 +9186,7 @@ void Compiler::fgValueNumberAddExceptionSetForIndirection(GenTree* tree)
// - The tree's gtVNPair is updated to include
// VNF_DivideByZeroExc and VNF_ArithmeticExc,
// We will omit one or both of them when the operation
-// has constants argumemts that preclude the exception.
+// has constants arguments that preclude the exception.
//
void Compiler::fgValueNumberAddExceptionSetForDivision(GenTree* tree)
{
diff --git a/src/pal/tests/palsuite/miscellaneous/FreeEnvironmentStringsW/test2/test.cpp b/src/pal/tests/palsuite/miscellaneous/FreeEnvironmentStringsW/test2/test.cpp
index 1bb05cdb12..e59ad84fcf 100644
--- a/src/pal/tests/palsuite/miscellaneous/FreeEnvironmentStringsW/test2/test.cpp
+++ b/src/pal/tests/palsuite/miscellaneous/FreeEnvironmentStringsW/test2/test.cpp
@@ -51,7 +51,7 @@ int __cdecl main(int argc, char *argv[])
{
Fail("The function should still return a success value even if it is "
"passed a LPWSTR which is not an environment block properly "
- "aquired from GetEnvironmentStrings\n");
+ "acquired from GetEnvironmentStrings\n");
}
/* Even passing this function NULL, should still return a success value */
diff --git a/src/vm/codeversion.cpp b/src/vm/codeversion.cpp
index e3425c3789..93b0663829 100644
--- a/src/vm/codeversion.cpp
+++ b/src/vm/codeversion.cpp
@@ -2845,7 +2845,7 @@ PublishMethodTableHolder::PublishMethodTableHolder(MethodTable* pMethodTable) :
// We need to be careful to only query portions of the MethodDesc
// that work in a partially restored state. The only methods that need
// further restoration are IL stubs (which aren't rejittable) and
- // generic methods. The only generic methods directly accesible from
+ // generic methods. The only generic methods directly accessible from
// the MethodTable are definitions. GetNativeCode() on generic defs
// will run succesfully and return NULL which short circuits the
// rest of the logic.
diff --git a/src/vm/compile.cpp b/src/vm/compile.cpp
index b44dddbf34..721f354c7b 100644
--- a/src/vm/compile.cpp
+++ b/src/vm/compile.cpp
@@ -5751,7 +5751,7 @@ void CEEPreloader::ExpandTypeDependencies(TypeHandle th)
TriageTypeForZap(intIterator.GetInterface(), TRUE);
}
- // Make sure aprox types for all fields are saved
+ // Make sure approx types for all fields are saved
ApproxFieldDescIterator fdIterator(pMT, ApproxFieldDescIterator::ALL_FIELDS);
FieldDesc* pFD;
while ((pFD = fdIterator.Next()) != NULL)
diff --git a/src/vm/encee.cpp b/src/vm/encee.cpp
index 5767cd0cdd..2c484c624e 100644
--- a/src/vm/encee.cpp
+++ b/src/vm/encee.cpp
@@ -1095,7 +1095,7 @@ EnCAddedField *EnCAddedField::Allocate(OBJECTREF thisPointer, EnCFieldDesc *pFD)
// in a way that mimics the lifetime behavior of a normal field reference. Specifically,
// when the object is collected, the field should also be collected (assuming there are no
// other references), but references to the field shouldn't keep the object alive.
- // To acheive this, we have introduced the concept of a "dependent handle" which provides
+ // To achieve this, we have introduced the concept of a "dependent handle" which provides
// the appropriate semantics. The dependent handle has a weak reference to a "primary object"
// (the object getting a new field in this case), and a strong reference to a secondary object.
// When the primary object is collected, the reference to the secondary object is released.
diff --git a/src/vm/stublink.cpp b/src/vm/stublink.cpp
index 98e5b132f1..e41b853c7e 100644
--- a/src/vm/stublink.cpp
+++ b/src/vm/stublink.cpp
@@ -1728,7 +1728,7 @@ bool StubLinker::EmitUnwindInfo(Stub* pStub, int globalsize, LoaderHeap* pHeap)
// to report them to the OS. (they are not expressible anyways)
// 5. Floating point argument registers:
- // Similar to Integer argumetn registers, no reporting
+ // Similar to Integer argument registers, no reporting
//
// 4. Set the frame pointer