Title: [291543] trunk/Tools
- Revision
- 291543
- Author
- [email protected]
- Date
- 2022-03-20 06:37:16 -0700 (Sun, 20 Mar 2022)
Log Message
Fix clang warning after r291229
Unreviewed build fix.
* TestWebKitAPI/Tests/_javascript_Core/glib/TestJSC.cpp:
(elementSize): Move RELEASE_ASSERT_NOT_REACHED() out of the switch to make clang happy.
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (291542 => 291543)
--- trunk/Tools/ChangeLog 2022-03-20 11:46:20 UTC (rev 291542)
+++ trunk/Tools/ChangeLog 2022-03-20 13:37:16 UTC (rev 291543)
@@ -1,3 +1,12 @@
+2022-03-20 Adrian Perez de Castro <[email protected]>
+
+ Fix clang warning after r291229
+
+ Unreviewed build fix.
+
+ * TestWebKitAPI/Tests/_javascript_Core/glib/TestJSC.cpp:
+ (elementSize): Move RELEASE_ASSERT_NOT_REACHED() out of the switch to make clang happy.
+
2022-03-19 Chris Dumez <[email protected]>
Vector move constructor and move assignment operator are suboptimal when the vector has an inline buffer
Modified: trunk/Tools/TestWebKitAPI/Tests/_javascript_Core/glib/TestJSC.cpp (291542 => 291543)
--- trunk/Tools/TestWebKitAPI/Tests/_javascript_Core/glib/TestJSC.cpp 2022-03-20 11:46:20 UTC (rev 291542)
+++ trunk/Tools/TestWebKitAPI/Tests/_javascript_Core/glib/TestJSC.cpp 2022-03-20 13:37:16 UTC (rev 291543)
@@ -2986,9 +2986,8 @@
case JSC_TYPED_ARRAY_FLOAT32: return sizeof(float);
case JSC_TYPED_ARRAY_FLOAT64: return sizeof(double);
case JSC_TYPED_ARRAY_NONE: break;
- default:
- RELEASE_ASSERT_NOT_REACHED();
}
+ RELEASE_ASSERT_NOT_REACHED();
}
void testJSCTypedArray()
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes