dart2js: dummy receiver optimization can be applied to super calls #22727
Labels
area-web
Use area-web for Dart web related issues, including the DDC and dart2js compilers and JS interop.
dart2js-optimization
type-enhancement
A request for a change that isn't a bug
web-dart2js
Super calls look like one of the following
X.Local.prototype.$index.call(resp, resp, "items")
resp.super$Local$$index(resp, items)
In both cases we could replace the second 'resp' with a dummy receiver '0' if the target never references the 'receiver' parameter.
The text was updated successfully, but these errors were encountered: