| Index: test/cctest/compiler/test-run-machops.cc
|
| diff --git a/test/cctest/compiler/test-run-machops.cc b/test/cctest/compiler/test-run-machops.cc
|
| index 77ae16bdebf868bbcdefc1dfb0be278ee3f8c046..d6b385c52ce7a88ed10b72f167b986882d68e7f2 100644
|
| --- a/test/cctest/compiler/test-run-machops.cc
|
| +++ b/test/cctest/compiler/test-run-machops.cc
|
| @@ -6015,7 +6015,10 @@ TEST(RunBitcastFloat32ToInt32) {
|
| TEST(RunRoundInt32ToFloat32) {
|
| BufferedRawMachineAssemblerTester<float> m(MachineType::Int32());
|
| m.Return(m.RoundInt32ToFloat32(m.Parameter(0)));
|
| - FOR_INT32_INPUTS(i) { CHECK_EQ(static_cast<float>(*i), m.Call(*i)); }
|
| + FOR_INT32_INPUTS(i) {
|
| + volatile float expected = static_cast<float>(*i);
|
| + CHECK_EQ(expected, m.Call(*i));
|
| + }
|
| }
|
|
|
|
|
|
|