Index: src/compiler/node-matchers.h |
diff --git a/src/compiler/node-matchers.h b/src/compiler/node-matchers.h |
index be944ce097f1fa84f1e831d19f40bac210809bfa..225c209ca15671eb82dc7d4194699429480b4932 100644 |
--- a/src/compiler/node-matchers.h |
+++ b/src/compiler/node-matchers.h |
@@ -94,13 +94,12 @@ typedef FloatMatcher<double> Float64Matcher; |
// A pattern matcher for heap object constants. |
-struct HeapObjectMatcher FINAL |
- : public ValueMatcher<PrintableUnique<HeapObject> > { |
+struct HeapObjectMatcher FINAL : public ValueMatcher<Handle<HeapObject> > { |
explicit HeapObjectMatcher(Node* node) |
- : ValueMatcher<PrintableUnique<HeapObject> >(node) {} |
+ : ValueMatcher<Handle<HeapObject> >(node) {} |
- bool IsKnownGlobal(HeapObject* global) const { |
- return HasValue() && Value().IsKnownGlobal(global); |
+ bool IsKnownGlobal(Handle<HeapObject> global) const { |
+ return HasValue() && Value().is_identical_to(global); |
} |
}; |