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

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

Issue 1433443002: Remove for-in selectors from TreeElements. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Remove unneeded code. Created 5 years, 1 month 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/resolution/members.dart
diff --git a/pkg/compiler/lib/src/resolution/members.dart b/pkg/compiler/lib/src/resolution/members.dart
index 91650b135bcf3689311321db8b77aaf1dbe3cf4a..8d80d42b34e63dca609790133fd9ef64d61d1301 100644
--- a/pkg/compiler/lib/src/resolution/members.dart
+++ b/pkg/compiler/lib/src/resolution/members.dart
@@ -4254,10 +4254,8 @@ class ResolverVisitor extends MappingVisitor<ResolutionResult> {
ResolutionResult visitAsyncForIn(AsyncForIn node) {
registry.registerAsyncForIn(node);
- registry.setCurrentSelector(node, Selectors.current);
registry.registerDynamicUse(
new UniverseSelector(Selectors.current, null));
- registry.setMoveNextSelector(node, Selectors.moveNext);
registry.registerDynamicUse(
new UniverseSelector(Selectors.moveNext, null));
@@ -4271,13 +4269,10 @@ class ResolverVisitor extends MappingVisitor<ResolutionResult> {
ResolutionResult visitSyncForIn(SyncForIn node) {
registry.registerSyncForIn(node);
- registry.setIteratorSelector(node, Selectors.iterator);
registry.registerDynamicUse(
new UniverseSelector(Selectors.iterator, null));
- registry.setCurrentSelector(node, Selectors.current);
registry.registerDynamicUse(
new UniverseSelector(Selectors.current, null));
- registry.setMoveNextSelector(node, Selectors.moveNext);
registry.registerDynamicUse(
new UniverseSelector(Selectors.moveNext, null));
« no previous file with comments | « pkg/compiler/lib/src/inferrer/simple_types_inferrer.dart ('k') | pkg/compiler/lib/src/resolution/registry.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698