DescriptionUse .callMethod instead of LocalFunctionElement as key in inference
This changes the inlining strategy a bit by solving a latent problem:
ClosedWorld.isCalledInLoop was computed using LocalFunctionElement but
queried using SynthesizedCallMethodX thus always returning false in
these cases.
R=sigmund@google.com
Committed: https://github.com/dart-lang/sdk/commit/cc5fed33373c08d0a75ff7d093f1f74f6bcc93c4
Patch Set 1 #
Total comments: 12
Patch Set 2 : Updated cf. comments #Messages
Total messages: 9 (3 generated)
|