Index: test/unittests/compiler/js-builtin-reducer-unittest.cc |
diff --git a/test/unittests/compiler/js-builtin-reducer-unittest.cc b/test/unittests/compiler/js-builtin-reducer-unittest.cc |
index b452ba56c504bede2b523e2ee4facf0b8dc9aeb4..13e282b5e310dde34dfeb76cc68b52b062628b5d 100644 |
--- a/test/unittests/compiler/js-builtin-reducer-unittest.cc |
+++ b/test/unittests/compiler/js-builtin-reducer-unittest.cc |
@@ -41,7 +41,7 @@ class JSBuiltinReducerTest : public TypedGraphTest { |
JSObject::GetProperty( |
m, isolate()->factory()->NewStringFromAsciiChecked(name)) |
.ToHandleChecked()); |
- return HeapConstant(Unique<JSFunction>::CreateUninitialized(f)); |
+ return HeapConstant(f); |
} |
JSOperatorBuilder* javascript() { return &javascript_; } |