| Index: tests/compiler/dart2js/cps_ir/expected/supercall_1.js
|
| diff --git a/tests/compiler/dart2js/cps_ir/expected/supercall_1.js b/tests/compiler/dart2js/cps_ir/expected/supercall_1.js
|
| index 4c7ee2622708264928173b66107e62fdb94000a6..cc601ddf5a55363235c958505fc90acf546fefe9 100644
|
| --- a/tests/compiler/dart2js/cps_ir/expected/supercall_1.js
|
| +++ b/tests/compiler/dart2js/cps_ir/expected/supercall_1.js
|
| @@ -1,7 +1,7 @@
|
| // Expectation for test:
|
| // class Base {
|
| // m(x) {
|
| -// print(x+1);
|
| +// try { print(x+1); } finally { }
|
| // }
|
| // }
|
| // class Sub extends Base {
|
| @@ -12,15 +12,6 @@
|
| // }
|
|
|
| function() {
|
| - var line = "" + (100 + 10 + 1);
|
| - V.Sub$();
|
| - if (typeof dartPrint == "function")
|
| - dartPrint(line);
|
| - else if (typeof console == "object" && typeof console.log != "undefined")
|
| - console.log(line);
|
| - else if (!(typeof window == "object")) {
|
| - if (!(typeof print == "function"))
|
| - throw "Unable to print message: " + String(line);
|
| - print(line);
|
| - }
|
| + var v0 = V.Sub$();
|
| + V.Base.prototype.m$1.call(v0, 110);
|
| }
|
|
|