V8 Project
v8::internal::MapCacheShape Class Reference

#include <objects.h>

+ Inheritance diagram for v8::internal::MapCacheShape:
+ Collaboration diagram for v8::internal::MapCacheShape:

Static Public Member Functions

static bool IsMatch (HashTableKey *key, Object *value)
 
static uint32_t Hash (HashTableKey *key)
 
static uint32_t HashForObject (HashTableKey *key, Object *object)
 
static Handle< ObjectAsHandle (Isolate *isolate, HashTableKey *key)
 
- Static Public Member Functions inherited from v8::internal::BaseShape< HashTableKey * >
static uint32_t Hash (HashTableKey * key)
 
static uint32_t SeededHash (HashTableKey * key, uint32_t seed)
 
static uint32_t HashForObject (HashTableKey * key, Object *object)
 
static uint32_t SeededHashForObject (HashTableKey * key, uint32_t seed, Object *object)
 

Static Public Attributes

static const int kPrefixSize = 0
 
static const int kEntrySize = 2
 
- Static Public Attributes inherited from v8::internal::BaseShape< HashTableKey * >
static const bool UsesSeed
 

Detailed Description

Definition at line 3446 of file objects.h.

Member Function Documentation

◆ AsHandle()

Handle< Object > v8::internal::MapCacheShape::AsHandle ( Isolate isolate,
HashTableKey key 
)
inlinestatic

Definition at line 482 of file objects-inl.h.

482  {
483  return key->AsHandle(isolate);
484 }

References v8::internal::HashTableKey::AsHandle().

+ Here is the call graph for this function:

◆ Hash()

static uint32_t v8::internal::MapCacheShape::Hash ( HashTableKey key)
inlinestatic

Definition at line 3452 of file objects.h.

3452  {
3453  return key->Hash();
3454  }

References v8::internal::HashTableKey::Hash().

+ Here is the call graph for this function:

◆ HashForObject()

static uint32_t v8::internal::MapCacheShape::HashForObject ( HashTableKey key,
Object object 
)
inlinestatic

Definition at line 3456 of file objects.h.

3456  {
3457  return key->HashForObject(object);
3458  }

References v8::internal::HashTableKey::HashForObject().

+ Here is the call graph for this function:

◆ IsMatch()

static bool v8::internal::MapCacheShape::IsMatch ( HashTableKey key,
Object value 
)
inlinestatic

Definition at line 3448 of file objects.h.

3448  {
3449  return key->IsMatch(value);
3450  }

References v8::internal::HashTableKey::IsMatch(), and v8::internal::Smi::value().

+ Here is the call graph for this function:

Member Data Documentation

◆ kEntrySize

const int v8::internal::MapCacheShape::kEntrySize = 2
static

Definition at line 3463 of file objects.h.

◆ kPrefixSize

const int v8::internal::MapCacheShape::kPrefixSize = 0
static

Definition at line 3462 of file objects.h.


The documentation for this class was generated from the following files: