2eb4ea5b34
RecordBranchCoverage method introduced in https://dart-review.googlesource.com/c/sdk/+/224320 RecordBranchCoverage only inserts the RecordCoverage instruction if the --branch-coverage flag is enabled. It also encodes the branch coverage and normal coverage token positions differently, so that source_report.cc can ignore the branch coverage positions (for now). Next step after this is to add a special RPC to source_report.cc, that reads and reports the branch coverage positions. Change-Id: If8ac2cbba7777378e2fb0734aba9624e65c48f2b TEST=CI (proper tests on the way once I implement the new RPC) Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/224082 Reviewed-by: Alexander Markov <alexmarkov@google.com> Commit-Queue: Liam Appelbe <liama@google.com>