@@ -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();
0 commit comments