Chromium Code Reviews

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

Issue 686113002: Update repo to use dart2js from pkg/compiler. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix vm/cc/Dart2JsCompileAll test. Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | | Annotate | Revision Log
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 354 matching lines...)
365 365
366 void registerAssert(Send node) { 366 void registerAssert(Send node) {
367 mapping.setAssert(node); 367 mapping.setAssert(node);
368 backend.resolutionCallbacks.onAssert(node, this); 368 backend.resolutionCallbacks.onAssert(node, this);
369 } 369 }
370 370
371 bool isAssert(Send node) { 371 bool isAssert(Send node) {
372 return mapping.isAssert(node); 372 return mapping.isAssert(node);
373 } 373 }
374 } 374 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/resolution/members.dart ('k') | pkg/compiler/lib/src/resolution/resolution.dart » ('j') | no next file with comments »

Powered by Google App Engine