V8 Project
v8::internal::UnseededNumberDictionaryShape Class Reference

#include <objects.h>

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

Static Public Member Functions

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

Static Public Attributes

static const int kPrefixSize = 0
 
- Static Public Attributes inherited from v8::internal::NumberDictionaryShape
static const int kEntrySize = 3
 
static const bool kIsEnumerable = false
 
- Static Public Attributes inherited from v8::internal::BaseShape< uint32_t >
static const bool UsesSeed
 

Detailed Description

Definition at line 3661 of file objects.h.

Member Function Documentation

◆ Hash()

uint32_t v8::internal::UnseededNumberDictionaryShape::Hash ( uint32_t  key)
inlinestatic

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

6828  {
6829  return ComputeIntegerHash(key, 0);
6830 }
uint32_t ComputeIntegerHash(uint32_t key, uint32_t seed)
Definition: utils.h:249

References v8::internal::ComputeIntegerHash().

+ Here is the call graph for this function:

◆ HashForObject()

uint32_t v8::internal::UnseededNumberDictionaryShape::HashForObject ( uint32_t  key,
Object object 
)
inlinestatic

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

6834  {
6835  DCHECK(other->IsNumber());
6836  return ComputeIntegerHash(static_cast<uint32_t>(other->Number()), 0);
6837 }
#define DCHECK(condition)
Definition: logging.h:205

References v8::internal::ComputeIntegerHash(), DCHECK, and v8::internal::Object::Number().

+ Here is the call graph for this function:

Member Data Documentation

◆ kPrefixSize

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

Definition at line 3663 of file objects.h.


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