8a368a1a4c
This CL changes devirtualization to detect corner case of a method invocation which is resolved to a getter or a field. This kind of invocation should call getter first, and then call 'call()' method on the result of the getter, passing the rest of the arguments. For simplicity, devirtualization of such method invocations is avoided. Issue: https://github.com/dart-lang/sdk/issues/30480 Change-Id: Ibe6321931cbb5527a26b139c5f1ee9773a253629 Reviewed-on: https://dart-review.googlesource.com/5902 Reviewed-by: Ryan Macnak <rmacnak@google.com> Reviewed-by: Vyacheslav Egorov <vegorov@google.com>