| Index: src/objects.h
|
| diff --git a/src/objects.h b/src/objects.h
|
| index 92d5ab5a2a346622a2368643e9da8faa0b11a34b..1a2c44fea4a7a36a1896ce9d0b4f7be9d8a5495d 100644
|
| --- a/src/objects.h
|
| +++ b/src/objects.h
|
| @@ -7714,6 +7714,8 @@ class JSFunction: public JSObject {
|
| static void SetInstancePrototype(Handle<JSFunction> function,
|
| Handle<Object> value);
|
|
|
| + static Handle<JSFunction> Copy(Handle<JSFunction> function);
|
| +
|
| // After prototype is removed, it will not be created when accessed, and
|
| // [[Construct]] from this function will not be allowed.
|
| bool RemovePrototype();
|
|
|