several minor edits to various dart-lang/sdk files

Change-Id: I62e5b46811ef5d4d4f280a9e334ba87a355bc1cc
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/205302
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Commit-Queue: Devon Carew <devoncarew@google.com>
This commit is contained in:
Devon Carew 2021-06-29 17:47:48 +00:00 committed by commit-bot@chromium.org
parent 141d27a47f
commit ee1774ca6c
3 changed files with 3 additions and 4 deletions

View file

@ -108,7 +108,6 @@ dartk: Compile the Dart code into Kernel before running test.
dartkp: Compile the Dart code into Kernel and then Kernel into
AOT snapshot before running the test.
spec_parser: Parse Dart code using the specification parser.
fasta: Compile using CFE for errors, but do not run.
''',
abbr: 'c',

View file

@ -128,8 +128,8 @@ class Metrics {
_metrics.remove(metric.name);
}
// ignore: unused_element, called from native code
@pragma("vm:entry-point", !const bool.fromEnvironment("dart.vm.product"))
// ignore: unused_element, called from native code
static String? _printMetric(String id) {
var metric = _metrics[id];
if (metric == null) {
@ -138,8 +138,8 @@ class Metrics {
return json.encode(metric._toJSON());
}
// ignore: unused_element, called from native code
@pragma("vm:entry-point", !const bool.fromEnvironment("dart.vm.product"))
// ignore: unused_element, called from native code
static String _printMetrics() {
var metrics = [];
for (var metric in _metrics.values) {

View file

@ -2,7 +2,7 @@
# for details. All rights reserved. Use of this source code is governed by a
# BSD-style license that can be found in the LICENSE file.
# Note: if you edit this file, you must also edit libraries.json in this
# Note: if you edit this file, you must also generate libraries.json in this
# directory:
#
# python3 ./tools/yaml2json.py sdk/lib/vmservice_libraries.yaml sdk/lib/vmservice_libraries.json