Skip to content

Commit

Permalink
jit formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
kunalspathak committed May 8, 2023
1 parent 9fda672 commit 40e49f9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/coreclr/jit/lsra.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5989,12 +5989,12 @@ void LinearScan::allocateRegisters()
void LinearScan::clearAssignedInterval(RegRecord* reg ARM_ARG(RegisterType regType))
{
#ifdef TARGET_ARM
regNumber doubleReg = REG_NA;
regNumber doubleReg = REG_NA;
Interval* oldAssignedInterval = reg->assignedInterval;
if (regType == TYP_DOUBLE)
{
RegRecord* anotherHalfReg = findAnotherHalfRegRec(reg);
doubleReg = genIsValidDoubleReg(reg->regNum) ? reg->regNum : anotherHalfReg->regNum;
RegRecord* anotherHalfReg = findAnotherHalfRegRec(reg);
doubleReg = genIsValidDoubleReg(reg->regNum) ? reg->regNum : anotherHalfReg->regNum;
anotherHalfReg->assignedInterval = nullptr;
}
else if ((oldAssignedInterval != nullptr) && (oldAssignedInterval->registerType == TYP_DOUBLE))
Expand Down
2 changes: 1 addition & 1 deletion src/coreclr/jit/lsra.h
Original file line number Diff line number Diff line change
Expand Up @@ -1552,7 +1552,7 @@ class LinearScan : public LinearScanInterface
#endif // !TRACK_LSRA_STATS

private:
Compiler* compiler;
Compiler* compiler;
CompAllocator getAllocator(Compiler* comp)
{
return comp->getAllocator(CMK_LSRA);
Expand Down

0 comments on commit 40e49f9

Please sign in to comment.