| Index: src/objects.h
|
| diff --git a/src/objects.h b/src/objects.h
|
| index 4df1966229346ecd5e522f88c2aeb429937300b6..8c48e9e3aa63152b33374f30641645d79cce0c36 100644
|
| --- a/src/objects.h
|
| +++ b/src/objects.h
|
| @@ -857,6 +857,8 @@ class ObjectVisitor;
|
| class StringStream;
|
| class TypeFeedbackVector;
|
| class WeakCell;
|
| +class FunctionLiteral;
|
| +
|
| // We cannot just say "class HeapType;" if it is created from a template... =8-?
|
| template<class> class TypeImpl;
|
| struct HeapTypeConfig;
|
| @@ -6739,6 +6741,10 @@ class SharedFunctionInfo: public HeapObject {
|
| // Trims the optimized code map after entries have been removed.
|
| void TrimOptimizedCodeMap(int shrink_by);
|
|
|
| + // Initialize a SharedFunctionInfo from a parsed function literal.
|
| + static void InitFromFunctionLiteral(Handle<SharedFunctionInfo> shared_info,
|
| + FunctionLiteral* lit);
|
| +
|
| // Add a new entry to the optimized code map.
|
| static void AddToOptimizedCodeMap(Handle<SharedFunctionInfo> shared,
|
| Handle<Context> native_context,
|
|
|