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

Side by Side Diff: pkg/compiler/lib/src/resolution/registry.dart

Issue 1278353003: Handle more unqualified SendSets (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 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 unified diff | Download patch
« no previous file with comments | « pkg/compiler/lib/src/resolution/members.dart ('k') | pkg/compiler/lib/src/ssa/builder.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 part of resolution; 5 part of resolution;
6 6
7 /// [ResolutionRegistry] collects all resolution information. It stores node 7 /// [ResolutionRegistry] collects all resolution information. It stores node
8 /// related information in a [TreeElements] mapping and registers calls with 8 /// related information in a [TreeElements] mapping and registers calls with
9 /// [Backend], [World] and [Enqueuer]. 9 /// [Backend], [World] and [Enqueuer].
10 // TODO(johnniwinther): Split this into an interface and implementation class. 10 // TODO(johnniwinther): Split this into an interface and implementation class.
(...skipping 447 matching lines...) Expand 10 before | Expand all | Expand 10 after
458 // needed to lookup types in the current scope. 458 // needed to lookup types in the current scope.
459 void registerJsBuiltinCall(Node node, ResolverVisitor visitor) { 459 void registerJsBuiltinCall(Node node, ResolverVisitor visitor) {
460 world.registerJsBuiltinCall(node, visitor); 460 world.registerJsBuiltinCall(node, visitor);
461 } 461 }
462 462
463 void registerGetOfStaticFunction(FunctionElement element) { 463 void registerGetOfStaticFunction(FunctionElement element) {
464 worldImpact.registerClosurizedFunction(element); 464 worldImpact.registerClosurizedFunction(element);
465 } 465 }
466 466
467 void registerDynamicGetter(UniverseSelector selector) { 467 void registerDynamicGetter(UniverseSelector selector) {
468 assert(selector.selector.isGetter);
468 worldImpact.registerDynamicGetter(selector); 469 worldImpact.registerDynamicGetter(selector);
469 } 470 }
470 471
471 void registerDynamicSetter(UniverseSelector selector) { 472 void registerDynamicSetter(UniverseSelector selector) {
473 assert(selector.selector.isSetter);
472 worldImpact.registerDynamicSetter(selector); 474 worldImpact.registerDynamicSetter(selector);
473 } 475 }
474 476
475 void registerConstSymbol(String name) { 477 void registerConstSymbol(String name) {
476 backend.registerConstSymbol(name, this); 478 backend.registerConstSymbol(name, this);
477 } 479 }
478 480
479 void registerSymbolConstructor() { 481 void registerSymbolConstructor() {
480 backend.resolutionCallbacks.onSymbolConstructor(this); 482 backend.resolutionCallbacks.onSymbolConstructor(this);
481 } 483 }
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
567 } 569 }
568 570
569 void registerAsyncMarker(FunctionElement element) { 571 void registerAsyncMarker(FunctionElement element) {
570 backend.registerAsyncMarker(element, world, this); 572 backend.registerAsyncMarker(element, world, this);
571 } 573 }
572 574
573 void registerAsyncForIn(AsyncForIn node) { 575 void registerAsyncForIn(AsyncForIn node) {
574 backend.resolutionCallbacks.onAsyncForIn(node, this); 576 backend.resolutionCallbacks.onAsyncForIn(node, this);
575 } 577 }
576 } 578 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/resolution/members.dart ('k') | pkg/compiler/lib/src/ssa/builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698