mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:47:45 +00:00
LibJS: Remove workaround for Clang misalignment in MathematicalValue
As noted in 269a931
, this has been fixed in Clang 15.
This commit is contained in:
parent
3287aa20b1
commit
421ebc2e29
1 changed files with 1 additions and 5 deletions
|
@ -95,11 +95,7 @@ private:
|
||||||
|
|
||||||
static ValueType value_from_number(double number);
|
static ValueType value_from_number(double number);
|
||||||
|
|
||||||
// NOTE: The specific alignment is to avoid an UBSAN error with Clang i686, due to Clang
|
ValueType m_value { 0.0 };
|
||||||
// disagreeing with UBSAN on the alignment of doubles. See:
|
|
||||||
// https://github.com/llvm/llvm-project/issues/54845
|
|
||||||
// https://github.com/SerenityOS/serenity/issues/13614
|
|
||||||
alignas(8) ValueType m_value { 0.0 };
|
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue