Index: src/keys.h |
diff --git a/src/keys.h b/src/keys.h |
index 045fe97536f1d58caafcb35d6ec89289ea8dce49..63b8b26ce25e386be5c12befa8873be1228ffd1a 100644 |
--- a/src/keys.h |
+++ b/src/keys.h |
@@ -39,7 +39,7 @@ class KeyAccumulator final BASE_EMBEDDED { |
static MaybeHandle<FixedArray> GetKeys( |
Handle<JSReceiver> object, KeyCollectionMode mode, PropertyFilter filter, |
GetKeysConversion keys_conversion = GetKeysConversion::kKeepNumbers, |
- bool filter_proxy_keys = true, bool is_for_in = false); |
+ bool is_for_in = false); |
Handle<FixedArray> GetKeys( |
GetKeysConversion convert = GetKeysConversion::kKeepNumbers); |
@@ -69,7 +69,6 @@ class KeyAccumulator final BASE_EMBEDDED { |
// The collection mode defines whether we collect the keys from the prototype |
// chain or only look at the receiver. |
KeyCollectionMode mode() { return mode_; } |
- void set_filter_proxy_keys(bool filter) { filter_proxy_keys_ = filter; } |
// In case of for-in loops we have to treat JSProxy keys differently and |
// deduplicate them. Additionally we convert JSProxy keys back to array |
// indices. |
@@ -108,7 +107,6 @@ class KeyAccumulator final BASE_EMBEDDED { |
Handle<ObjectHashSet> shadowing_keys_; |
KeyCollectionMode mode_; |
PropertyFilter filter_; |
- bool filter_proxy_keys_ = true; |
bool is_for_in_ = false; |
bool skip_indices_ = false; |
// For all the keys on the first receiver adding a shadowing key we can skip |
@@ -132,7 +130,6 @@ class FastKeyAccumulator { |
bool is_receiver_simple_enum() { return is_receiver_simple_enum_; } |
bool has_empty_prototype() { return has_empty_prototype_; } |
- void set_filter_proxy_keys(bool filter) { filter_proxy_keys_ = filter; } |
void set_is_for_in(bool value) { is_for_in_ = value; } |
MaybeHandle<FixedArray> GetKeys( |
@@ -148,7 +145,6 @@ class FastKeyAccumulator { |
Handle<JSReceiver> last_non_empty_prototype_; |
KeyCollectionMode mode_; |
PropertyFilter filter_; |
- bool filter_proxy_keys_ = true; |
bool is_for_in_ = false; |
bool is_receiver_simple_enum_ = false; |
bool has_empty_prototype_ = false; |