mirror of
https://github.com/dart-lang/sdk
synced 2024-10-04 19:39:41 +00:00
856139bfc3
Before this CL, becase of optimizations, coverage of some of these goes away, making coverage unreliable. I believe this fixes the issues for "regular" runs (at least it seems to be stable on the CFE coverage tests). If setting `--optimization-counter-threshold=-1` there'll still be trouble though and we would have to also insert these calls in the start of FunctionBody and the start of FieldInitializer for it to produce the same results. TEST=pkg/vm_service/test/coverage_instance_call_after_optimization_test.dart,pkg/vm_service/test/coverage_static_call_after_optimization_test.dart Bug: https://github.com/dart-lang/sdk/issues/42061 Bug: https://github.com/dart-lang/sdk/issues/55959 Bug: https://github.com/dart-lang/sdk/issues/56018 Change-Id: I34947f0d4b123e52ce67b71a195782d31e4bda16 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/370501 Commit-Queue: Jens Johansen <jensj@google.com> Reviewed-by: Slava Egorov <vegorov@google.com> |
||
---|---|---|
.. | ||
bin | ||
docs | ||
include | ||
lib | ||
observatory | ||
platform | ||
tests | ||
tools | ||
vm | ||
.clang-tidy | ||
.gitignore | ||
BUILD.gn | ||
codereview.settings | ||
configs.gni | ||
CPPLINT.cfg | ||
OWNERS | ||
PRESUBMIT.py | ||
runtime_args.gni | ||
vm-jit.shard.cml | ||
vm.shard.cml |