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 42d4e5afba9ccb8bbb79bdc95b4a217e489ded2c..2f582934a43270a96049f6b4a1b3aaad63985e04 100644 |
--- a/tests/compiler/dart2js/js_backend_cps_ir_closures_test.dart |
+++ b/tests/compiler/dart2js/js_backend_cps_ir_closures_test.dart |
@@ -20,10 +20,10 @@ main(x) { |
""", |
r""" |
function(x) { |
- var _box_0 = {}, a = new V.main_a(_box_0); |
+ var _box_0 = {}; |
_box_0._captured_x_0 = x; |
_box_0._captured_x_0 = J.getInterceptor$ns(x = _box_0._captured_x_0).$add(x, "1"); |
- P.print(a.call$0()); |
+ P.print(new V.main_a(_box_0).call$0()); |
}"""), |
const TestEntry(""" |
@@ -49,10 +49,10 @@ main() { |
""", |
r""" |
function() { |
- var _box_0 = {}, a = new V.main_closure(_box_0); |
+ var _box_0 = {}; |
_box_0._captured_x_0 = 122; |
_box_0._captured_x_0 = _box_0._captured_x_0 + 1; |
- P.print(a.call$0()); |
+ P.print(new V.main_closure(_box_0).call$0()); |
}"""), |
const TestEntry(""" |
@@ -68,10 +68,10 @@ main() { |
""", |
r""" |
function() { |
- var _box_0 = {}, a = new V.main_closure(_box_0); |
+ var _box_0 = {}; |
_box_0._captured_x_0 = 122; |
_box_0._captured_x_0 = _box_0._captured_x_0 + 1; |
- P.print(a.call$0().call$0()); |
+ P.print(new V.main_closure(_box_0).call$0().call$0()); |
}"""), |
const TestEntry(""" |