Chromium Code Reviews| Index: test/mjsunit/compiler/thisfunction.js |
| diff --git a/test/mjsunit/compiler/thisfunction.js b/test/mjsunit/compiler/thisfunction.js |
| index 7615561c5fd1a191442c8f1e09635e77230be6b0..1fe06aa9b5bd07d6292843253c65addee9d90ea7 100644 |
| --- a/test/mjsunit/compiler/thisfunction.js |
| +++ b/test/mjsunit/compiler/thisfunction.js |
| @@ -28,6 +28,10 @@ |
| // Test reference to this-function. |
| var g = (function f(x) { |
| - if (x == 1) return 42; else return f(1); |
| + if (x == 1) { |
| + return 42; |
| + } else { |
| + return f(1); |
| + } |
| })(0); |
| assertEquals(42, g); |