@@ -254,7 +254,7 @@ Lowerer::LowerRange(IR::Instr *instrStart, IR::Instr *instrEnd, bool defaultDoFa
254
254
case Js::OpCode::InvalCachedScope:
255
255
this->LowerBinaryHelper(instr, IR::HelperOP_InvalidateCachedScope);
256
256
break;
257
-
257
+
258
258
case Js::OpCode::InitCachedScope:
259
259
instrPrev = this->LowerInitCachedScope(instr);
260
260
break;
@@ -3166,7 +3166,7 @@ Lowerer::LoadOptimizationOverridesValueOpnd(IR::Instr *instr, OptimizationOverri
3166
3166
3167
3167
IR::Opnd *
3168
3168
Lowerer::LoadNumberAllocatorValueOpnd(IR::Instr *instr, NumberAllocatorValue valueType)
3169
- {
3169
+ {
3170
3170
ScriptContextInfo *scriptContext = instr->m_func->GetScriptContextInfo();
3171
3171
bool allowNativeCodeBumpAllocation = scriptContext->GetRecyclerAllowNativeCodeBumpAllocation();
3172
3172
@@ -3513,7 +3513,7 @@ Lowerer::LowerNewScObjectLiteral(IR::Instr *newObjInstr)
3513
3513
propertyArrayOpnd = IR::AddrOpnd::New(propArrayAddr, IR::AddrOpndKindDynamicMisc, this->m_func);
3514
3514
3515
3515
//#if 0 TODO: OOP JIT, obj literal types
3516
- // should pass in isShared bit through RPC, enable for in-proc jit to see perf impact
3516
+ // should pass in isShared bit through RPC, enable for in-proc jit to see perf impact
3517
3517
Js::DynamicType * literalType = func->IsOOPJIT() || !CONFIG_FLAG(OOPJITMissingOpts) ? nullptr : *(Js::DynamicType **)literalTypeRef;
3518
3518
3519
3519
if (literalType == nullptr || !literalType->GetIsShared())
@@ -6832,7 +6832,7 @@ Lowerer::GenerateStFldWithCachedType(IR::Instr *instrStFld, bool* continueAsHelp
6832
6832
6833
6833
if (hasTypeCheckBailout)
6834
6834
{
6835
- AssertMsg(PHASE_ON1(Js::ObjTypeSpecIsolatedFldOpsWithBailOutPhase) || !propertySymOpnd->IsTypeDead(),
6835
+ AssertMsg(PHASE_ON1(Js::ObjTypeSpecIsolatedFldOpsWithBailOutPhase) || !propertySymOpnd->IsTypeDead(),
6836
6836
"Why does a field store have a type check bailout, if its type is dead?");
6837
6837
6838
6838
if (instrStFld->GetBailOutInfo()->bailOutInstr != instrStFld)
@@ -8590,7 +8590,7 @@ Lowerer::LowerMemset(IR::Instr * instr, IR::RegOpnd * helperRet)
8590
8590
m_lowererMD.LoadHelperArgument(instr, baseOpnd);
8591
8591
m_lowererMD.ChangeToHelperCall(instr, helperMethod);
8592
8592
dst->Free(m_func);
8593
-
8593
+
8594
8594
return instrPrev;
8595
8595
}
8596
8596
@@ -8865,10 +8865,10 @@ Lowerer::GenerateFastBrBReturn(IR::Instr * instr)
8865
8865
// TEST firstPrototypeOpnd, firstPrototypeOpnd
8866
8866
// JNE $helper
8867
8867
IR::RegOpnd * firstPrototypeOpnd = IR::RegOpnd::New(TyMachPtr, this->m_func);
8868
- InsertMove(firstPrototypeOpnd,
8868
+ InsertMove(firstPrototypeOpnd,
8869
8869
IR::IndirOpnd::New(forInEnumeratorOpnd, Js::ForInObjectEnumerator::GetOffsetOfFirstPrototype(), TyMachPtr, this->m_func), instr);
8870
8870
InsertTestBranch(firstPrototypeOpnd, firstPrototypeOpnd, Js::OpCode::BrNeq_A, labelHelper, instr);
8871
-
8871
+
8872
8872
// MOV currentEnumeratorOpnd, forInEnumerator->enumerator.currentEnumerator
8873
8873
// TEST currentEnumeratorOpnd, currentEnumeratorOpnd
8874
8874
// JNE $helper
@@ -8883,7 +8883,7 @@ Lowerer::GenerateFastBrBReturn(IR::Instr * instr)
8883
8883
IR::RegOpnd * objectOpnd = IR::RegOpnd::New(TyMachPtr, this->m_func);
8884
8884
InsertMove(objectOpnd,
8885
8885
IR::IndirOpnd::New(forInEnumeratorOpnd, Js::ForInObjectEnumerator::GetOffsetOfEnumeratorObject(), TyMachPtr, this->m_func), instr);
8886
- InsertTestBranch(objectOpnd, objectOpnd, Js::OpCode::BrEq_A, labelHelper, instr);
8886
+ InsertTestBranch(objectOpnd, objectOpnd, Js::OpCode::BrEq_A, labelHelper, instr);
8887
8887
8888
8888
// MOV initialTypeOpnd, forInEnumerator->enumerator.initialType
8889
8889
// CMP initialTypeOpnd, objectOpnd->type
@@ -8907,7 +8907,7 @@ Lowerer::GenerateFastBrBReturn(IR::Instr * instr)
8907
8907
InsertCompareBranch(enumeratedCountOpnd,
8908
8908
IR::IndirOpnd::New(cachedDataOpnd, Js::DynamicObjectPropertyEnumerator::GetOffsetOfCachedDataCachedCount(), TyUint32, this->m_func),
8909
8909
Js::OpCode::BrGe_A, labelHelper, instr);
8910
-
8910
+
8911
8911
// MOV propertyAttributesOpnd, cachedData->attributes
8912
8912
// MOV objectPropertyAttributesOpnd, propertyAttributesOpnd[enumeratedCount]
8913
8913
// CMP objectPropertyAttributesOpnd & PropertyEnumerable, PropertyEnumerable
@@ -8923,7 +8923,7 @@ Lowerer::GenerateFastBrBReturn(IR::Instr * instr)
8923
8923
8924
8924
InsertCompareBranch(andPropertyEnumerableInstr->GetDst(), IR::IntConstOpnd::New(PropertyEnumerable, TyUint8, this->m_func),
8925
8925
Js::OpCode::BrNeq_A, labelHelper, instr);
8926
-
8926
+
8927
8927
IR::Opnd * opndDst = instr->GetDst(); // ForIn result propertyString
8928
8928
Assert(opndDst->IsRegOpnd());
8929
8929
@@ -9932,7 +9932,7 @@ Lowerer::LowerArgIn(IR::Instr *instrArgIn)
9932
9932
// ...
9933
9933
// s2 = assign param2
9934
9934
// $done:
9935
-
9935
+
9936
9936
AnalysisAssert(instrArgIn);
9937
9937
9938
9938
IR::Opnd *restDst = nullptr;
@@ -10086,7 +10086,7 @@ Lowerer::LowerArgIn(IR::Instr *instrArgIn)
10086
10086
10087
10087
10088
10088
BVSparse<JitArenaAllocator> *formalsBv = JitAnew(this->m_alloc, BVSparse<JitArenaAllocator>, this->m_alloc);
10089
-
10089
+
10090
10090
while (currArgInCount > 0)
10091
10091
{
10092
10092
dstOpnd = instrArgIn->GetDst();
@@ -10104,9 +10104,9 @@ Lowerer::LowerArgIn(IR::Instr *instrArgIn)
10104
10104
// BrEq_A $Ln-1
10105
10105
10106
10106
currArgInCount--;
10107
-
10107
+
10108
10108
labelInitNext = IR::LabelInstr::New(Js::OpCode::Label, this->m_func);
10109
-
10109
+
10110
10110
10111
10111
// And insert the "normal" initialization before the "done" label
10112
10112
@@ -10206,7 +10206,7 @@ Lowerer::LowerArgIn(IR::Instr *instrArgIn)
10206
10206
this->m_lowererMD.ChangeToAssign(instrArgIn);
10207
10207
}
10208
10208
10209
- JitAdelete(this->m_alloc, formalsBv);
10209
+ JitAdelete(this->m_alloc, formalsBv);
10210
10210
10211
10211
return instrResume;
10212
10212
}
@@ -10248,8 +10248,8 @@ Lowerer::LoadGeneratorObject(IR::Instr * instrInsert)
10248
10248
instrInsert->m_func->SetArgOffset(generatorSym, LowererMD::GetFormalParamOffset() * MachPtr);
10249
10249
IR::SymOpnd * generatorSymOpnd = IR::SymOpnd::New(generatorSym, TyMachPtr, instrInsert->m_func);
10250
10250
IR::RegOpnd * generatorRegOpnd = IR::RegOpnd::New(TyMachPtr, instrInsert->m_func);
10251
- instrInsert->m_func->SetHasImplicitParamLoad();
10252
- return LowererMD::CreateAssign(generatorRegOpnd, generatorSymOpnd, instrInsert);
10251
+ instrInsert->m_func->SetHasImplicitParamLoad();
10252
+ return LowererMD::CreateAssign(generatorRegOpnd, generatorSymOpnd, instrInsert);
10253
10253
}
10254
10254
10255
10255
IR::Instr *
@@ -10904,7 +10904,7 @@ Lowerer::LoadCallInfo(IR::Instr * instrInsert)
10904
10904
{
10905
10905
// Generator function arguments and ArgumentsInfo are not on the stack. Instead they
10906
10906
// are accessed off the generator object (which is prm1).
10907
- IR::Instr *genLoadInstr = LoadGeneratorObject(instrInsert);
10907
+ IR::Instr *genLoadInstr = LoadGeneratorObject(instrInsert);
10908
10908
IR::RegOpnd * generatorRegOpnd = genLoadInstr->GetDst()->AsRegOpnd();
10909
10909
10910
10910
IR::IndirOpnd * indirOpnd = IR::IndirOpnd::New(generatorRegOpnd, Js::JavascriptGenerator::GetCallInfoOffset(), TyMachPtr, func);
@@ -12543,7 +12543,7 @@ Lowerer::GenerateBailOut(IR::Instr * instr, IR::BranchInstr * branchInstr, IR::L
12543
12543
else
12544
12544
{
12545
12545
indexOpnd = IR::MemRefOpnd::New((BYTE*)bailOutInfo->bailOutRecord + BailOutRecord::GetOffsetOfPolymorphicCacheIndex(), TyUint32, this->m_func);
12546
- }
12546
+ }
12547
12547
12548
12548
m_lowererMD.CreateAssign(
12549
12549
indexOpnd, IR::IntConstOpnd::New(bailOutInfo->polymorphicCacheIndex, TyUint32, this->m_func), instr);
@@ -14694,7 +14694,7 @@ Lowerer::GenerateFastElemIIntIndexCommon(
14694
14694
const bool needBailOutOnInvalidLength = !!(bailOutKind & (IR::BailOutOnInvalidatedArrayHeadSegment));
14695
14695
const bool needBailOutToHelper = !!(bailOutKind & (IR::BailOutOnArrayAccessHelperCall | IR::BailOutOnInvalidatedArrayLength));
14696
14696
const bool needBailOutOnSegmentLengthCompare = needBailOutToHelper || needBailOutOnInvalidLength;
14697
-
14697
+
14698
14698
if(indexIsLessThanHeadSegmentLength || needBailOutOnSegmentLengthCompare)
14699
14699
{
14700
14700
if (needBailOutOnSegmentLengthCompare)
@@ -18522,7 +18522,7 @@ Lowerer::GenerateFastArgumentsLdElemI(IR::Instr* ldElem, IR::LabelInstr *labelFa
18522
18522
ldElem->InsertBefore(labelCreateHeapArgs);
18523
18523
emittedFastPath = true;
18524
18524
}
18525
-
18525
+
18526
18526
if (!emittedFastPath)
18527
18527
{
18528
18528
throw Js::RejitException(RejitReason::DisableStackArgOpt);
@@ -20633,7 +20633,7 @@ Lowerer::GenerateLdHomeObjProto(IR::Instr* instr)
20633
20633
//
20634
20634
// $Err:
20635
20635
// ThrowRuntimeReferenceError(JSERR_BadSuperReference);
20636
- //
20636
+ //
20637
20637
// $NoErr:
20638
20638
// instance = ((RecyclableObject*)instance)->GetPrototype();
20639
20639
// if (instance == nullptr) goto $Done;
0 commit comments