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

Unified Diff: pkg/compiler/lib/src/cps_ir/scalar_replacement.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
Index: pkg/compiler/lib/src/cps_ir/scalar_replacement.dart
diff --git a/pkg/compiler/lib/src/cps_ir/scalar_replacement.dart b/pkg/compiler/lib/src/cps_ir/scalar_replacement.dart
index 4de0cab000bc89a54f0dd4226ffa2705d5210a13..adb799e5bbcdc6acc986ff31afc7d6781950f2f8 100644
--- a/pkg/compiler/lib/src/cps_ir/scalar_replacement.dart
+++ b/pkg/compiler/lib/src/cps_ir/scalar_replacement.dart
@@ -7,30 +7,14 @@ import 'optimizers.dart';
import 'dart:collection' show Queue;
-import '../closure.dart' show
- ClosureClassElement;
-import '../common/names.dart' show
- Selectors, Identifiers;
+import '../common.dart';
import '../compiler.dart' as dart2js show
Compiler;
-import '../constants/constant_system.dart';
import '../constants/values.dart';
-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 '../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 '../world.dart' show World;
-import 'cps_fragment.dart';
import 'cps_ir_nodes.dart';
-import 'cps_ir_nodes_sexpr.dart' show SExpressionStringifier;
/**
* Replaces aggregates with a set of local values. Performs inlining of
@@ -39,7 +23,7 @@ import 'cps_ir_nodes_sexpr.dart' show SExpressionStringifier;
class ScalarReplacer extends Pass {
String get passName => 'Scalar replacement';
- final dart2js.InternalErrorFunction _internalError;
+ final InternalErrorFunction _internalError;
final World _classWorld;
ScalarReplacer(dart2js.Compiler compiler)
@@ -63,7 +47,7 @@ class ScalarReplacer extends Pass {
*/
class ScalarReplacementVisitor extends RecursiveVisitor {
- final dart2js.InternalErrorFunction internalError;
+ final InternalErrorFunction internalError;
final World classWorld;
ScalarReplacementRemovalVisitor removalVisitor;
« no previous file with comments | « pkg/compiler/lib/src/cps_ir/insert_refinements.dart ('k') | pkg/compiler/lib/src/cps_ir/type_mask_system.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698