[vm] Add an isolate group flag for branch coverage.
Branch coverage can't be enabled by a simple global flag, because this causes problems when functions in an app-jit snapshot that didn't have the flag enabled are compiled by a VM that has the flag enabled. In particular, the coverage array will see a different set of token positions, causing some important asserts to fail. Change-Id: I35227252b5d271f20b01de99466c06708ec83ed8 TEST=CI Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/223360 Reviewed-by: Ryan Macnak <rmacnak@google.com> Commit-Queue: Liam Appelbe <liama@google.com>
This commit is contained in:
@@ -606,6 +606,7 @@ typedef struct {
|
||||
bool null_safety;
|
||||
bool is_system_isolate;
|
||||
bool snapshot_is_dontneed_safe;
|
||||
bool branch_coverage;
|
||||
} Dart_IsolateFlags;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user