Index: src/compiler/node-matchers.h |
diff --git a/src/compiler/node-matchers.h b/src/compiler/node-matchers.h |
index 7f2fcb47811bf11ce1e0029796bcefe761dd47c2..ebb772210cd6e2ad6db6ed668b14c2010b1d3287 100644 |
--- a/src/compiler/node-matchers.h |
+++ b/src/compiler/node-matchers.h |
@@ -4,8 +4,6 @@ |
#ifndef V8_COMPILER_NODE_MATCHERS_H_ |
#define V8_COMPILER_NODE_MATCHERS_H_ |
- |
-#include <cmath> |
#include "src/compiler/generic-node.h" |
#include "src/compiler/generic-node-inl.h" |
@@ -106,7 +104,6 @@ |
struct FloatMatcher FINAL : public ValueMatcher<T, kOpcode> { |
explicit FloatMatcher(Node* node) : ValueMatcher<T, kOpcode>(node) {} |
- bool IsMinusZero() const { return this->Is(0.0) && signbit(this->Value()); } |
bool IsNaN() const { return this->HasValue() && std::isnan(this->Value()); } |
}; |
@@ -169,7 +166,6 @@ |
typedef BinopMatcher<UintPtrMatcher, UintPtrMatcher> UintPtrBinopMatcher; |
typedef BinopMatcher<Float64Matcher, Float64Matcher> Float64BinopMatcher; |
typedef BinopMatcher<NumberMatcher, NumberMatcher> NumberBinopMatcher; |
- |
template <class BinopMatcher, IrOpcode::Value kAddOpcode, |
IrOpcode::Value kMulOpcode, IrOpcode::Value kShiftOpcode> |