commit d47d53b6f23c510e9c0a7219fe4b99f9e063644a
parent c6adc02ef02a1e78bc71a5f1e1aaa335e27274c9
Author: Lando <lando@lando.test>
Date: Wed, 17 Dec 2025 13:45:08 +0000
Bug 2002522, 2002523, 2002525: apply code formatting via Lando
# ignore-this-changeset
Diffstat:
2 files changed, 21 insertions(+), 21 deletions(-)
diff --git a/js/src/jit/x86-shared/CodeGenerator-x86-shared.cpp b/js/src/jit/x86-shared/CodeGenerator-x86-shared.cpp
@@ -848,22 +848,22 @@ void CodeGenerator::visitMulI(LMulI* ins) {
if (mul->canBeNegativeZero()) {
// Jump to an OOL path if the result is 0.
- auto* ool = new (
- alloc()) LambdaOutOfLineCode([=, this](OutOfLineCode& ool) {
- Register result = ToRegister(ins->output());
- Operand lhsCopy = ToOperand(ins->lhsCopy());
- Operand rhs = ToOperand(ins->rhs());
- MOZ_ASSERT_IF(lhsCopy.kind() == Operand::REG,
- lhsCopy.reg() != result.code());
-
- // Result is -0 if lhs or rhs is negative.
- masm.movl(lhsCopy, result);
- masm.orl(rhs, result);
- bailoutIf(Assembler::Signed, ins->snapshot());
-
- masm.mov(ImmWord(0), result);
- masm.jmp(ool.rejoin());
- });
+ auto* ool =
+ new (alloc()) LambdaOutOfLineCode([=, this](OutOfLineCode& ool) {
+ Register result = ToRegister(ins->output());
+ Operand lhsCopy = ToOperand(ins->lhsCopy());
+ Operand rhs = ToOperand(ins->rhs());
+ MOZ_ASSERT_IF(lhsCopy.kind() == Operand::REG,
+ lhsCopy.reg() != result.code());
+
+ // Result is -0 if lhs or rhs is negative.
+ masm.movl(lhsCopy, result);
+ masm.orl(rhs, result);
+ bailoutIf(Assembler::Signed, ins->snapshot());
+
+ masm.mov(ImmWord(0), result);
+ masm.jmp(ool.rejoin());
+ });
addOutOfLineCode(ool, mul);
masm.test32(lhs, lhs);
diff --git a/js/src/jsapi-tests/testInt128.cpp b/js/src/jsapi-tests/testInt128.cpp
@@ -57,11 +57,11 @@ constexpr Uint128 operator""_u128() {
return mozilla::IsAsciiHexDigit(c) || c == '\'';
};
- constexpr auto isBinary =
- [isBinaryDigit](auto zero, auto prefix, auto... rest) {
- return zero == '0' && (prefix == 'b' || prefix == 'B') &&
- (isBinaryDigit(rest) && ...);
- };
+ constexpr auto isBinary = [isBinaryDigit](auto zero, auto prefix,
+ auto... rest) {
+ return zero == '0' && (prefix == 'b' || prefix == 'B') &&
+ (isBinaryDigit(rest) && ...);
+ };
constexpr auto isHex = [isHexDigit](auto zero, auto prefix, auto... rest) {
return zero == '0' && (prefix == 'x' || prefix == 'X') &&