Bug 191738

Summary: Inline cache for RegExp.lastIndex.
Product: WebKit Reporter: Mark Lam <mark.lam>
Component: JavaScriptCoreAssignee: Mark Lam <mark.lam>
Status: ASSIGNED    
Severity: Normal CC: saam, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Mark Lam
Reported 2018-11-15 21:59:37 PST
Doing so may enable the DFG to make RegExp.lastIndex reads even faster.
Attachments
Radar WebKit Bug Importer
Comment 1 2018-11-15 22:00:54 PST
Saam Barati
Comment 2 2018-11-16 11:42:46 PST
(In reply to Mark Lam from comment #0) > Doing so may enable the DFG to make RegExp.lastIndex reads even faster. I don't think that's quite right. We still want the DFG node, but doing inline caching will help the baseline JIT and the DFG/FTL in certain cases where it doesn't lower to the GetRegExpObjectLastIndex node.
Note You need to log in before you can comment on or make changes to this bug.