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

Unified Diff: src/objects.h

Issue 2620943002: [ESnext] Implement Object Rest (Closed)
Patch Set: Remove comment Created 3 years, 11 months 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
Index: src/objects.h
diff --git a/src/objects.h b/src/objects.h
index 3fff0a2285041ae20f2992811600c329315e050f..67bd781ee5c013c47805b7bbf9a22971a45e9a8a 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -2019,7 +2019,8 @@ class JSReceiver: public HeapObject {
// using either Set or CreateDataProperty depending on the use_set argument.
MUST_USE_RESULT static Maybe<bool> SetOrCopyDataProperties(
Isolate* isolate, Handle<JSReceiver> target, Handle<Object> source,
- bool use_set);
+ MaybeHandle<JSArray> maybe_excluded_properties = MaybeHandle<JSArray>(),
+ bool use_set = true);
// Implementation of [[HasProperty]], ECMA-262 5th edition, section 8.12.6.
MUST_USE_RESULT static Maybe<bool> HasProperty(LookupIterator* it);

Powered by Google App Engine
This is Rietveld 408576698