Index: src/compiler/node-matchers.h |
diff --git a/src/compiler/node-matchers.h b/src/compiler/node-matchers.h |
index d6e8c6943c07c22ad2f6bb8d49d329bb99c9bbaa..d543425fca48606a0947291dc13bda6ecaa1c9cd 100644 |
--- a/src/compiler/node-matchers.h |
+++ b/src/compiler/node-matchers.h |
@@ -152,11 +152,10 @@ typedef FloatMatcher<double, IrOpcode::kNumberConstant> NumberMatcher; |
// A pattern matcher for heap object constants. |
-template <typename T> |
struct HeapObjectMatcher final |
- : public ValueMatcher<Unique<T>, IrOpcode::kHeapConstant> { |
+ : public ValueMatcher<Unique<HeapObject>, IrOpcode::kHeapConstant> { |
explicit HeapObjectMatcher(Node* node) |
- : ValueMatcher<Unique<T>, IrOpcode::kHeapConstant>(node) {} |
+ : ValueMatcher<Unique<HeapObject>, IrOpcode::kHeapConstant>(node) {} |
}; |