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

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

Issue 794933004: Remove tracking of factories used with type arguments. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update test expectation. Created 5 years, 11 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 | Annotate | Revision Log
« 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 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 } 291 }
292 292
293 void registerSymbolConstructor() { 293 void registerSymbolConstructor() {
294 backend.resolutionCallbacks.onSymbolConstructor(this); 294 backend.resolutionCallbacks.onSymbolConstructor(this);
295 } 295 }
296 296
297 void registerInstantiatedType(InterfaceType type) { 297 void registerInstantiatedType(InterfaceType type) {
298 world.registerInstantiatedType(type, this); 298 world.registerInstantiatedType(type, this);
299 } 299 }
300 300
301 void registerFactoryWithTypeArguments() {
302 world.registerFactoryWithTypeArguments(this);
303 }
304
305 void registerAbstractClassInstantiation() { 301 void registerAbstractClassInstantiation() {
306 backend.resolutionCallbacks.onAbstractClassInstantiation(this); 302 backend.resolutionCallbacks.onAbstractClassInstantiation(this);
307 } 303 }
308 304
309 void registerNewSymbol() { 305 void registerNewSymbol() {
310 backend.registerNewSymbol(this); 306 backend.registerNewSymbol(this);
311 } 307 }
312 308
313 void registerRequiredType(DartType type, Element enclosingElement) { 309 void registerRequiredType(DartType type, Element enclosingElement) {
314 backend.registerRequiredType(type, enclosingElement); 310 backend.registerRequiredType(type, enclosingElement);
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
365 361
366 void registerAssert(Send node) { 362 void registerAssert(Send node) {
367 mapping.setAssert(node); 363 mapping.setAssert(node);
368 backend.resolutionCallbacks.onAssert(node, this); 364 backend.resolutionCallbacks.onAssert(node, this);
369 } 365 }
370 366
371 bool isAssert(Send node) { 367 bool isAssert(Send node) {
372 return mapping.isAssert(node); 368 return mapping.isAssert(node);
373 } 369 }
374 } 370 }
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