Index: test/cctest/compiler/test-js-typed-lowering.cc |
diff --git a/test/cctest/compiler/test-js-typed-lowering.cc b/test/cctest/compiler/test-js-typed-lowering.cc |
index 306ec48fba8c047299b5adf022dd114a66cf0d18..5e8ac7ac643f4511850c4ebf0ea581057fa87d1c 100644 |
--- a/test/cctest/compiler/test-js-typed-lowering.cc |
+++ b/test/cctest/compiler/test-js-typed-lowering.cc |
@@ -49,13 +49,14 @@ class JSTypedLoweringTester : public HandleAndZoneScope { |
} |
Node* UndefinedConstant() { |
- Unique<Object> unique = |
- Unique<Object>::CreateImmovable(isolate->factory()->undefined_value()); |
+ Unique<HeapObject> unique = Unique<HeapObject>::CreateImmovable( |
+ isolate->factory()->undefined_value()); |
return graph.NewNode(common.HeapConstant(unique)); |
} |
- Node* HeapConstant(Handle<Object> constant) { |
- Unique<Object> unique = Unique<Object>::CreateUninitialized(constant); |
+ Node* HeapConstant(Handle<HeapObject> constant) { |
+ Unique<HeapObject> unique = |
+ Unique<HeapObject>::CreateUninitialized(constant); |
return graph.NewNode(common.HeapConstant(unique)); |
} |