Index: test/unittests/compiler/graph-unittest.cc |
diff --git a/test/unittests/compiler/graph-unittest.cc b/test/unittests/compiler/graph-unittest.cc |
index 991ecc2f7c2f5de94b9695e7b9852bef7fbed31d..399f9853707bbd1b2cf3a44dbf4b29a3095635d2 100644 |
--- a/test/unittests/compiler/graph-unittest.cc |
+++ b/test/unittests/compiler/graph-unittest.cc |
@@ -55,7 +55,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()); |
- NodeProperties::SetBounds(node, Bounds(type)); |
+ NodeProperties::SetType(node, type); |
return node; |
} |
@@ -109,7 +109,7 @@ TypedGraphTest::~TypedGraphTest() {} |
Node* TypedGraphTest::Parameter(Type* type, int32_t index) { |
Node* node = GraphTest::Parameter(index); |
- NodeProperties::SetBounds(node, Bounds(type)); |
+ NodeProperties::SetType(node, type); |
return node; |
} |