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

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

Issue 1182053010: Revert "Split TypedSelector into Selector and TypeMask." (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 6 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/universe/universe.dart ('k') | pkg/compiler/lib/src/world.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/use_unused_api.dart
diff --git a/pkg/compiler/lib/src/use_unused_api.dart b/pkg/compiler/lib/src/use_unused_api.dart
index a15b7167c0cc857c81aa5d87651d3eb7638c2dd4..7aa7736fb0be670ba786bd4dc4e2a20382422904 100644
--- a/pkg/compiler/lib/src/use_unused_api.dart
+++ b/pkg/compiler/lib/src/use_unused_api.dart
@@ -36,6 +36,7 @@ import 'resolution/semantic_visitor.dart' as semantic_visitor;
import 'source_file_provider.dart' as source_file_provider;
import 'ssa/ssa.dart' as ssa;
import 'tree/tree.dart' as tree;
+import 'universe/universe.dart' as universe;
import 'util/util.dart' as util;
import 'scanner/scannerlib.dart' show
@@ -232,10 +233,13 @@ usedByTests() {
compiler.currentlyInUserCode();
type_graph_inferrer.TypeGraphInferrer typeGraphInferrer = null;
source_file_provider.SourceFileProvider sourceFileProvider = null;
- world.hasAnyUserDefinedGetter(null, null);
+ world.hasAnyUserDefinedGetter(null);
typeGraphInferrer.getCallersOf(null);
dart_types.Types.sorted(null);
new dart_types.Types(compiler).copy(compiler);
+ new universe.TypedSelector.subclass(null, null, compiler.world);
+ new universe.TypedSelector.subtype(null, null, compiler.world);
+ new universe.TypedSelector.exact(null, null, compiler.world);
sourceFileProvider.readStringFromUri(null);
}
@@ -258,7 +262,7 @@ useElements(
useIr(ir_builder.IrBuilder builder) {
builder
..buildStringConstant(null)
- ..buildDynamicGet(null, null, null);
+ ..buildDynamicGet(null, null);
}
useCompiler(dart2jslib.Compiler compiler) {
« no previous file with comments | « pkg/compiler/lib/src/universe/universe.dart ('k') | pkg/compiler/lib/src/world.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698