WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
202189
[JSC] We should handle RegExpConstructor in DFG
https://bugs.webkit.org/show_bug.cgi?id=202189
Summary
[JSC] We should handle RegExpConstructor in DFG
Yusuke Suzuki
Reported
2019-09-25 00:56:22 PDT
JetStream2/string-unpack-code-SP's hottest part is `new RegExp(...)` where parameters are already proven (LazyJSConstant string and String constant). We can completely eliminate this thing's RegExp allocation (RegExpObject could be allocated, but RegExp can be cached if we handle RegExpConstructor InternalFunction call in DFG).
Attachments
Patch
(38.40 KB, patch)
2019-09-29 01:00 PDT
,
Yusuke Suzuki
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Yusuke Suzuki
Comment 1
2019-09-29 01:00:29 PDT
Created
attachment 379806
[details]
Patch
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug