| Index: src/code-stubs-hydrogen.cc
|
| diff --git a/src/code-stubs-hydrogen.cc b/src/code-stubs-hydrogen.cc
|
| index 894c3d3b22df7f8e40ccf968d580091accc4a540..9700f1987c05082f30b89d85623fbc5436295470 100644
|
| --- a/src/code-stubs-hydrogen.cc
|
| +++ b/src/code-stubs-hydrogen.cc
|
| @@ -1261,6 +1261,8 @@ HValue* CodeStubGraphBuilder<FastNewClosureStub>::BuildCodeStub() {
|
| Factory* factory = isolate()->factory();
|
| HInstruction* empty_fixed_array =
|
| Add<HConstant>(factory->empty_fixed_array());
|
| + HInstruction* empty_constant_pool_array =
|
| + Add<HConstant>(factory->empty_constant_pool_array());
|
| HValue* shared_info = GetParameter(0);
|
|
|
| AddIncrementCounter(counters->fast_new_closure_total());
|
| @@ -1294,6 +1296,9 @@ HValue* CodeStubGraphBuilder<FastNewClosureStub>::BuildCodeStub() {
|
| shared_info);
|
| Add<HStoreNamedField>(js_function, HObjectAccess::ForFunctionContextPointer(),
|
| context());
|
| + Add<HStoreNamedField>(js_function,
|
| + HObjectAccess::ForFunctionConstantPoolPointer(),
|
| + empty_constant_pool_array);
|
|
|
| // Initialize the code pointer in the function to be the one
|
| // found in the shared function info object.
|
|
|