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

Unified Diff: tests/compiler/dart2js/js_backend_cps_ir_constructor_test.dart

Issue 1188783002: dart2js cps: Overhaul PullIntoInitializers. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Comments 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
Index: tests/compiler/dart2js/js_backend_cps_ir_constructor_test.dart
diff --git a/tests/compiler/dart2js/js_backend_cps_ir_constructor_test.dart b/tests/compiler/dart2js/js_backend_cps_ir_constructor_test.dart
index 93bcb7b821816ce09e3d8be6f758096b9fcaca2a..ff798ac434e910f03873c88b6c6af9ee0e141332 100644
--- a/tests/compiler/dart2js/js_backend_cps_ir_constructor_test.dart
+++ b/tests/compiler/dart2js/js_backend_cps_ir_constructor_test.dart
@@ -96,9 +96,9 @@ main() {
}""",
r"""
function(x, y) {
- var _box_0 = {}, v0;
+ var _box_0 = {}, v0 = new V.Sub(y, new V.Base_closure(_box_0));
_box_0._captured_x1_0 = x;
- (v0 = new V.Sub(y, new V.Base_closure(_box_0))).Base0$0();
+ v0.Base0$0();
v0.Base$1(_box_0);
v0.Sub$2(x, y);
return v0;

Powered by Google App Engine
This is Rietveld 408576698