Skip to content

Commit fcb1c6c

Browse files
committed
Change indentation to space
1 parent c134631 commit fcb1c6c

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

lib/Backend/LowerMDShared.cpp

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -7711,25 +7711,25 @@ void LowererMD::GenerateFastInlineBuiltInCall(IR::Instr* instr, IR::JnHelperMeth
77117711
switch (instr->m_opcode)
77127712
{
77137713
case Js::OpCode::InlineMathSqrt:
7714-
{
7715-
// Sqrt maps directly to the SSE2 instruction.
7716-
// src and dst should already be XMM registers, all we need is just change the opcode.
7717-
Assert(helperMethod == (IR::JnHelperMethod)0);
7718-
Assert(instr->GetSrc2() == nullptr);
7719-
instr->m_opcode = instr->GetSrc1()->IsFloat64() ? Js::OpCode::SQRTSD : Js::OpCode::SQRTSS;
7720-
7721-
IR::Opnd *src = instr->GetSrc1();
7722-
IR::Opnd *dst = instr->GetDst();
7723-
if (!src->IsEqual(dst))
7724-
{
7725-
Assert(src->IsRegOpnd() && dst->IsRegOpnd());
7726-
// Force source to be the same as destination to break false dependency on the register
7727-
Lowerer::InsertMove(dst, src, instr, false /* generateWriteBarrier */);
7728-
instr->ReplaceSrc1(dst);
7729-
}
7730-
7731-
break;
7732-
}
7714+
{
7715+
// Sqrt maps directly to the SSE2 instruction.
7716+
// src and dst should already be XMM registers, all we need is just change the opcode.
7717+
Assert(helperMethod == (IR::JnHelperMethod)0);
7718+
Assert(instr->GetSrc2() == nullptr);
7719+
instr->m_opcode = instr->GetSrc1()->IsFloat64() ? Js::OpCode::SQRTSD : Js::OpCode::SQRTSS;
7720+
7721+
IR::Opnd *src = instr->GetSrc1();
7722+
IR::Opnd *dst = instr->GetDst();
7723+
if (!src->IsEqual(dst))
7724+
{
7725+
Assert(src->IsRegOpnd() && dst->IsRegOpnd());
7726+
// Force source to be the same as destination to break false dependency on the register
7727+
Lowerer::InsertMove(dst, src, instr, false /* generateWriteBarrier */);
7728+
instr->ReplaceSrc1(dst);
7729+
}
7730+
7731+
break;
7732+
}
77337733

77347734
case Js::OpCode::InlineMathAbs:
77357735
Assert(helperMethod == (IR::JnHelperMethod)0);

0 commit comments

Comments
 (0)