Bug 191738
| Summary: | Inline cache for RegExp.lastIndex. | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Mark Lam <mark.lam> |
| Component: | JavaScriptCore | Assignee: | 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
Doing so may enable the DFG to make RegExp.lastIndex reads even faster.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/46118564>
Saam Barati
(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.