Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 9d2a12c3d971dba08122d6e52657a8ea25538d59..7d7d233e6c2e0b0938dae7fbe1af041ed6ceaee4 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -1975,17 +1975,8 @@ class JSReceiver: public HeapObject { |
Handle<JSReceiver> object); |
// ES6 [[OwnPropertyKeys]] (modulo return type) |
- MUST_USE_RESULT static MaybeHandle<FixedArray> OwnPropertyKeys( |
- Handle<JSReceiver> object) { |
- return GetKeys(object, OWN_ONLY, ALL_PROPERTIES, CONVERT_TO_STRING); |
- } |
- |
- // Computes the enumerable keys for a JSObject. Used for implementing |
- // "for (n in object) { }". |
- MUST_USE_RESULT static MaybeHandle<FixedArray> GetKeys( |
- Handle<JSReceiver> object, KeyCollectionType type, PropertyFilter filter, |
- GetKeysConversion keys_conversion = KEEP_NUMBERS, |
- bool filter_proxy_keys_ = true); |
+ MUST_USE_RESULT static inline MaybeHandle<FixedArray> OwnPropertyKeys( |
+ Handle<JSReceiver> object); |
MUST_USE_RESULT static MaybeHandle<FixedArray> GetOwnValues( |
Handle<JSReceiver> object, PropertyFilter filter); |
@@ -3980,6 +3971,8 @@ class OrderedHashSet: public OrderedHashTable< |
static Handle<OrderedHashSet> Add(Handle<OrderedHashSet> table, |
Handle<Object> value); |
+ static Handle<FixedArray> ConvertToKeysArray(Handle<OrderedHashSet> table, |
+ GetKeysConversion convert); |
}; |