| Index: tests/compiler/dart2js/js_backend_cps_ir_codeUnitAt_test.dart
|
| diff --git a/tests/compiler/dart2js/js_backend_cps_ir_codeUnitAt_test.dart b/tests/compiler/dart2js/js_backend_cps_ir_codeUnitAt_test.dart
|
| index b3f280880589ceaa5fb31f9c87c1f572f9be9a85..9da33508585737e1e4ee6a18e952bf88cd89be21 100644
|
| --- a/tests/compiler/dart2js/js_backend_cps_ir_codeUnitAt_test.dart
|
| +++ b/tests/compiler/dart2js/js_backend_cps_ir_codeUnitAt_test.dart
|
| @@ -16,7 +16,16 @@ main() {
|
| print('A'.codeUnitAt(0));
|
| }""",r"""
|
| function() {
|
| - P.print(65);
|
| + var v0 = H.S(65);
|
| + if (typeof dartPrint == "function")
|
| + dartPrint(v0);
|
| + else if (typeof console == "object" && typeof console.log != "undefined")
|
| + console.log(v0);
|
| + else if (!(typeof window == "object")) {
|
| + if (!(typeof print == "function"))
|
| + throw "Unable to print message: " + String(v0);
|
| + print(v0);
|
| + }
|
| }"""),
|
|
|
|
|
|
|