Index: src/factory.h |
diff --git a/src/factory.h b/src/factory.h |
index dc258701bcd6c5259dd046d0e6ab9143a843a814..068ab034afbe1b585e112b490965195562c8909e 100644 |
--- a/src/factory.h |
+++ b/src/factory.h |
@@ -709,6 +709,9 @@ class V8_EXPORT_PRIVATE Factory final { |
MaybeHandle<Code> code, |
bool is_constructor); |
+ Handle<SharedFunctionInfo> NewSharedFunctionInfoForLiteral( |
+ FunctionLiteral* literal, Handle<Script> script); |
+ |
static bool IsFunctionModeWithPrototype(FunctionMode function_mode) { |
return (function_mode == FUNCTION_WITH_WRITEABLE_PROTOTYPE || |
function_mode == FUNCTION_WITH_READONLY_PROTOTYPE); |