Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 019bd46bcc5ff5df4d3327499781c578d5169e41..ba8eb874df10ef6714938f0e4bcbb9666d5f61f3 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -1987,6 +1987,18 @@ class JSObject: public JSReceiver { |
StrictModeFlag strict_mode, |
bool check_prototype); |
+ // Searches the prototype chain for a callback setter and sets the property |
+ // with the setter if it finds one. The '*found' flag indicates whether |
+ // a setter was found or not. |
+ // This function can cause GC and can return a failure result with |
+ // '*found==true'. |
+ MUST_USE_RESULT MaybeObject* SetPropertyWithCallbackSetterInPrototypes( |
+ String* name, |
+ Object* value, |
+ PropertyAttributes attributes, |
+ bool* found, |
+ StrictModeFlag strict_mode); |
+ |
MUST_USE_RESULT MaybeObject* DeletePropertyPostInterceptor(String* name, |
DeleteMode mode); |
MUST_USE_RESULT MaybeObject* DeletePropertyWithInterceptor(String* name); |