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

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

Issue 1405563002: Move otherDependencies to globalDependencies. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 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/common/codegen.dart ('k') | pkg/compiler/lib/src/compiler.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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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.common.registry; 5 library dart2js.common.registry;
6 6
7 import '../dart_types.dart' show 7 import '../dart_types.dart' show
8 InterfaceType; 8 InterfaceType;
9 import '../elements/elements.dart' show 9 import '../elements/elements.dart' show
10 Element, 10 Element,
11 FunctionElement; 11 FunctionElement;
12 import '../universe/universe.dart' show 12 import '../universe/universe.dart' show
13 UniverseSelector; 13 UniverseSelector;
14 14
15 /// Interface for registration of element dependencies. 15 /// Interface for registration of element dependencies.
16 abstract class Registry { 16 abstract class Registry {
17 // TODO(johnniwinther): Remove this getter when [Registry] creates a 17 // TODO(johnniwinther): Remove this.
18 // dependency node. 18 void registerDependency(Element element) {}
19 Iterable<Element> get otherDependencies;
20
21 void registerDependency(Element element);
22 19
23 bool get isForResolution; 20 bool get isForResolution;
24 21
25 void registerDynamicInvocation(UniverseSelector selector); 22 void registerDynamicInvocation(UniverseSelector selector);
26 23
27 void registerDynamicGetter(UniverseSelector selector); 24 void registerDynamicGetter(UniverseSelector selector);
28 25
29 void registerDynamicSetter(UniverseSelector selector); 26 void registerDynamicSetter(UniverseSelector selector);
30 27
31 void registerStaticInvocation(Element element); 28 void registerStaticInvocation(Element element);
32 29
33 void registerInstantiation(InterfaceType type); 30 void registerInstantiation(InterfaceType type);
34 31
35 void registerGetOfStaticFunction(FunctionElement element); 32 void registerGetOfStaticFunction(FunctionElement element);
36
37 void registerAssert(bool hasMessage);
38 } 33 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/common/codegen.dart ('k') | pkg/compiler/lib/src/compiler.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698