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

Unified Diff: pkg/kernel/testcases/closures/closure_in_constructor.dart.expect

Issue 3008923002: Improve the performance of closure-converted code. (Closed)
Patch Set: Additional bug fixes. Created 3 years, 4 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/kernel/testcases/closures/closure_in_constructor.dart.expect
diff --git a/pkg/kernel/testcases/closures/closure_in_constructor.dart.expect b/pkg/kernel/testcases/closures/closure_in_constructor.dart.expect
index 7b30d58a402d77c570b0e873c4214135f2f75867..8046f9959e8f8a1c5c422c3aada3fe1a3d6f057d 100644
--- a/pkg/kernel/testcases/closures/closure_in_constructor.dart.expect
+++ b/pkg/kernel/testcases/closures/closure_in_constructor.dart.expect
@@ -5,7 +5,7 @@ import "dart:core" as core;
class C1 extends core::Object {
field dynamic x;
constructor •(dynamic y) → void
- : final dynamic #context = MakeVector(3), dynamic #t1 = #context[2] = y, self::C1::x = MakeClosure<() → dynamic>(self::closure#C1#function#function, #context), super core::Object::•()
+ : final dynamic #context = MakeVector(3), dynamic #t1 = #context[2] = y, dynamic #t2 = y = null, self::C1::x = MakeClosure<() → dynamic>(self::closure#C1#function#function, #context), super core::Object::•()
;
}
class C2 extends core::Object {
@@ -14,6 +14,7 @@ class C2 extends core::Object {
: super core::Object::•() {
final dynamic #context = MakeVector(3);
#context[2] = y;
+ y = null;
this.x = MakeClosure<() → dynamic>(self::closure#C2#function#function, #context);
}
}

Powered by Google App Engine
This is Rietveld 408576698