| Index: test/mjsunit/strong/function-arity.js
|
| diff --git a/test/mjsunit/strong/function-arity.js b/test/mjsunit/strong/function-arity.js
|
| index 0bd89690c2fa896411d147b6a510ca274ed183f8..e85688aec80814711ad3143d6cbfa54ed4b9b5ff 100644
|
| --- a/test/mjsunit/strong/function-arity.js
|
| +++ b/test/mjsunit/strong/function-arity.js
|
| @@ -290,6 +290,19 @@ function generateSpread(n) {
|
| })();
|
|
|
|
|
| +(function TestOptimized3() {
|
| + function f(x, y) {}
|
| + function g() {
|
| + 'use strong';
|
| + f(1);
|
| + }
|
| +
|
| + g();
|
| + %OptimizeFunctionOnNextCall(f);
|
| + g();
|
| +})();
|
| +
|
| +
|
| // https://code.google.com/p/v8/issues/detail?id=4077
|
| // (function NoParametersSuper() {
|
| // 'use strong';
|
|
|