diff options
Diffstat (limited to 'deps/v8/src/keys.cc')
-rw-r--r-- | deps/v8/src/keys.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/deps/v8/src/keys.cc b/deps/v8/src/keys.cc index 689f4ac3dfe..e92902cfb55 100644 --- a/deps/v8/src/keys.cc +++ b/deps/v8/src/keys.cc @@ -5,7 +5,8 @@ #include "src/keys.h" #include "src/api-arguments-inl.h" -#include "src/elements.h" +#include "src/elements-inl.h" +#include "src/handles-inl.h" #include "src/heap/factory.h" #include "src/identity-map.h" #include "src/isolate-inl.h" @@ -60,6 +61,10 @@ Handle<FixedArray> KeyAccumulator::GetKeys(GetKeysConversion convert) { return result; } +Handle<OrderedHashSet> KeyAccumulator::keys() { + return Handle<OrderedHashSet>::cast(keys_); +} + void KeyAccumulator::AddKey(Object* key, AddKeyConversion convert) { AddKey(handle(key, isolate_), convert); } |