| Index: pkg/compiler/lib/src/kernel/element_map.dart
|
| diff --git a/pkg/compiler/lib/src/kernel/element_map.dart b/pkg/compiler/lib/src/kernel/element_map.dart
|
| index 025838bb6b0f89d2866b8b14aa027487c1e65620..28c376ba3d9d8fca847a833b6189d65ef393140b 100644
|
| --- a/pkg/compiler/lib/src/kernel/element_map.dart
|
| +++ b/pkg/compiler/lib/src/kernel/element_map.dart
|
| @@ -1250,25 +1250,6 @@ class WorldDeconstructionForTesting {
|
|
|
| WorldDeconstructionForTesting(this.builder);
|
|
|
| - KLibrary _getLibrary<E>(E member, Map<ir.Member, E> map) {
|
| - ir.Library library;
|
| - map.forEach((ir.Member node, E other) {
|
| - if (library == null && member == other) {
|
| - library = node.enclosingLibrary;
|
| - }
|
| - });
|
| - if (library == null) {
|
| - throw new ArgumentError("No library found for $member");
|
| - }
|
| - return builder._getLibrary(library);
|
| - }
|
| -
|
| - KLibrary getLibraryForFunction(KFunction function) =>
|
| - _getLibrary(function, builder._methodMap);
|
| -
|
| - KLibrary getLibraryForField(KField field) =>
|
| - _getLibrary(field, builder._fieldMap);
|
| -
|
| KClass getSuperclassForClass(KClass cls) {
|
| _KClassEnv env = builder._classEnvs[cls.classIndex];
|
| ir.Supertype supertype = env.cls.supertype;
|
|
|