diff options
Diffstat (limited to 'deps/v8/src/keys.h')
-rw-r--r-- | deps/v8/src/keys.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/deps/v8/src/keys.h b/deps/v8/src/keys.h index 5abbaac5cd0..c8db24a2174 100644 --- a/deps/v8/src/keys.h +++ b/deps/v8/src/keys.h @@ -12,6 +12,8 @@ namespace v8 { namespace internal { +class JSProxy; + enum AddKeyConversion { DO_NOT_CONVERT, CONVERT_TO_ARRAY_INDEX }; // This is a helper class for JSReceiver::GetKeys which collects and sorts keys. @@ -101,7 +103,7 @@ class KeyAccumulator final BASE_EMBEDDED { Handle<FixedArray> keys); bool IsShadowed(Handle<Object> key); bool HasShadowingKeys(); - Handle<OrderedHashSet> keys() { return Handle<OrderedHashSet>::cast(keys_); } + Handle<OrderedHashSet> keys(); Isolate* isolate_; // keys_ is either an Handle<OrderedHashSet> or in the case of own JSProxy |