| Index: test/mjsunit/deopt-with-fp-regs.js
|
| diff --git a/test/mjsunit/deopt-with-fp-regs.js b/test/mjsunit/deopt-with-fp-regs.js
|
| index 10e3d9abb3ab3df80340667180fd570017f41ac8..7591f0358dd84a4baab9bd5ea323ba508b99158b 100644
|
| --- a/test/mjsunit/deopt-with-fp-regs.js
|
| +++ b/test/mjsunit/deopt-with-fp-regs.js
|
| @@ -25,7 +25,7 @@
|
| // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
| -// Flags: --allow-natives-syntax
|
| +// Flags: --allow-natives-syntax --crankshaft --no-always-opt
|
|
|
| deopt_trigger = 0;
|
| side_effect = 0;
|
| @@ -81,10 +81,10 @@ test(10.0, 20.0, 30.0, 40.0, 50.0, 1.5);
|
| test(10.0, 20.0, 30.0, 40.0, 50.0, 1.5);
|
| %OptimizeFunctionOnNextCall(test);
|
| test(10.0, 20.0, 30.0, 40.0, 50.0, 1.5);
|
| -assertTrue(2 != %GetOptimizationStatus(test));
|
| +assertOptimized(test);
|
|
|
| // By deleting the field we are forcing the code to deopt when the field is
|
| // read on next execution.
|
| delete deopt_trigger;
|
| test(10.0, 20.0, 30.0, 40.0, 50.0, 1.5);
|
| -assertTrue(1 != %GetOptimizationStatus(test));
|
| +assertUnoptimized(test);
|
|
|