Chromium Code Reviews| Index: src/runtime.cc |
| diff --git a/src/runtime.cc b/src/runtime.cc |
| index 3acbb81d89dff0c0d2c21003762bb785c6a7df85..f5789f68d92b796f5f2a07fcb2510f41efa321ad 100644 |
| --- a/src/runtime.cc |
| +++ b/src/runtime.cc |
| @@ -7971,7 +7971,7 @@ RUNTIME_FUNCTION(Runtime_MathFround) { |
| DCHECK(args.length() == 1); |
| CONVERT_DOUBLE_ARG_CHECKED(x, 0); |
| - float xf = static_cast<float>(x); |
| + float xf = DoubleToFloat32(x); |
| return *isolate->factory()->NewNumber(xf); |
| } |