RESOLVED FIXED203696
[JSC] Make String#localeCompare faster by inlining JSGlobalObject::defaultCollator
https://bugs.webkit.org/show_bug.cgi?id=203696
Summary [JSC] Make String#localeCompare faster by inlining JSGlobalObject::defaultCol...
Yusuke Suzuki
Reported 2019-10-31 13:46:09 PDT
[JSC] Make String#localeCompare faster by inlining JSGlobalObject::defaultCollator
Attachments
Patch (8.60 KB, patch)
2019-10-31 13:47 PDT, Yusuke Suzuki
mark.lam: review+
Yusuke Suzuki
Comment 1 2019-10-31 13:47:12 PDT
Mark Lam
Comment 2 2019-10-31 14:00:48 PDT
Comment on attachment 382497 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=382497&action=review r=me with fix and if EWS bots are green. > Source/JavaScriptCore/runtime/JSGlobalObject.cpp:903 > + scope.assertNoException(); Since you're expecting no exception, use DECLARE_CATCH_SCOPE instead of DECLARE_THROW_SCOPE? Might as well make this a releaseAssertNoException() too.
Yusuke Suzuki
Comment 3 2019-10-31 14:01:35 PDT
Comment on attachment 382497 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=382497&action=review >> Source/JavaScriptCore/runtime/JSGlobalObject.cpp:903 >> + scope.assertNoException(); > > Since you're expecting no exception, use DECLARE_CATCH_SCOPE instead of DECLARE_THROW_SCOPE? Might as well make this a releaseAssertNoException() too. Sounds nice. Fixed.
Yusuke Suzuki
Comment 4 2019-10-31 14:53:23 PDT
Radar WebKit Bug Importer
Comment 5 2019-10-31 14:54:16 PDT
Note You need to log in before you can comment on or make changes to this bug.