facebookarchive / prepack

A JavaScript bundle optimizer.
http://prepack.io
Other
14.22k stars 425 forks source link

Unify modeling of unknownProperty of widened numeric arrays and widened objects #2569

Closed sb98052 closed 4 years ago

sb98052 commented 5 years ago

When array operations such as map and filter are invoked, computing subsequent effects must take into account aliasing created by the operations. The current primitives for objects with widened properties support tracking this aliasing, but two things are missing: