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

Unified Diff: pkg/compiler/lib/src/types/types.dart

Issue 2981613002: Parameterize TypeSystem by its node kind (Closed)
Patch Set: Updated cf. comments Created 3 years, 5 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/map_type_mask.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/types/types.dart
diff --git a/pkg/compiler/lib/src/types/types.dart b/pkg/compiler/lib/src/types/types.dart
index 97d357f18860aea478e33ee1ba901382408befe4..3234a6d07ead063ee41025d26a46314ba86885a6 100644
--- a/pkg/compiler/lib/src/types/types.dart
+++ b/pkg/compiler/lib/src/types/types.dart
@@ -10,7 +10,6 @@ import '../compiler.dart' show Compiler;
import '../elements/elements.dart';
import '../elements/entities.dart';
import '../inferrer/type_graph_inferrer.dart' show TypeGraphInferrer;
-import '../inferrer/type_system.dart';
import '../tree/tree.dart';
import '../universe/selector.dart' show Selector;
import '../util/util.dart' show Maplet;
@@ -259,8 +258,7 @@ class GlobalTypeInferenceResults {
parameter, _inferrer, dynamicType));
}
- GlobalTypeInferenceResults(
- this._inferrer, this.closedWorld, TypeSystem types);
+ GlobalTypeInferenceResults(this._inferrer, this.closedWorld);
TypeMask get dynamicType => closedWorld.commonMasks.dynamicType;
@@ -302,8 +300,8 @@ class GlobalTypeInferenceTask extends CompilerTask {
new TypeGraphInferrer(compiler, closedWorld, closedWorldRefiner);
typesInferrerInternal.analyzeMain(mainElement);
typesInferrerInternal.clear();
- results = new GlobalTypeInferenceResults(typesInferrerInternal,
- closedWorld, typesInferrerInternal.inferrer.types);
+ results =
+ new GlobalTypeInferenceResults(typesInferrerInternal, closedWorld);
});
}
}
« no previous file with comments | « pkg/compiler/lib/src/types/map_type_mask.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698