Index: test/mjsunit/regress/regress-crbug-147475.js |
diff --git a/test/mjsunit/regress/regress-crbug-138887.js b/test/mjsunit/regress/regress-crbug-147475.js |
similarity index 90% |
copy from test/mjsunit/regress/regress-crbug-138887.js |
copy to test/mjsunit/regress/regress-crbug-147475.js |
index 8d8e1694b620aa36941f4b2e17a90f69f6a17cfa..180744c730f5c53b68df7fb4746809d54c42b35e 100644 |
--- a/test/mjsunit/regress/regress-crbug-138887.js |
+++ b/test/mjsunit/regress/regress-crbug-147475.js |
@@ -40,9 +40,9 @@ function factory(worker) { |
var f1 = factory(worker1); |
var f2 = factory(f1); |
-assertEquals(11, f2(1)); // Result: 1 + f1(0) == 1 + 10. |
assertEquals(11, f2(1)); |
%OptimizeFunctionOnNextCall(f1); |
-assertEquals(10, f1(0)); // Terminates immediately -> returns 10. |
+assertEquals(10, f1(0)); |
%OptimizeFunctionOnNextCall(f2); |
-assertEquals(102, f2(1000)); // 1 + f1(999) == 1 + 1 + worker1(998) == 102 |
+assertEquals(102, f2(2)); |
+assertEquals(102, f2(2)); |