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

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

Issue 1087973002: Rewrite for-in loop as indexing loop for JavaScript indexable arrays (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: retry Created 5 years, 8 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 313 matching lines...) Expand 10 before | Expand all | Expand 10 after
324 } 324 }
325 325
326 void registerCatchStatement() { 326 void registerCatchStatement() {
327 backend.resolutionCallbacks.onCatchStatement(this); 327 backend.resolutionCallbacks.onCatchStatement(this);
328 } 328 }
329 329
330 void registerStackTraceInCatch() { 330 void registerStackTraceInCatch() {
331 backend.resolutionCallbacks.onStackTraceInCatch(this); 331 backend.resolutionCallbacks.onStackTraceInCatch(this);
332 } 332 }
333 333
334 void registerSyncForIn(Node node) {
335 backend.resolutionCallbacks.onSyncForIn(this);
336 }
337
334 ClassElement defaultSuperclass(ClassElement element) { 338 ClassElement defaultSuperclass(ClassElement element) {
335 return backend.defaultSuperclass(element); 339 return backend.defaultSuperclass(element);
336 } 340 }
337 341
338 void registerMixinUse(MixinApplicationElement mixinApplication, 342 void registerMixinUse(MixinApplicationElement mixinApplication,
339 ClassElement mixin) { 343 ClassElement mixin) {
340 universe.registerMixinUse(mixinApplication, mixin); 344 universe.registerMixinUse(mixinApplication, mixin);
341 } 345 }
342 346
343 void registerThrowExpression() { 347 void registerThrowExpression() {
(...skipping 26 matching lines...) Expand all
370 } 374 }
371 375
372 void registerAsyncMarker(FunctionElement element) { 376 void registerAsyncMarker(FunctionElement element) {
373 backend.registerAsyncMarker(element, world, this); 377 backend.registerAsyncMarker(element, world, this);
374 } 378 }
375 379
376 void registerAsyncForIn(AsyncForIn node) { 380 void registerAsyncForIn(AsyncForIn node) {
377 backend.resolutionCallbacks.onAsyncForIn(node, this); 381 backend.resolutionCallbacks.onAsyncForIn(node, this);
378 } 382 }
379 } 383 }
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