Chromium Code Reviews| Index: src/objects.h |
| diff --git a/src/objects.h b/src/objects.h |
| index 578ca4e877f25e1af709fbd5d0cb94c13c506324..cbd6220f526589043632330b2f73eee6de91c52f 100644 |
| --- a/src/objects.h |
| +++ b/src/objects.h |
| @@ -9506,6 +9506,12 @@ class JSProxy: public JSReceiver { |
| // ES6 9.5.1 |
| static MaybeHandle<Object> GetPrototype(Handle<JSProxy> receiver); |
| + // ES6 9.5.2 |
| + MUST_USE_RESULT 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); |