Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1254)

Unified Diff: runtime/lib/mirrors_impl.dart

Issue 189293002: Revert "Access to imports in the VM's runtime mirrors. Extend test coverage of the source mirrors." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/lib/mirrors.cc ('k') | runtime/vm/bootstrap_natives.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/mirrors_impl.dart
diff --git a/runtime/lib/mirrors_impl.dart b/runtime/lib/mirrors_impl.dart
index 4449187d65b7052dd672c0c390918ebb9ff61cb8..acb421bd3ddb8c33742db83269b4c704102b4ef8 100644
--- a/runtime/lib/mirrors_impl.dart
+++ b/runtime/lib/mirrors_impl.dart
@@ -1290,17 +1290,6 @@ class _LocalLibraryMirror extends _LocalObjectMirror implements LibraryMirror {
return new _InvocationTrampoline(this, selector);
}
- var _cachedLibraryDependencies;
- get libraryDependencies {
- if (_cachedLibraryDependencies == null) {
- _cachedLibraryDependencies = _libraryDependencies(_reflectee);
- }
- return _cachedLibraryDependencies;
- }
-
- _libraryDependencies(reflectee)
- native 'LibraryMirror_libraryDependencies';
-
_invoke(reflectee, memberName, arguments, argumentNames)
native 'LibraryMirror_invoke';
@@ -1314,37 +1303,6 @@ class _LocalLibraryMirror extends _LocalObjectMirror implements LibraryMirror {
native "LibraryMirror_members";
}
-class _LocalLibraryDependencyMirror
- extends _LocalMirror implements LibraryDependencyMirror {
- final LibraryMirror sourceLibrary;
- final LibraryMirror targetLibrary;
- final List<CombinatorMirror> combinators;
- final Symbol prefix;
- final bool isImport;
- final List<InstanceMirror> metadata;
-
- _LocalLibraryDependencyMirror(this.sourceLibrary,
- this.targetLibrary,
- this.combinators,
- prefixString,
- this.isImport,
- unwrappedMetadata)
- : prefix = _s(prefixString),
- metadata = new UnmodifiableListView(unwrappedMetadata.map(reflect));
-
- bool get isExport => !isImport;
-}
-
-class _LocalCombinatorMirror extends _LocalMirror implements CombinatorMirror {
- final List<Symbol> identifiers;
- final bool isShow;
-
- _LocalCombinatorMirror(identifierString, this.isShow)
- : this.identifiers = [_s(identifierString)];
-
- bool get isHide => !isShow;
-}
-
class _LocalMethodMirror extends _LocalDeclarationMirror
implements MethodMirror {
final bool isStatic;
« no previous file with comments | « runtime/lib/mirrors.cc ('k') | runtime/vm/bootstrap_natives.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698