| Index: src/objects.h
|
| diff --git a/src/objects.h b/src/objects.h
|
| index 9530e4daa5021623038c46f9903204e94b11d2f5..72140a7734c13d692bef0c79f4e3fb6bbc4f80ca 100644
|
| --- a/src/objects.h
|
| +++ b/src/objects.h
|
| @@ -6686,8 +6686,10 @@ class JSFunction: public JSObject {
|
| inline bool has_instance_prototype();
|
| inline Object* prototype();
|
| inline Object* instance_prototype();
|
| - MUST_USE_RESULT MaybeObject* SetInstancePrototype(Object* value);
|
| - MUST_USE_RESULT MaybeObject* SetPrototype(Object* value);
|
| + static void SetPrototype(Handle<JSFunction> function,
|
| + Handle<Object> value);
|
| + static void SetInstancePrototype(Handle<JSFunction> function,
|
| + Handle<Object> value);
|
|
|
| // After prototype is removed, it will not be created when accessed, and
|
| // [[Construct]] from this function will not be allowed.
|
|
|