| Index: test/unittests/compiler/js-builtin-reducer-unittest.cc
|
| diff --git a/test/unittests/compiler/js-builtin-reducer-unittest.cc b/test/unittests/compiler/js-builtin-reducer-unittest.cc
|
| index 8c6a4d9a3851e3f40e0048e837c713342a4ae503..0747f0c876abacbef9285946971d63bfa312e148 100644
|
| --- a/test/unittests/compiler/js-builtin-reducer-unittest.cc
|
| +++ b/test/unittests/compiler/js-builtin-reducer-unittest.cc
|
| @@ -1,8 +1,6 @@
|
| // Copyright 2014 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/compiler/js-builtin-reducer.h"
|
| #include "src/compiler/js-graph.h"
|
| @@ -134,8 +132,7 @@
|
| Reduction r = Reduce(call);
|
|
|
| ASSERT_TRUE(r.Changed());
|
| - EXPECT_THAT(r.replacement(),
|
| - IsNumberConstant(-std::numeric_limits<double>::infinity()));
|
| + EXPECT_THAT(r.replacement(), IsNumberConstant(-V8_INFINITY));
|
| }
|
|
|
|
|
|
|