9fda4c1101
This is a workaround to https://github.com/dart-lang/sdk/issues/37944. Closure call instructions are not tracked by code coverage, so this change avoids generating them in bytecode if incremental kernel compiler is used - when vm-service is enabled with command-line option and code coverage may be needed. Change-Id: Ifb3bc5e90a9f8ccb04073994d761bc301bc274ab Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/114045 Reviewed-by: Régis Crelier <regis@google.com> Reviewed-by: Ryan Macnak <rmacnak@google.com> Commit-Queue: Alexander Markov <alexmarkov@google.com>