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 d68f50aba36319c803506d54ab1410464dd5b02b..80425e6cc02f641f0137d3c5b4f074b13a72ead6 100644 |
--- a/tests/compiler/dart2js/js_backend_cps_ir_closures_test.dart |
+++ b/tests/compiler/dart2js/js_backend_cps_ir_closures_test.dart |
@@ -20,9 +20,8 @@ main(x) { |
""", |
r""" |
function(x) { |
- var _box_0 = {}, a; |
+ var _box_0 = {}, a = new V.main_a(_box_0); |
_box_0._captured_x_0 = x; |
- a = new V.main_a(_box_0); |
_box_0._captured_x_0 = J.getInterceptor$ns(x = _box_0._captured_x_0).$add(x, "1"); |
P.print(a.call$0()); |
return null; |
@@ -52,9 +51,8 @@ main() { |
""", |
r""" |
function() { |
- var _box_0 = {}, a; |
+ var _box_0 = {}, a = new V.main_closure(_box_0); |
_box_0._captured_x_0 = 122; |
- a = new V.main_closure(_box_0); |
_box_0._captured_x_0 = _box_0._captured_x_0 + 1; |
P.print(a.call$0()); |
return null; |
@@ -73,9 +71,8 @@ main() { |
""", |
r""" |
function() { |
- var _box_0 = {}, a; |
+ var _box_0 = {}, a = new V.main_closure(_box_0); |
_box_0._captured_x_0 = 122; |
- a = new V.main_closure(_box_0); |
_box_0._captured_x_0 = _box_0._captured_x_0 + 1; |
P.print(a.call$0().call$0()); |
return null; |