| Index: tests/compiler/dart2js/mirrors_used_test.dart
|
| diff --git a/tests/compiler/dart2js/mirrors_used_test.dart b/tests/compiler/dart2js/mirrors_used_test.dart
|
| index b0547995ed172c1e4f92c7d2e916b6b43431e039..9e18fb8bf1863c9d7ec48fbf02a47373405db940 100644
|
| --- a/tests/compiler/dart2js/mirrors_used_test.dart
|
| +++ b/tests/compiler/dart2js/mirrors_used_test.dart
|
| @@ -28,6 +28,8 @@ import 'package:compiler/src/js_emitter/full_emitter/emitter.dart' as full
|
| import 'package:compiler/src/old_to_new_api.dart'
|
| show LegacyCompilerDiagnostics;
|
|
|
| +import 'package:compiler/src/universe/world_builder.dart';
|
| +
|
| void expectOnlyVerboseInfo(Uri uri, int begin, int end, String message, kind) {
|
| if (kind.name == 'verbose info') {
|
| print(message);
|
| @@ -143,7 +145,9 @@ void main() {
|
| }
|
|
|
| int metadataCount = 0;
|
| - Set<ConstantValue> compiledConstants = backend.constants.compiledConstants;
|
| + CodegenWorldBuilderImpl codegenWorldBuilder = compiler.codegenWorldBuilder;
|
| + Set<ConstantValue> compiledConstants =
|
| + codegenWorldBuilder.compiledConstants;
|
| // Make sure that most of the metadata constants aren't included in the
|
| // generated code.
|
| MirrorsResolutionAnalysisImpl mirrorsResolutionAnalysis =
|
|
|