| Index: src/factory.cc
|
| diff --git a/src/factory.cc b/src/factory.cc
|
| index 83d7b4bf260141a6e7dd384e4642131b7caac353..f475efcc7725c72a9179a1b580baae0e44116ecb 100644
|
| --- a/src/factory.cc
|
| +++ b/src/factory.cc
|
| @@ -2161,6 +2161,11 @@ Handle<SharedFunctionInfo> Factory::NewSharedFunctionInfo(
|
| share->set_compiler_hints(0);
|
| share->set_opt_count_and_bailout_reason(0);
|
|
|
| + // Link into the list.
|
| + Handle<Object> new_noscript_list =
|
| + WeakFixedArray::Add(noscript_shared_function_infos(), share);
|
| + isolate()->heap()->set_noscript_shared_function_infos(*new_noscript_list);
|
| +
|
| return share;
|
| }
|
|
|
|
|