| Index: tests/compiler/dart2js/cps_ir/expected/runtime_types_1.js
|
| diff --git a/tests/compiler/dart2js/cps_ir/expected/runtime_types_1.js b/tests/compiler/dart2js/cps_ir/expected/runtime_types_1.js
|
| index 03a439895e2d7bebd0dd19c4deb6c0780c94d3b6..914008de89d9f470e9a2620c7a7066a2b04f9ea5 100644
|
| --- a/tests/compiler/dart2js/cps_ir/expected/runtime_types_1.js
|
| +++ b/tests/compiler/dart2js/cps_ir/expected/runtime_types_1.js
|
| @@ -8,19 +8,14 @@
|
| // }
|
|
|
| function() {
|
| - var v0 = H.createRuntimeType(H.runtimeTypeToString(H.getTypeArgumentByIndex(V.C$(P.$int), 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.C$(P.$int), 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);
|
| }
|
| }
|
|
|