RESOLVED FIXED236180
[WTF] Make Bitmap constexpr friendly
https://bugs.webkit.org/show_bug.cgi?id=236180
Summary [WTF] Make Bitmap constexpr friendly
Yusuke Suzuki
Reported 2022-02-05 11:23:41 PST
[WTF] Make Bitmap constexpr friendly
Attachments
Patch (14.82 KB, patch)
2022-02-05 11:27 PST, Yusuke Suzuki
no flags
Patch (15.21 KB, patch)
2022-02-05 11:31 PST, Yusuke Suzuki
no flags
Patch (16.82 KB, patch)
2022-02-06 00:56 PST, Yusuke Suzuki
darin: review+
Yusuke Suzuki
Comment 1 2022-02-05 11:27:50 PST
Yusuke Suzuki
Comment 2 2022-02-05 11:31:04 PST
Saam Barati
Comment 3 2022-02-05 13:17:52 PST
Comment on attachment 450993 [details] Patch Lots of red.
Darin Adler
Comment 4 2022-02-05 16:28:27 PST
Comment on attachment 450993 [details] Patch Looks great. I will review after you fix TestWebKitAPI
Yusuke Suzuki
Comment 5 2022-02-06 00:56:13 PST
Darin Adler
Comment 6 2022-02-06 10:45:19 PST
Comment on attachment 451026 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=451026&action=review > Source/JavaScriptCore/runtime/JSGlobalObjectFunctions.cpp:547 > + static constexpr Bitmap<256> doNotUnescapeWhenDecodingURI = makeCharacterBitmap( I would have written auto in these places instead of repeating the type.
Yusuke Suzuki
Comment 7 2022-02-06 11:15:43 PST
Comment on attachment 451026 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=451026&action=review >> Source/JavaScriptCore/runtime/JSGlobalObjectFunctions.cpp:547 >> + static constexpr Bitmap<256> doNotUnescapeWhenDecodingURI = makeCharacterBitmap( > > I would have written auto in these places instead of repeating the type. Changed.
Yusuke Suzuki
Comment 8 2022-02-06 11:17:36 PST
Radar WebKit Bug Importer
Comment 9 2022-02-06 11:18:17 PST
Yusuke Suzuki
Comment 10 2022-02-06 11:25:45 PST
Note You need to log in before you can comment on or make changes to this bug.