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

Unified Diff: pkg/compiler/lib/src/cps_ir/type_propagation.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
Index: pkg/compiler/lib/src/cps_ir/type_propagation.dart
diff --git a/pkg/compiler/lib/src/cps_ir/type_propagation.dart b/pkg/compiler/lib/src/cps_ir/type_propagation.dart
index 0b7122ad19b2beca527c5a687f787d776a836029..c5f7de570665765573ac82008e2d1890e21b83e8 100644
--- a/pkg/compiler/lib/src/cps_ir/type_propagation.dart
+++ b/pkg/compiler/lib/src/cps_ir/type_propagation.dart
@@ -8,7 +8,8 @@ import 'optimizers.dart';
import '../closure.dart' show
ClosureClassElement, Identifiers;
import '../common/names.dart' show
- Selectors, Identifiers;
+ Identifiers,
+ Selectors;
import '../compiler.dart' as dart2js show
Compiler;
import '../constants/constant_system.dart';
@@ -17,16 +18,21 @@ import '../dart_types.dart' as types;
import '../diagnostics/invariant.dart' as dart2js show
InternalErrorFunction;
import '../elements/elements.dart';
-import '../io/source_information.dart' show SourceInformation;
-import '../js_backend/js_backend.dart' show JavaScriptBackend;
-import '../js_backend/codegen/task.dart' show CpsFunctionCompiler;
+import '../io/source_information.dart' show
+ SourceInformation;
+import '../js_backend/js_backend.dart' show
+ JavaScriptBackend;
+import '../js_backend/codegen/task.dart' show
+ CpsFunctionCompiler;
import '../resolution/access_semantics.dart';
import '../resolution/operators.dart';
import '../resolution/send_structure.dart';
import '../tree/tree.dart' as ast;
import '../types/types.dart';
-import '../types/constants.dart' show computeTypeMask;
-import '../universe/universe.dart';
+import '../types/constants.dart' show
+ computeTypeMask;
+import '../universe/selector.dart' show
+ Selector;
import '../world.dart' show World;
import 'cps_fragment.dart';
import 'cps_ir_nodes.dart';
@@ -1341,7 +1347,7 @@ class TransformingVisitor extends LeafVisitor {
InvokeMethod invoke = new InvokeMethod.byReference(
new Reference<Primitive>(object),
- new Selector(SelectorKind.CALL, getter.memberName, call.callStructure),
+ new Selector.call(getter.memberName, call.callStructure),
type,
node.arguments,
node.continuation,
« no previous file with comments | « pkg/compiler/lib/src/cps_ir/type_mask_system.dart ('k') | pkg/compiler/lib/src/dart_backend/dart_backend.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698