| Index: pkg/compiler/lib/src/stats/builder.dart
|
| diff --git a/pkg/compiler/lib/src/stats/builder.dart b/pkg/compiler/lib/src/stats/builder.dart
|
| index 1e683bd22ff1a743d19905636e6875d136a1d88c..9194de762abfa2ccf8af742ed6ce65a7b10d427c 100644
|
| --- a/pkg/compiler/lib/src/stats/builder.dart
|
| +++ b/pkg/compiler/lib/src/stats/builder.dart
|
| @@ -36,7 +36,7 @@ import 'trusted_types_analysis_result.dart';
|
| Measurements collectSendMeasurements(FunctionElement f, Compiler compiler) {
|
| return compiler.withCurrentElement(f, () {
|
| // TODO(sigmund): enable for platform too.
|
| - if (f.library.isPlatformLibrary) return;
|
| + if (f.library.isPlatformLibrary) return null;
|
| var name = _qualifiedName(f);
|
| if (!f.hasNode) {
|
| if (f is PartialElement) return const Measurements.unreachableFunction();
|
|
|