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

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

Issue 2993153002: Use analyzeOnly in kernel/impact_test. (Closed)
Patch Set: Include constructors Created 3 years, 4 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 | tests/compiler/dart2js/kernel/compiler_helper.dart » ('j') | no next file with comments »
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 faf31fda4215fafcdb5893bbec33ee45f94dc16c..edc8dd9e519b71a1745bf3542f38f6328b37bbfb 100644
--- a/pkg/compiler/lib/src/common/resolution.dart
+++ b/pkg/compiler/lib/src/common/resolution.dart
@@ -176,26 +176,26 @@ abstract class Resolution {
ResolvedAst getResolvedAst(ExecutableElement element);
/// Returns `true` if the [ResolutionImpact] for [element] is cached.
- bool hasResolutionImpact(Element element);
+ bool hasResolutionImpact(MemberElement element);
/// Returns the precomputed [ResolutionImpact] for [element].
- ResolutionImpact getResolutionImpact(Element element);
+ ResolutionImpact getResolutionImpact(MemberElement element);
/// Returns the [ResolvedAst] for [element], computing it if necessary.
- ResolvedAst computeResolvedAst(Element element);
+ ResolvedAst computeResolvedAst(MemberElement element);
/// Returns the precomputed [WorldImpact] for [element].
- WorldImpact getWorldImpact(Element element);
+ WorldImpact getWorldImpact(MemberElement element);
/// Computes the [WorldImpact] for [element].
- WorldImpact computeWorldImpact(Element element);
+ WorldImpact computeWorldImpact(MemberElement element);
WorldImpact transformResolutionImpact(
- Element element, ResolutionImpact resolutionImpact);
+ MemberElement element, ResolutionImpact resolutionImpact);
/// Removes the [WorldImpact] for [element] from the resolution cache. Later
/// calls to [getWorldImpact] or [computeWorldImpact] returns an empty impact.
- void uncacheWorldImpact(Element element);
+ void uncacheWorldImpact(MemberElement element);
/// Removes the [WorldImpact]s for all [Element]s in the resolution cache. ,
/// Later calls to [getWorldImpact] or [computeWorldImpact] returns an empty
« no previous file with comments | « no previous file | tests/compiler/dart2js/kernel/compiler_helper.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698