Bug 204258
| Summary: | Do some constant-folding of inc and dec in the abstract interpreter | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Robin Morisset <rmorisset> |
| Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Enhancement | ||
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=193240 | ||
Robin Morisset
It is not clear that it would bring us anything, since DFGFixupPhase should be smart enough to notice constants and replace the entire operation by {Arith, Value}{Add, Sub} (which is already optimized by DFGAbstractInterpreterInlines.h).
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |