Bug 194735

Summary: [JSC] Lazily create empty RegExp
Product: WebKit Reporter: Yusuke Suzuki <ysuzuki>
Component: New BugsAssignee: Yusuke Suzuki <ysuzuki>
Status: RESOLVED FIXED    
Severity: Normal CC: ews-watchlist, keith_miller, mark.lam, msaboff, saam, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch keith_miller: review+

Yusuke Suzuki
Reported 2019-02-15 19:13:13 PST
[JSC] Lazily create empty RegExp
Attachments
Patch (7.12 KB, patch)
2019-02-15 19:14 PST, Yusuke Suzuki
keith_miller: review+
Yusuke Suzuki
Comment 1 2019-02-15 19:14:41 PST
Keith Miller
Comment 2 2019-02-15 19:53:40 PST
Comment on attachment 362199 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=362199&action=review > Source/JavaScriptCore/runtime/RegExpCache.h:51 > + if (m_emptyRegExp) Should we mark this likely?
Yusuke Suzuki
Comment 3 2019-02-15 20:26:31 PST
Comment on attachment 362199 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=362199&action=review Thank you! >> Source/JavaScriptCore/runtime/RegExpCache.h:51 >> + if (m_emptyRegExp) > > Should we mark this likely? Sounds nice! Yeah, we should put LIKELY, fixed.
Yusuke Suzuki
Comment 4 2019-02-15 20:32:47 PST
Radar WebKit Bug Importer
Comment 5 2019-02-15 20:33:24 PST
Note You need to log in before you can comment on or make changes to this bug.