Title: [293828] trunk/Source/_javascript_Core
- Revision
- 293828
- Author
- [email protected]
- Date
- 2022-05-05 05:12:52 -0700 (Thu, 05 May 2022)
Log Message
[GCC] REGRESSION(r293605): error: cannot convert ‘<brace-enclosed initializer list>’ to ‘unsigned char:3’ in initialization
https://bugs.webkit.org/show_bug.cgi?id=239897
Reviewed by Yusuke Suzuki.
* bytecode/MethodOfGettingAValueProfile.h: Move initialization of 'm_kind' to class constructor.
Modified Paths
Diff
Modified: trunk/Source/_javascript_Core/ChangeLog (293827 => 293828)
--- trunk/Source/_javascript_Core/ChangeLog 2022-05-05 09:48:57 UTC (rev 293827)
+++ trunk/Source/_javascript_Core/ChangeLog 2022-05-05 12:12:52 UTC (rev 293828)
@@ -1,3 +1,12 @@
+2022-05-05 Diego Pino Garcia <[email protected]>
+
+ [GCC] REGRESSION(r293605): error: cannot convert ‘<brace-enclosed initializer list>’ to ‘unsigned char:3’ in initialization
+ https://bugs.webkit.org/show_bug.cgi?id=239897
+
+ Reviewed by Yusuke Suzuki.
+
+ * bytecode/MethodOfGettingAValueProfile.h: Move initialization of 'm_kind' to class constructor.
+
2022-05-04 Yusuke Suzuki <[email protected]>
[JSC] Intl.NumberFormat lacks some validation for rounding-increment
Modified: trunk/Source/_javascript_Core/bytecode/MethodOfGettingAValueProfile.h (293827 => 293828)
--- trunk/Source/_javascript_Core/bytecode/MethodOfGettingAValueProfile.h 2022-05-05 09:48:57 UTC (rev 293827)
+++ trunk/Source/_javascript_Core/bytecode/MethodOfGettingAValueProfile.h 2022-05-05 12:12:52 UTC (rev 293828)
@@ -47,7 +47,10 @@
class MethodOfGettingAValueProfile {
public:
- MethodOfGettingAValueProfile() = default;
+ MethodOfGettingAValueProfile()
+ : m_kind(Kind::None)
+ {
+ }
static MethodOfGettingAValueProfile unaryArithProfile(CodeOrigin codeOrigin)
{
@@ -110,7 +113,7 @@
CodeOrigin m_codeOrigin;
uint64_t m_rawOperand : Operand::maxBits { 0 };
- Kind m_kind : bitsOfKind { Kind::None };
+ Kind m_kind : bitsOfKind;
};
} // namespace JSC
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes