Bug 204258 - Do some constant-folding of inc and dec in the abstract interpreter
Summary: Do some constant-folding of inc and dec in the abstract interpreter
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Enhancement
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-15 15:40 PST by Robin Morisset
Modified: 2019-11-15 15:40 PST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robin Morisset 2019-11-15 15:40:06 PST
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).