| Index: tests/compiler/dart2js/cps_ir/expected/runtime_types_3.js
|
| diff --git a/tests/compiler/dart2js/cps_ir/expected/runtime_types_3.js b/tests/compiler/dart2js/cps_ir/expected/runtime_types_3.js
|
| index 69172b2ec01e69ff5c80f4dace54b4e363826755..435bb62d8137aa60ab162fa76be5677c5e3d65e7 100644
|
| --- a/tests/compiler/dart2js/cps_ir/expected/runtime_types_3.js
|
| +++ b/tests/compiler/dart2js/cps_ir/expected/runtime_types_3.js
|
| @@ -10,19 +10,14 @@
|
| // }
|
|
|
| function() {
|
| - var v0 = H.createRuntimeType(H.runtimeTypeToString(H.getTypeArgumentByIndex(V.D$([V.C, H.getTypeArgumentByIndex(V.C$(P.$int), 0)]), 0))), v1 = v0._unmangledName;
|
| - v1 = H.S(v1 == null ? v0._unmangledName = function(str, names) {
|
| - return str.replace(/[^<,> ]+/g, function(m) {
|
| - return names[m] || m;
|
| - });
|
| - }(v0._typeName, init.mangledGlobalNames) : v1);
|
| + var line = H.S(H.createRuntimeType(H.runtimeTypeToString(H.getTypeArgumentByIndex(V.D$([V.C, H.getTypeArgumentByIndex(V.C$(P.$int), 0)]), 0))));
|
| if (typeof dartPrint == "function")
|
| - dartPrint(v1);
|
| + dartPrint(line);
|
| else if (typeof console == "object" && typeof console.log != "undefined")
|
| - console.log(v1);
|
| + console.log(line);
|
| else if (!(typeof window == "object")) {
|
| if (!(typeof print == "function"))
|
| - throw "Unable to print message: " + String(v1);
|
| - print(v1);
|
| + throw "Unable to print message: " + String(line);
|
| + print(line);
|
| }
|
| }
|
|
|