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

Side by Side Diff: pkg/compiler/lib/src/universe/function_set.dart

Issue 2221893003: pkg/compiler: fix imports (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 4 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) 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 universe.function_set; 5 library universe.function_set;
6 6
7 import '../common/names.dart' show Identifiers, Selectors; 7 import '../common/names.dart' show Identifiers, Selectors;
8 import '../compiler.dart' show Compiler; 8 import '../compiler.dart' show Compiler;
9 import '../elements/elements.dart'; 9 import '../elements/elements.dart';
10 import '../types/types.dart'; 10 import '../types/types.dart';
11 import '../util/util.dart' show Hashing, Setlet; 11 import '../util/util.dart' show Hashing, Setlet;
12 import '../world.dart' show ClassWorld; 12 import '../world.dart' show ClassWorld;
13
14 import 'selector.dart' show Selector; 13 import 'selector.dart' show Selector;
15 import 'universe.dart' show ReceiverConstraint; 14 import 'universe.dart' show ReceiverConstraint;
16 15
17 // TODO(kasperl): This actually holds getters and setters just fine 16 // TODO(kasperl): This actually holds getters and setters just fine
18 // too and stricly they aren't functions. Maybe this needs a better 17 // too and stricly they aren't functions. Maybe this needs a better
19 // name -- something like ElementSet seems a bit too generic. 18 // name -- something like ElementSet seems a bit too generic.
20 class FunctionSet { 19 class FunctionSet {
21 final Compiler compiler; 20 final Compiler compiler;
22 final Map<String, FunctionSetNode> nodes = new Map<String, FunctionSetNode>(); 21 final Map<String, FunctionSetNode> nodes = new Map<String, FunctionSetNode>();
23 FunctionSet(this.compiler); 22 FunctionSet(this.compiler);
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 } else if (classWorld.isInstantiated(cls.declaration)) { 288 } else if (classWorld.isInstantiated(cls.declaration)) {
290 return new TypeMask.nonNullSubclass(cls.declaration, classWorld); 289 return new TypeMask.nonNullSubclass(cls.declaration, classWorld);
291 } else { 290 } else {
292 // TODO(johnniwinther): Avoid the need for this case. 291 // TODO(johnniwinther): Avoid the need for this case.
293 return const TypeMask.empty(); 292 return const TypeMask.empty();
294 } 293 }
295 }), 294 }),
296 classWorld); 295 classWorld);
297 } 296 }
298 } 297 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/universe/class_set.dart ('k') | pkg/compiler/lib/src/universe/selector.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698