Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index af4cbe894d1fd225c6024c6d9c8048b52fc217f4..165bd62fd0142cf9286f74a2b1f8ce877cce01bd 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -1999,6 +1999,10 @@ class JSReceiver: public HeapObject { |
MUST_USE_RESULT static Maybe<bool> HasInPrototypeChain( |
Isolate* isolate, Handle<JSReceiver> object, Handle<Object> proto); |
+ MUST_USE_RESULT static Maybe<bool> SetOrCopyDataProperties( |
adamk
2016/12/29 18:32:46
Please give this a comment.
gsathya
2017/01/05 22:18:36
Done.
|
+ Isolate* isolate, Handle<JSReceiver> target, Handle<Object> source, |
+ bool use_set); |
+ |
// Implementation of [[HasProperty]], ECMA-262 5th edition, section 8.12.6. |
MUST_USE_RESULT static Maybe<bool> HasProperty(LookupIterator* it); |
MUST_USE_RESULT static inline Maybe<bool> HasProperty( |