| Index: src/factory.cc
|
| diff --git a/src/factory.cc b/src/factory.cc
|
| index 3c3021c02164ec688aa7620efa8a02fe21086b55..ce99df2e08cf243716496b06263b07d5d640af04 100644
|
| --- a/src/factory.cc
|
| +++ b/src/factory.cc
|
| @@ -1018,7 +1018,7 @@ Handle<Object> Factory::NewNumber(double value,
|
| // We need to distinguish the minus zero value and this cannot be
|
| // done after conversion to int. Doing this by comparing bit
|
| // patterns is faster than using fpclassify() et al.
|
| - if (IsMinusZero(value)) return minus_zero_value();
|
| + if (IsMinusZero(value)) return NewHeapNumber(-0.0, IMMUTABLE, pretenure);
|
|
|
| int int_value = FastD2IChecked(value);
|
| if (value == int_value && Smi::IsValid(int_value)) {
|
|
|