Skip to content

Commit 3e2301d

Browse files
committed
spelling: comments
1 parent f6831ce commit 3e2301d

21 files changed

Lines changed: 28 additions & 28 deletions

File tree

Build/Common.Build.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
<ProgramDataBaseFileName Condition="'$(ConfigurationType)'=='StaticLibrary'">$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
8383
<ProgramDataBaseFileName Condition="'$(ConfigurationType)'!='StaticLibrary'">$(IntDir)</ProgramDataBaseFileName>
8484

85-
<!-- ======== For Code Covearge ======== -->
85+
<!-- ======== For Code Coverage ======== -->
8686
<PreprocessorDefinitions Condition="'$(ENABLE_CODECOVERAGE)'=='true'">
8787
%(PreprocessorDefinitions);
8888
BYTECODE_TESTING=1
@@ -114,7 +114,7 @@
114114
<AdditionalOptions>%(AdditionalOptions) /release</AdditionalOptions>
115115
<!-- Ignore Linker warning: This object file does not define any previously undefined public symbols -->
116116
<AdditionalOptions>%(AdditionalOptions) /ignore:4221</AdditionalOptions>
117-
<!-- ======== For Code Covearge ======== -->
117+
<!-- ======== For Code Coverage ======== -->
118118
<AdditionalOptions Condition="'$(ENABLE_CODECOVERAGE)'=='true'">%(AdditionalOptions) /DEBUGTYPE:CV,FIXUP</AdditionalOptions>
119119
</Link>
120120
<Lib>

