#include <unordered_set>
#include "src/builtins/builtins-utils-inl.h"
#include "src/objects/js-struct-inl.h"
#include "src/objects/property-details.h"
namespace v8 {
namespace internal {
constexpr int kMaxJSStructFields = …;
static_assert …;
namespace {
struct NameHandleHasher { … };
struct UniqueNameHandleEqual { … };
using UniqueNameHandleSet =
std::unordered_set<Handle<Name>, NameHandleHasher, UniqueNameHandleEqual>;
}
BUILTIN(SharedSpaceJSObjectHasInstance) { … }
namespace {
Maybe<bool> CollectFieldsAndElements(Isolate* isolate,
Handle<JSReceiver> property_names,
int num_properties,
std::vector<Handle<Name>>& field_names,
std::set<uint32_t>& element_names) { … }
}
BUILTIN(SharedStructTypeConstructor) { … }
BUILTIN(SharedStructConstructor) { … }
BUILTIN(SharedStructTypeIsSharedStruct) { … }
BUILTIN(AtomicsMutexIsMutex) { … }
BUILTIN(AtomicsConditionIsCondition) { … }
}
}