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

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

Issue 902783008: The execution of an async* should only be scheduled when the stream is (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 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/ssa/builder.dart
diff --git a/pkg/compiler/lib/src/ssa/builder.dart b/pkg/compiler/lib/src/ssa/builder.dart
index c4f78b8bd34fda31d9d4631002fd3c567e59fcdf..e5098ef8e84d58759c0acaef57b7212e1185d0b8 100644
--- a/pkg/compiler/lib/src/ssa/builder.dart
+++ b/pkg/compiler/lib/src/ssa/builder.dart
@@ -52,6 +52,8 @@ class SsaFunctionCompiler implements FunctionCompiler {
backend.compiler.currentElement,
streamHelper: backend.emitter.staticFunctionAccess(
backend.getStreamHelper()),
+ streamOfController: backend.emitter.staticFunctionAccess(
+ backend.getStreamOfController()),
newController: backend.emitter.staticFunctionAccess(
backend.getASyncStarControllerConstructor()),
safeVariableName: backend.namer.safeVariableName,

Powered by Google App Engine
This is Rietveld 408576698