| Index: tests/compiler/dart2js/memory_compiler.dart
|
| diff --git a/tests/compiler/dart2js/memory_compiler.dart b/tests/compiler/dart2js/memory_compiler.dart
|
| index 47c1a43e72866d2929d4b39b66f3b0fdc03fb5f0..c39f44279c00e2441991440f9e656a00c7df84c6 100644
|
| --- a/tests/compiler/dart2js/memory_compiler.dart
|
| +++ b/tests/compiler/dart2js/memory_compiler.dart
|
| @@ -16,8 +16,6 @@ import 'package:compiler/compiler_new.dart' show
|
| PackagesDiscoveryProvider;
|
| import 'package:compiler/src/diagnostics/messages.dart' show
|
| Message;
|
| -import 'package:compiler/src/mirrors/source_mirrors.dart';
|
| -import 'package:compiler/src/mirrors/analyze.dart';
|
| import 'package:compiler/src/null_compiler_output.dart' show
|
| NullCompilerOutput;
|
| import 'package:compiler/src/library_loader.dart' show
|
| @@ -259,23 +257,3 @@ DiagnosticHandler createDiagnosticHandler(DiagnosticHandler diagnosticHandler,
|
| }
|
| return handler;
|
| }
|
| -
|
| -Future<MirrorSystem> mirrorSystemFor(Map<String,String> memorySourceFiles,
|
| - {DiagnosticHandler diagnosticHandler,
|
| - List<String> options: const [],
|
| - bool showDiagnostics: true}) {
|
| - Uri libraryRoot = Uri.base.resolve('sdk/');
|
| - Uri packageRoot = Uri.base.resolve(Platform.packageRoot);
|
| -
|
| - var provider = new MemorySourceFileProvider(memorySourceFiles);
|
| - var handler =
|
| - createDiagnosticHandler(diagnosticHandler, provider, showDiagnostics);
|
| -
|
| - List<Uri> libraries = <Uri>[];
|
| - memorySourceFiles.forEach((String path, _) {
|
| - libraries.add(new Uri(scheme: 'memory', path: path));
|
| - });
|
| -
|
| - return analyze(libraries, libraryRoot, packageRoot,
|
| - provider, handler, options);
|
| -}
|
|
|