| Index: src/factory.h
|
| diff --git a/src/factory.h b/src/factory.h
|
| index a456fa2cae15f592d719d4b4ded9a2b902f7ddc0..afa05bd125a6af0c94bf2ad39a7b7d2e8b8794df 100644
|
| --- a/src/factory.h
|
| +++ b/src/factory.h
|
| @@ -517,6 +517,8 @@ class Factory final {
|
| Handle<Code> code,
|
| InstanceType type,
|
| int instance_size);
|
| + Handle<JSFunction> NewFunction(Handle<Map> map, Handle<String> name,
|
| + MaybeHandle<Code> maybe_code);
|
|
|
| // Create a serialized scope info.
|
| Handle<ScopeInfo> NewScopeInfo(int length);
|
| @@ -695,10 +697,6 @@ class Factory final {
|
| Handle<SharedFunctionInfo> info,
|
| Handle<Context> context,
|
| PretenureFlag pretenure = TENURED);
|
| -
|
| - Handle<JSFunction> NewFunction(Handle<Map> map,
|
| - Handle<String> name,
|
| - MaybeHandle<Code> maybe_code);
|
| };
|
|
|
| } // namespace internal
|
|
|