Chromium Code Reviews| Index: src/objects.h |
| diff --git a/src/objects.h b/src/objects.h |
| index 7546e2e101ad0c3997e68b4c2b945ace89a9a691..da52837688b1812b40e1d7ba04419631783d7cb2 100644 |
| --- a/src/objects.h |
| +++ b/src/objects.h |
| @@ -9500,6 +9500,11 @@ class JSProxy: public JSReceiver { |
| // ES6 9.5.1 |
| static MaybeHandle<Object> GetPrototype(Handle<JSProxy> receiver); |
| + // ES6 9.5.2 |
| + MUST_USE_RESULT static Maybe<bool> SetPrototype(Handle<JSProxy> proxy, |
| + Handle<Object> value, |
| + bool from_javascript, |
| + ShouldThrow should_throw); |
| // ES6 9.5.3 |
| MUST_USE_RESULT static Maybe<bool> IsExtensible(Handle<JSProxy> proxy); |