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

Unified Diff: pkg/compiler/lib/src/cps_ir/cps_ir_builder.dart

Issue 1394063004: Use common.dart to re-export commonly used entities. (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/compiler/lib/src/constants/values.dart ('k') | pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.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.dart
diff --git a/pkg/compiler/lib/src/cps_ir/cps_ir_builder.dart b/pkg/compiler/lib/src/cps_ir/cps_ir_builder.dart
index ca34d15f0107b02e2801c7f76694381a6ef593f1..3f69cd04c4958acf26b6e392babe5c9f61ab47bb 100644
--- a/pkg/compiler/lib/src/cps_ir/cps_ir_builder.dart
+++ b/pkg/compiler/lib/src/cps_ir/cps_ir_builder.dart
@@ -4,6 +4,8 @@
library dart2js.ir_builder;
+import '../closure.dart' hide ClosureScope;
+import '../common.dart';
import '../common/names.dart' show
Names,
Selectors;
@@ -14,29 +16,28 @@ import '../constants/values.dart' show
ConstantValue,
PrimitiveConstantValue;
import '../dart_types.dart';
-import '../diagnostics/invariant.dart' show
- invariant;
import '../elements/elements.dart';
import '../io/source_information.dart';
+import '../js/js.dart' as js show
+ js,
+ LiteralStatement,
+ Template;
+import '../native/native.dart' show
+ NativeBehavior;
import '../tree/tree.dart' as ast;
import '../types/types.dart' show
TypeMask;
-import '../closure.dart' hide ClosureScope;
import '../universe/call_structure.dart' show
CallStructure;
import '../universe/selector.dart' show
Selector,
SelectorKind;
-import 'cps_ir_nodes.dart' as ir;
+
import 'cps_ir_builder_task.dart' show
DartCapturedVariables,
GlobalProgramInformation;
+import 'cps_ir_nodes.dart' as ir;
-import '../common.dart' as types show
- TypeMask;
-import '../js/js.dart' as js show Template, js, LiteralStatement;
-import '../native/native.dart' show
- NativeBehavior;
/// A mapping from variable elements to their compile-time values.
///
@@ -2696,7 +2697,7 @@ class IrBuilder {
NativeBehavior behavior,
{Element dependency}) {
assert(behavior != null);
- types.TypeMask type = program.getTypeMaskForForeign(behavior);
+ TypeMask type = program.getTypeMaskForForeign(behavior);
ir.Primitive result = _continueWithExpression((k) => new ir.ForeignCode(
codeTemplate,
type,
« no previous file with comments | « pkg/compiler/lib/src/constants/values.dart ('k') | pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698