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

Unified Diff: pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.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/cps_ir/cps_ir_builder.dart ('k') | pkg/compiler/lib/src/cps_ir/cps_ir_nodes.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart
diff --git a/pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart b/pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart
index 8ad289f9d38028b1ea429755a024a6f78450792b..1a7d9c4c7ade7c98dcbe2dc020ebb4abff240da8 100644
--- a/pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart
+++ b/pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart
@@ -35,10 +35,10 @@ import '../resolution/operators.dart' as op;
import '../tree/tree.dart' as ast;
import '../types/types.dart' show
TypeMask;
-import '../universe/universe.dart' show
- CallStructure,
- Selector,
- SelectorKind;
+import '../universe/call_structure.dart' show
+ CallStructure;
+import '../universe/selector.dart' show
+ Selector;
import '../constants/values.dart' show
ConstantValue;
import 'cps_ir_nodes.dart' as ir;
@@ -2011,7 +2011,7 @@ abstract class IrBuilderVisitor extends ast.Visitor<ir.Primitive>
String nameString = Elements.reconstructConstructorName(constructor);
Name name = new Name(nameString, constructor.library);
return buildStaticNoSuchMethod(
- new Selector(SelectorKind.CALL, name, callStructure),
+ new Selector.call(name, callStructure),
translateDynamicArguments(arguments, callStructure));
}
@@ -2190,7 +2190,7 @@ abstract class IrBuilderVisitor extends ast.Visitor<ir.Primitive>
// Translate as a method call.
List<ir.Primitive> args = arguments.nodes.mapToList(visit);
return buildStaticNoSuchMethod(
- new Selector(SelectorKind.CALL, setter.memberName, callStructure),
+ new Selector.call(setter.memberName, callStructure),
args);
}
@@ -2237,7 +2237,7 @@ abstract class IrBuilderVisitor extends ast.Visitor<ir.Primitive>
List<ir.Primitive> args =
translateDynamicArguments(arguments, callStructure);
return buildInstanceNoSuchMethod(
- new Selector(SelectorKind.CALL, setter.memberName, callStructure),
+ new Selector.call(setter.memberName, callStructure),
elements.getTypeMask(node),
args);
}
« no previous file with comments | « pkg/compiler/lib/src/cps_ir/cps_ir_builder.dart ('k') | pkg/compiler/lib/src/cps_ir/cps_ir_nodes.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698