Index: src/compiler/js-graph.cc |
diff --git a/src/compiler/js-graph.cc b/src/compiler/js-graph.cc |
index b229306d2b99333f38bd8597cbd8ef020cf1ac25..74eba98dc16107057feb8a5a845fa9dd5457ddb4 100644 |
--- a/src/compiler/js-graph.cc |
+++ b/src/compiler/js-graph.cc |
@@ -11,8 +11,7 @@ namespace internal { |
namespace compiler { |
Node* JSGraph::ImmovableHeapConstant(Handle<Object> object) { |
- PrintableUnique<Object> unique = |
- PrintableUnique<Object>::CreateImmovable(zone(), object); |
+ Unique<Object> unique = Unique<Object>::CreateImmovable(object); |
return NewNode(common()->HeapConstant(unique)); |
} |
@@ -94,7 +93,7 @@ Node* JSGraph::NaNConstant() { |
} |
-Node* JSGraph::HeapConstant(PrintableUnique<Object> value) { |
+Node* JSGraph::HeapConstant(Unique<Object> value) { |
// TODO(turbofan): canonicalize heap constants using Unique<T> |
return NewNode(common()->HeapConstant(value)); |
} |
@@ -104,8 +103,7 @@ Node* JSGraph::HeapConstant(Handle<Object> value) { |
// TODO(titzer): We could also match against the addresses of immortable |
// immovables here, even without access to the heap, thus always |
// canonicalizing references to them. |
- return HeapConstant( |
- PrintableUnique<Object>::CreateUninitialized(zone(), value)); |
+ return HeapConstant(Unique<Object>::CreateUninitialized(value)); |
} |