Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(694)

Unified Diff: src/objects.h

Issue 1439693002: [runtime] Support Proxy setPrototypeOf trap (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@2015-11-09_new_Proxy_1417063011
Patch Set: merging with master Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/mips64/macro-assembler-mips64.cc ('k') | src/parsing/func-name-inferrer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « src/mips64/macro-assembler-mips64.cc ('k') | src/parsing/func-name-inferrer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698