| Index: test/unittests/compiler/js-create-lowering-unittest.cc
|
| diff --git a/test/unittests/compiler/js-create-lowering-unittest.cc b/test/unittests/compiler/js-create-lowering-unittest.cc
|
| index ebb16334018575d53a3987afc22bdcf681512072..cf2955356484b6dca244167f634f894297e28109 100644
|
| --- a/test/unittests/compiler/js-create-lowering-unittest.cc
|
| +++ b/test/unittests/compiler/js-create-lowering-unittest.cc
|
| @@ -65,7 +65,7 @@ class JSCreateLoweringTest : public TypedGraphTest {
|
|
|
| TEST_F(JSCreateLoweringTest, JSCreate) {
|
| Handle<JSFunction> function = isolate()->object_function();
|
| - Node* const target = Parameter(Type::Constant(function, graph()->zone()));
|
| + Node* const target = Parameter(Type::HeapConstant(function, graph()->zone()));
|
| Node* const context = Parameter(Type::Any());
|
| Node* const effect = graph()->start();
|
| Reduction r = Reduce(graph()->NewNode(javascript()->Create(), target, target,
|
|
|