Index: test/unittests/compiler/graph-unittest.cc |
diff --git a/test/unittests/compiler/graph-unittest.cc b/test/unittests/compiler/graph-unittest.cc |
index 399f9853707bbd1b2cf3a44dbf4b29a3095635d2..e562e511ec148ea85b70f9aed6d9c15125b10b6c 100644 |
--- a/test/unittests/compiler/graph-unittest.cc |
+++ b/test/unittests/compiler/graph-unittest.cc |
@@ -54,7 +54,7 @@ Node* GraphTest::NumberConstant(volatile double value) { |
Node* GraphTest::HeapConstant(const Handle<HeapObject>& value) { |
Node* node = graph()->NewNode(common()->HeapConstant(value)); |
- Type* type = Type::Constant(value, zone()); |
+ Type* type = Type::HeapConstant(value, zone()); |
NodeProperties::SetType(node, type); |
return node; |
} |