5b78cb8fb5
Adds another interface target to instance calls, pointing to the torn off method for tearoff getter calls. This is then used to direct the call to the method extractor for the method. Increases the fraction of dynamically dispatched instance calls in Flutter Gallery that are handled by the dispatch table from 95.8% to 98.4%. The remaining 92 IC calls are all on static receiver type dynamic or Function (34 function calls, 22 method calls, 21 operator calls, 14 getter calls and 1 setter call). Change-Id: I0bde1a8271c8563f4631534bd39d1254cd779380 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/142155 Commit-Queue: Aske Simon Christensen <askesc@google.com> Reviewed-by: Martin Kustermann <kustermann@google.com>