| Index: tests/compiler/dart2js/js_backend_cps_ir_operators_test.dart
|
| diff --git a/tests/compiler/dart2js/js_backend_cps_ir_operators_test.dart b/tests/compiler/dart2js/js_backend_cps_ir_operators_test.dart
|
| index bd4eec4e7c9bdad3bbf5ee302c33735b4dbf3660..486bcc76989bff977a7c6f41bcccfe5137cf19d1 100644
|
| --- a/tests/compiler/dart2js/js_backend_cps_ir_operators_test.dart
|
| +++ b/tests/compiler/dart2js/js_backend_cps_ir_operators_test.dart
|
| @@ -16,7 +16,18 @@ main() {
|
| print(foo() ? "hello world" : "bad bad");
|
| }""",
|
| """function() {
|
| - P.print(P.identical(V.foo(), true) ? "hello world" : "bad bad");
|
| + V.foo();
|
| + P.print("bad bad");
|
| + return null;
|
| +}"""),
|
| + const TestEntry("""
|
| +foo() => null;
|
| +main() {
|
| + print(foo() ? "hello world" : "bad bad");
|
| +}""",
|
| +"""function() {
|
| + V.foo();
|
| + P.print("bad bad");
|
| return null;
|
| }"""),
|
| const TestEntry("""
|
| @@ -25,21 +36,25 @@ main() {
|
| print(foo ? "hello world" : "bad bad");
|
| }""",
|
| """function() {
|
| - P.print(P.identical(V.foo(), true) ? "hello world" : "bad bad");
|
| + V.foo();
|
| + P.print("bad bad");
|
| return null;
|
| }"""),
|
| const TestEntry("""
|
| get foo => foo;
|
| main() { print(foo && foo); }""",
|
| """function() {
|
| - P.print(P.identical(V.foo(), true) && P.identical(V.foo(), true));
|
| + V.foo();
|
| + P.print(false);
|
| return null;
|
| }"""),
|
| const TestEntry("""
|
| get foo => foo;
|
| main() { print(foo || foo); }""",
|
| """function() {
|
| - P.print(P.identical(V.foo(), true) || P.identical(V.foo(), true));
|
| + V.foo();
|
| + V.foo();
|
| + P.print(false);
|
| return null;
|
| }"""),
|
|
|
|
|