Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(236)

Unified Diff: src/compiler/node-matchers.h

Issue 543743002: Remove deprecated PrintableUnique. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/compiler/machine-node-factory.h ('k') | src/compiler/operator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
};
« no previous file with comments | « src/compiler/machine-node-factory.h ('k') | src/compiler/operator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698