| Index: src/heap/heap.cc
|
| diff --git a/src/heap/heap.cc b/src/heap/heap.cc
|
| index e1060792095607b36f5e4ec3fafb6dc4a6f3b712..56e961445d1e7618483491afaf2ab96e41b3150b 100644
|
| --- a/src/heap/heap.cc
|
| +++ b/src/heap/heap.cc
|
| @@ -1,8 +1,6 @@
|
| // Copyright 2012 the V8 project authors. All rights reserved.
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
| -
|
| -#include <limits>
|
|
|
| #include "src/v8.h"
|
|
|
| @@ -2910,8 +2908,7 @@
|
|
|
| set_nan_value(
|
| *factory->NewHeapNumber(base::OS::nan_value(), IMMUTABLE, TENURED));
|
| - set_infinity_value(*factory->NewHeapNumber(
|
| - std::numeric_limits<double>::infinity(), IMMUTABLE, TENURED));
|
| + set_infinity_value(*factory->NewHeapNumber(V8_INFINITY, IMMUTABLE, TENURED));
|
|
|
| // The hole has not been created yet, but we want to put something
|
| // predictable in the gaps in the string table, so lets make that Smi zero.
|
|
|