11929b6f68
https://dart-review.googlesource.com/c/sdk/+/286782 omitted to treat captured variables. We should treat captured variables the same as other variables. We might decide to inline the body of a closure, in which case we should not eagerly execute initializer statements for fences. TEST=pkg/vm/testcases/transformations/ffi/finalizable_late_initializer.dart Closes: https://github.com/dart-lang/sdk/issues/51511 Change-Id: I80744d347926087f467c561d76eca17d3a108983 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/287460 Reviewed-by: Alexander Markov <alexmarkov@google.com> Commit-Queue: Alexander Markov <alexmarkov@google.com> Auto-Submit: Daco Harkes <dacoharkes@google.com>