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

Unified Diff: pkg/compiler/lib/src/common/resolution.dart

Issue 2609063002: Further reduce use of Element in codegen. (Closed)
Patch Set: Created 3 years, 12 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 | « no previous file | pkg/compiler/lib/src/compiler.dart » ('j') | pkg/compiler/lib/src/universe/world_builder.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/common/resolution.dart
diff --git a/pkg/compiler/lib/src/common/resolution.dart b/pkg/compiler/lib/src/common/resolution.dart
index 9d3c852b068f9c73025b8572804225dd122d7536..34db91327e384c3db7294715cab69e82b2438b8a 100644
--- a/pkg/compiler/lib/src/common/resolution.dart
+++ b/pkg/compiler/lib/src/common/resolution.dart
@@ -16,6 +16,7 @@ import '../elements/elements.dart'
AstElement,
ClassElement,
Element,
+ Entity,
ExecutableElement,
FunctionElement,
FunctionSignature,
@@ -112,7 +113,7 @@ abstract class Target {
/// Returns `true` if [element] is a native element, that is, that the
/// corresponding entity already exists in the target language.
- bool isNative(Element element) => false;
+ bool isNative(Entity element) => false;
/// Returns `true` if [element] is a foreign element, that is, that the
/// backend has specialized handling for the element.
« no previous file with comments | « no previous file | pkg/compiler/lib/src/compiler.dart » ('j') | pkg/compiler/lib/src/universe/world_builder.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698