| Index: test/mjsunit/compiler/opt-next-call.js
|
| diff --git a/test/mjsunit/regress/regress-347906.js b/test/mjsunit/compiler/opt-next-call.js
|
| similarity index 70%
|
| copy from test/mjsunit/regress/regress-347906.js
|
| copy to test/mjsunit/compiler/opt-next-call.js
|
| index c751618928c93015679087ee1b500637657aa341..17a0754c2314a43479fa13bd8fdede0d4cf7b0ed 100644
|
| --- a/test/mjsunit/regress/regress-347906.js
|
| +++ b/test/mjsunit/compiler/opt-next-call.js
|
| @@ -2,13 +2,10 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -// Flags: --allow-natives-syntax --harmony
|
| -
|
| function foo() {
|
| - return Math.clz32(12.34);
|
| + return "fooed";
|
| }
|
|
|
| -foo();
|
| -foo();
|
| %OptimizeFunctionOnNextCall(foo);
|
| -foo();
|
| +assertEquals("fooed", foo());
|
| +assertOptimized(foo);
|
|
|