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

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

Issue 2675103003: Refactor BackendHelpers to be reusageable with KernelWorldBuilder (Closed)
Patch Set: Created 3 years, 10 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/inferrer/builder.dart
diff --git a/pkg/compiler/lib/src/inferrer/builder.dart b/pkg/compiler/lib/src/inferrer/builder.dart
index 0373058920d6023be85d4ab2a66f58093e532e72..f50ab31ca3bcf135d45a266fd8b9ab65e2afdee0 100644
--- a/pkg/compiler/lib/src/inferrer/builder.dart
+++ b/pkg/compiler/lib/src/inferrer/builder.dart
@@ -2912,7 +2912,7 @@ class ElementGraphBuilder extends ast.Visitor<TypeInformation>
TypeMask moveNextMask = inTreeData.typeOfIteratorMoveNext(node);
js.JavaScriptBackend backend = compiler.backend;
- Element ctor = backend.helpers.streamIteratorConstructor;
+ ConstructorElement ctor = backend.helpers.streamIteratorConstructor;
/// Synthesize a call to the [StreamIterator] constructor.
TypeInformation iteratorType = handleStaticSend(

Powered by Google App Engine
This is Rietveld 408576698