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

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

Issue 1088493002: Assignment expressions in tree IR. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Comments Created 5 years, 8 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_closures_test.dart
diff --git a/tests/compiler/dart2js/js_backend_cps_ir_closures_test.dart b/tests/compiler/dart2js/js_backend_cps_ir_closures_test.dart
index 58cf37490720ee132cd31c519cd823522290c6e1..9e8a0b2b4093ba1ebedfa57587d6433e55eaff91 100644
--- a/tests/compiler/dart2js/js_backend_cps_ir_closures_test.dart
+++ b/tests/compiler/dart2js/js_backend_cps_ir_closures_test.dart
@@ -24,8 +24,7 @@ function(x) {
var _box_0 = {}, a;
_box_0._captured_x_0 = x;
a = new V.main_a(_box_0);
- x = _box_0._captured_x_0;
- _box_0._captured_x_0 = J.getInterceptor$ns(x).$add(x, "1");
+ _box_0._captured_x_0 = J.getInterceptor$ns(x = _box_0._captured_x_0).$add(x, "1");
P.print(a.call$0());
return null;
}"""),
@@ -57,8 +56,7 @@ function() {
var _box_0 = {}, a, x;
_box_0._captured_x_0 = 122;
a = new V.main_closure(_box_0);
- x = _box_0._captured_x_0;
- _box_0._captured_x_0 = J.getInterceptor$ns(x).$add(x, 1);
+ _box_0._captured_x_0 = J.getInterceptor$ns(x = _box_0._captured_x_0).$add(x, 1);
P.print(a.call$0());
return null;
}"""),
@@ -79,8 +77,7 @@ function() {
var _box_0 = {}, a, x;
_box_0._captured_x_0 = 122;
a = new V.main_closure(_box_0);
- x = _box_0._captured_x_0;
- _box_0._captured_x_0 = J.getInterceptor$ns(x).$add(x, 1);
+ _box_0._captured_x_0 = J.getInterceptor$ns(x = _box_0._captured_x_0).$add(x, 1);
P.print(a.call$0().call$0());
return null;
}"""),
« no previous file with comments | « pkg/compiler/lib/src/tree_ir/tree_ir_tracer.dart ('k') | tests/compiler/dart2js/js_backend_cps_ir_constructor_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698