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

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

Issue 1334203002: Compute Compiler.proxyConstant on demand. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 3 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
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 library dart2js.resolution.registry; 5 library dart2js.resolution.registry;
6 6
7 import '../common/backend_api.dart' show 7 import '../common/backend_api.dart' show
8 Backend; 8 Backend;
9 import '../common/registry.dart' show 9 import '../common/registry.dart' show
10 Registry; 10 Registry;
(...skipping 592 matching lines...) Expand 10 before | Expand all | Expand 10 after
603 } 603 }
604 604
605 void registerAsyncMarker(FunctionElement element) { 605 void registerAsyncMarker(FunctionElement element) {
606 backend.registerAsyncMarker(element, world, this); 606 backend.registerAsyncMarker(element, world, this);
607 } 607 }
608 608
609 void registerAsyncForIn(AsyncForIn node) { 609 void registerAsyncForIn(AsyncForIn node) {
610 backend.resolutionCallbacks.onAsyncForIn(node, this); 610 backend.resolutionCallbacks.onAsyncForIn(node, this);
611 } 611 }
612 612
613 void registerIncDecOperation() {
614 backend.resolutionCallbacks.onIncDecOperation(this);
615 }
616
613 void registerTryStatement() { 617 void registerTryStatement() {
614 mapping.containsTryStatement = true; 618 mapping.containsTryStatement = true;
615 } 619 }
616 } 620 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698