fe7778291b
This is a step towards detaching bodies of closures/local functions from the enclosing functions in TFA, so closures could be analyzed separately. Also, this change allows TFA to accumulate types of captured local variables among all invocations. On a large Flutter app, this change doesn't cause noticeable compilation time or snapshot size changes. Issue: https://github.com/dart-lang/sdk/issues/39692 Issue: https://github.com/dart-lang/sdk/issues/51102 TEST=pkg/vm/testcases/transformations/type_flow/summary_collector/control_flow.dart Cq-Include-Trybots: luci.dart.try:vm-aot-linux-release-x64-try,vm-aot-mac-product-arm64-try Change-Id: I785b15656df559a8cc80fcceea196b480ba7a91a Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/318021 Reviewed-by: Martin Kustermann <kustermann@google.com> Commit-Queue: Alexander Markov <alexmarkov@google.com>