Index: test/unittests/compiler/simplified-operator-reducer-unittest.cc |
diff --git a/test/unittests/compiler/simplified-operator-reducer-unittest.cc b/test/unittests/compiler/simplified-operator-reducer-unittest.cc |
index 066cbe9337e5d216e185944c487ecbbdd585c5cb..666837d1ca025164f11c77dc76231dd8e7d654d3 100644 |
--- a/test/unittests/compiler/simplified-operator-reducer-unittest.cc |
+++ b/test/unittests/compiler/simplified-operator-reducer-unittest.cc |
@@ -9,6 +9,10 @@ |
#include "src/types.h" |
#include "test/unittests/compiler/graph-unittest.h" |
#include "test/unittests/compiler/node-test-utils.h" |
+#include "testing/gmock-support.h" |
+ |
+using testing::IsNaN; |
+ |
namespace v8 { |
namespace internal { |
@@ -114,11 +118,6 @@ static const uint32_t kUint32Values[] = { |
0xbeb15c0d, 0xc171c53d, 0xc743dd38, 0xc8e2af50, 0xc98e2df0, 0xd9d1cdf9, |
0xdcc91049, 0xe46f396d, 0xee991950, 0xef64e521, 0xf7aeefc9, 0xffffffff}; |
- |
-MATCHER(IsNaN, std::string(negation ? "isn't" : "is") + " NaN") { |
- return std::isnan(arg); |
-} |
- |
} // namespace |