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

Unified Diff: pkg/compiler/lib/src/ssa/builder.dart

Issue 2981543002: Handle type variable test and typed list literal. (Closed)
Patch Set: Updated cf. comment 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
Index: pkg/compiler/lib/src/ssa/builder.dart
diff --git a/pkg/compiler/lib/src/ssa/builder.dart b/pkg/compiler/lib/src/ssa/builder.dart
index bced3688757b1b19b1c2cf527644cfe670609b2b..a75c0d2861d492c992d5a22e376ff48ed4e2e47d 100644
--- a/pkg/compiler/lib/src/ssa/builder.dart
+++ b/pkg/compiler/lib/src/ssa/builder.dart
@@ -256,7 +256,7 @@ class SsaAstGraphBuilder extends ast.Visitor
closedWorld.nativeData,
closedWorld.interceptorData);
loopHandler = new SsaLoopHandler(this);
- typeBuilder = new TypeBuilderImpl(this);
+ typeBuilder = new TypeBuilder(this);
}
MemberElement get targetElement => target;
@@ -6853,12 +6853,3 @@ class AstInliningState extends InliningState {
this.oldElementInferenceResults)
: super(function);
}
-
-class TypeBuilderImpl extends TypeBuilder {
- TypeBuilderImpl(GraphBuilder builder) : super(builder);
-
- @override
- InterfaceType getThisType(covariant ClassElement cls) {
- return cls.thisType;
- }
-}
« no previous file with comments | « pkg/compiler/lib/src/js_emitter/type_test_registry.dart ('k') | pkg/compiler/lib/src/ssa/builder_kernel.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698