V8 Project
v8::internal::BaseShape< Key > Class Template Reference

#include <objects.h>

+ Inheritance diagram for v8::internal::BaseShape< Key >:
+ Collaboration diagram for v8::internal::BaseShape< Key >:

Static Public Member Functions

static uint32_t Hash (Key key)
 
static uint32_t SeededHash (Key key, uint32_t seed)
 
static uint32_t HashForObject (Key key, Object *object)
 
static uint32_t SeededHashForObject (Key key, uint32_t seed, Object *object)
 

Static Public Attributes

static const bool UsesSeed = false
 

Detailed Description

template<typename Key>
class v8::internal::BaseShape< Key >

Definition at line 3174 of file objects.h.

Member Function Documentation

◆ Hash()

template<typename Key >
static uint32_t v8::internal::BaseShape< Key >::Hash ( Key  key)
inlinestatic

Definition at line 3177 of file objects.h.

3177 { return 0; }

◆ HashForObject()

template<typename Key >
static uint32_t v8::internal::BaseShape< Key >::HashForObject ( Key  key,
Object object 
)
inlinestatic

Definition at line 3182 of file objects.h.

3182 { return 0; }

◆ SeededHash()

template<typename Key >
static uint32_t v8::internal::BaseShape< Key >::SeededHash ( Key  key,
uint32_t  seed 
)
inlinestatic

Definition at line 3178 of file objects.h.

3178  {
3179  DCHECK(UsesSeed);
3180  return Hash(key);
3181  }
static const bool UsesSeed
Definition: objects.h:3176
static uint32_t Hash(Key key)
Definition: objects.h:3177
#define DCHECK(condition)
Definition: logging.h:205

References DCHECK, and v8::internal::Hash().

+ Here is the call graph for this function:

◆ SeededHashForObject()

template<typename Key >
static uint32_t v8::internal::BaseShape< Key >::SeededHashForObject ( Key  key,
uint32_t  seed,
Object object 
)
inlinestatic

Definition at line 3183 of file objects.h.

3183  {
3184  DCHECK(UsesSeed);
3185  return HashForObject(key, object);
3186  }
static uint32_t HashForObject(Key key, Object *object)
Definition: objects.h:3182

References DCHECK.

Member Data Documentation

◆ UsesSeed

template<typename Key >
const bool v8::internal::BaseShape< Key >::UsesSeed = false
static

Definition at line 3176 of file objects.h.


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