99a370942b
Add a flag to SourceFile which is true if the associated script contains a list of covered const constructors, and serialize said list if true. Delay reading and resolving the list of covered const constructors in the bytecode reader until code is read. Update usage counters for interpreted functions in Entry instructions. Fix up cases where SourceReport assumed compiled code as appropriate. Remaining: * Record call and assert coverage information if the current isolate group has coverage enabled. * Record branch coverage information if the current isolate group has branch coverage enabled. TEST=pkg/vm_service pkg/dart2bytecode Cq-Include-Trybots: luci.dart.try:vm-dyn-linux-debug-x64-try,vm-aot-dyn-linux-debug-x64-try,vm-aot-dyn-linux-product-x64-try,vm-dyn-mac-debug-arm64-try Change-Id: I14b6ffba1e175993e992c0fe939473557303bfeb Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/449900 Reviewed-by: Alexander Markov <alexmarkov@google.com> Commit-Queue: Tess Strickland <sstrickl@google.com>
This package contains Dart bytecode compiler.
Status: experimental
NOTE: This package is currently experimental and not published or included in the SDK.
Do not take dependency on this package unless you are prepared for breaking changes and possibly removal of this code at any point in time.