Enable GVN on safe dynamic invocations #18519
Labels
P2
A bug or feature request we're likely to work on
type-enhancement
A request for a change that isn't a bug
web-dart2js
Currently, GVN is disabled on dynamic invocations even if the invoked target does not have side effects, as it might produce different values for each invocation (e.g. by allocating a new object).
gvn_dynamic_field_get_test is a dart2js test with an example.
The text was updated successfully, but these errors were encountered: