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

Unified Diff: pkg/compiler/lib/src/universe/call_structure.dart

Issue 1348063002: Make the universe parts into small libraries. (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/compiler/lib/src/types/types.dart ('k') | pkg/compiler/lib/src/universe/function_set.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/universe/call_structure.dart
diff --git a/pkg/compiler/lib/src/universe/call_structure.dart b/pkg/compiler/lib/src/universe/call_structure.dart
index 12e4fd895b3de2c407a2a5da0610908e6d863ea3..d37d2c984be9e0d2943c709490e70c0f921cebe6 100644
--- a/pkg/compiler/lib/src/universe/call_structure.dart
+++ b/pkg/compiler/lib/src/universe/call_structure.dart
@@ -2,7 +2,31 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-part of universe;
+library dart2js.call_structure;
+
+import 'dart:collection';
+
+import '../common/names.dart' show
+ Identifiers,
+ Names,
+ Selectors;
+import '../compiler.dart' show
+ Compiler;
+import '../diagnostics/invariant.dart' show
+ invariant;
+import '../diagnostics/spannable.dart' show
+ SpannableAssertionFailure;
+import '../elements/elements.dart';
+import '../dart_types.dart';
+import '../tree/tree.dart';
+import '../types/types.dart';
+import '../util/util.dart';
+import '../world.dart' show
+ ClassWorld,
+ World;
+
+import 'selector.dart' show
+ Selector;
/// The structure of the arguments at a call-site.
// TODO(johnniwinther): Should these be cached?
@@ -48,9 +72,7 @@ class CallStructure {
String toString() => 'CallStructure(${structureToString()})';
- Selector get callSelector {
- return new Selector(SelectorKind.CALL, Selector.CALL_NAME, this);
- }
+ Selector get callSelector => new Selector.call(Names.call, this);
bool match(CallStructure other) {
if (identical(this, other)) return true;
« no previous file with comments | « pkg/compiler/lib/src/types/types.dart ('k') | pkg/compiler/lib/src/universe/function_set.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698