| Index: pkg/compiler/lib/src/compiler.dart
|
| diff --git a/pkg/compiler/lib/src/compiler.dart b/pkg/compiler/lib/src/compiler.dart
|
| index d97d25e5cf2ca24ba95f683c0754193614fbbb50..cf4e21525616fef7efa12a76c5696ab39252ac36 100644
|
| --- a/pkg/compiler/lib/src/compiler.dart
|
| +++ b/pkg/compiler/lib/src/compiler.dart
|
| @@ -199,8 +199,6 @@ abstract class Compiler implements LibraryLoaderListener {
|
| // Initialized when dart:mirrors is loaded.
|
| ClassElement deferredLibraryClass;
|
|
|
| - /// Document class from dart:mirrors.
|
| - ClassElement documentClass;
|
| Element identicalFunction;
|
| Element loadLibraryFunction;
|
| Element functionApplyMethod;
|
| @@ -564,14 +562,6 @@ abstract class Compiler implements LibraryLoaderListener {
|
| coreClasses.functionClass.ensureResolved(resolution);
|
| functionApplyMethod =
|
| coreClasses.functionClass.lookupLocalMember('apply');
|
| -
|
| - if (options.preserveComments) {
|
| - return libraryLoader
|
| - .loadLibrary(Uris.dart_mirrors)
|
| - .then((LibraryElement libraryElement) {
|
| - documentClass = libraryElement.find('Comment');
|
| - });
|
| - }
|
| }).then((_) => backend.onLibrariesLoaded(loadedLibraries));
|
| }
|
|
|
|
|