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

Unified Diff: pkg/compiler/lib/src/common_elements.dart

Issue 2854013002: Make JavaScriptBackend.processAnnotations element-model agnostic (Closed)
Patch Set: Created 3 years, 8 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
Index: pkg/compiler/lib/src/common_elements.dart
diff --git a/pkg/compiler/lib/src/common_elements.dart b/pkg/compiler/lib/src/common_elements.dart
index 18557548b33e03285e38762a37c8cb52a0a0805b..c7218ec77181fe75fe0d3e884ea2820ed89177f5 100644
--- a/pkg/compiler/lib/src/common_elements.dart
+++ b/pkg/compiler/lib/src/common_elements.dart
@@ -6,11 +6,12 @@
library dart2js.type_system;
import 'common/names.dart' show Identifiers, Uris;
-import 'js_backend/constant_system_javascript.dart';
+import 'constants/values.dart';
import 'elements/types.dart';
import 'elements/elements.dart' show PublicName;
import 'elements/entities.dart';
import 'js_backend/backend.dart' show JavaScriptBackend;
+import 'js_backend/constant_system_javascript.dart';
import 'universe/call_structure.dart' show CallStructure;
import 'universe/selector.dart' show Selector;
import 'universe/call_structure.dart';
@@ -1247,4 +1248,7 @@ abstract class ElementEnvironment {
/// Returns `true` if [member] a the synthetic getter `loadLibrary` injected
/// on deferred libraries.
bool isDeferredLoadLibraryGetter(MemberEntity member);
+
+ /// Returns the metadata constants declared on [member].
+ Iterable<ConstantValue> getMemberMetadata(MemberEntity member);
}
« no previous file with comments | « no previous file | pkg/compiler/lib/src/inferrer/inferrer_engine.dart » ('j') | pkg/compiler/lib/src/inferrer/inferrer_engine.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698