bin/NativeTests/CodexTests.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ namespace CodexTest
8484
{
8585
// Each of these test cases verifies the encoding
8686
// of a single surrogate pair into a 6 byte CESU string
87-
// Each surrogate-pair unit is encoded seperately into utf8
87+
// Each surrogate-pair unit is encoded separately into utf8
8888
struct TestCase
8989
{
9090
char16 surrogatePair[2];

bin/ch/WScriptJsrt.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -980,7 +980,7 @@ JsErrorCode WScriptJsrt::InitializeModuleCallbacks()
980980

981981
bool WScriptJsrt::Uninitialize()
982982
{
983-
// moduleRecordMap is a global std::map, its destructor may access overrided
983+
// moduleRecordMap is a global std::map, its destructor may access overridden
984984
// "operator delete" / global HeapAllocator::Instance. Clear it manually here
985985
// to avoid worrying about global destructor order.
986986
moduleRecordMap.clear();

lib/Backend/Lower.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5233,8 +5233,8 @@ Lowerer::LowerNewScObjArray(IR::Instr *newObjInstr)
52335233
const uint16 upperBoundValue = 8;
52345234
// Generate fast path only if it meets all the conditions:
52355235
// 1. It is the only parameter
5236-
// 2a. If 1st paramter is a variable, emit fast path with checks
5237-
// 2b. If 1st paramter is a constant, it is in range 0 and upperBoundValue (inclusive)
5236+
// 2a. If 1st parameter is a variable, emit fast path with checks
5237+
// 2b. If 1st parameter is a constant, it is in range 0 and upperBoundValue (inclusive)
52385238
if (opndOfArrayCtor->IsAddrOpnd() || opndOfArrayCtor->IsRegOpnd()) // #1
52395239

52405240
{
@@ -5244,7 +5244,7 @@ Lowerer::LowerNewScObjArray(IR::Instr *newObjInstr)
52445244
linkOpnd = argInstr->GetSrc2();
52455245

52465246
bool emittedFastPath = true;
5247-
// 2a. If 1st paramter is a variable, emit fast path with checks
5247+
// 2a. If 1st parameter is a variable, emit fast path with checks
52485248
if (opndOfArrayCtor->IsRegOpnd())
52495249
{
52505250
// 3. GenerateFastPath
@@ -5265,7 +5265,7 @@ Lowerer::LowerNewScObjArray(IR::Instr *newObjInstr)
52655265
GenerateProfiledNewScObjArrayFastPath<Js::JavascriptArray>(newObjInstr, arrayInfo, arrayInfoAddr, weakFuncRef, helperLabel, labelDone, opndOfArrayCtor, 0, 0);
52665266
}
52675267
}
5268-
// 2b. If 1st paramter is a constant, it is in range 0 and upperBoundValue (inclusive)
5268+
// 2b. If 1st parameter is a constant, it is in range 0 and upperBoundValue (inclusive)
52695269
else
52705270
{
52715271
int32 length = linkSym->GetIntConstValue();

lib/Backend/LowerMDSharedSimd128.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ IR::Instr* LowererMD::Simd128LowerConstructor_8(IR::Instr *instr)
434434
while (!args->Empty() && i < 8)
435435
{
436436
srcs[i] = args->Pop();
437-
// src's might have been constant prop'ed. Enregister them if so.
437+
// src's might have been constant prop'd. Enregister them if so.
438438
srcs[i] = EnregisterIntConst(instr, srcs[i], TyInt16);
439439
Assert(srcs[i]->GetType() == TyInt16 && srcs[i]->IsRegOpnd());
440440
// PINSRW dst, srcs[i], i
@@ -473,7 +473,7 @@ IR::Instr* LowererMD::Simd128LowerConstructor_16(IR::Instr *instr)
473473
while (!args->Empty() && i < 16)
474474
{
475475
srcs[i] = args->Pop();
476-
// src's might have been constant prop'ed. Enregister them if so.
476+
// src's might have been constant prop'd. Enregister them if so.
477477
srcs[i] = EnregisterIntConst(instr, srcs[i], TyInt8);
478478
Assert(srcs[i]->GetType() == TyInt8 && srcs[i]->IsRegOpnd());
479479

@@ -591,7 +591,7 @@ IR::Instr* LowererMD::Simd128LowerConstructor_4(IR::Instr *instr)
591591
//Simd128_IntsToI4/U4
592592
IR::RegOpnd *temp = IR::RegOpnd::New(TyFloat32, m_func);
593593

594-
// src's might have been constant prop'ed. Enregister them if so.
594+
// src's might have been constant prop'd. Enregister them if so.
595595
src4 = EnregisterIntConst(instr, src4);
596596
src3 = EnregisterIntConst(instr, src3);
597597
src2 = EnregisterIntConst(instr, src2);

lib/Common/Core/FaultInjection.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ namespace Js
370370
} FUNCTION_SIGNATURES, *PFUNCTION_SIGNATURES;
371371

372372
// function address ranges of each signature
373-
// use for faster address matching instead of symbol table lookup when reproing
373+
// use for faster address matching instead of symbol table lookup when reproducing
374374
PFUNCTION_SIGNATURES baselineFuncSigs[FaultInjection::MAX_FRAME_COUNT] = { 0 };
375375
// record hit count of each frame when Faults are injected.
376376
unsigned int stackMatchRank[FaultInjection::MAX_FRAME_COUNT] = { 0 };
@@ -1030,7 +1030,7 @@ namespace Js
10301030
}
10311031

10321032
// install exception filter to smart dump for faultinjection
1033-
// when reproing in debugger, only let debugger catch the exception
1033+
// when reproducing in debugger, only let debugger catch the exception
10341034
// can't do this in ctor because the global flags are not initialized yet
10351035
InstallExceptionFilters();
10361036

lib/Common/Memory/ArenaAllocator.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -879,7 +879,7 @@ class RefCounted
879879

880880
if (0 == refs)
881881
{
882-
delete this; // invokes overrided operator delete
882+
delete this; // invokes overridden operator delete
883883
}
884884

885885
return refs;

lib/Common/Memory/Recycler.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2465,7 +2465,7 @@ struct ForceLeafAllocator<RecyclerNonLeafAllocator>
24652465
};
24662466

24672467
// TODO: enable -profile for GC phases.
2468-
// access the same profiler object from multiple GC threads which shares one recyler object,
2468+
// access the same profiler object from multiple GC threads which shares one recycler object,
24692469
// but profiler object is not thread safe
24702470
#if defined(PROFILE_EXEC) && 0
24712471
#define RECYCLER_PROFILE_EXEC_BEGIN(recycler, phase) if (recycler->profiler != nullptr) { recycler->profiler->Begin(phase); }

lib/Parser/Hash.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ HashTbl * HashTbl::Create(uint cidHash)
3434
return nullptr;
3535
if (!phtbl->Init(cidHash))
3636
{
37-
delete phtbl; // invokes overrided operator delete
37+
delete phtbl; // invokes overridden operator delete
3838
return nullptr;
3939
}
4040

lib/Parser/Hash.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ class HashTbl
334334

335335
void Release(void)
336336
{
337-
delete this; // invokes overrided operator delete
337+
delete this; // invokes overridden operator delete
338338
}
339339

340340

0 commit comments

Comments
 (0)