v8  3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
CodeCacheHashTableKey Class Reference
Inheritance diagram for CodeCacheHashTableKey:
Collaboration diagram for CodeCacheHashTableKey:

Public Member Functions

 CodeCacheHashTableKey (String *name, Code::Flags flags)
 
 CodeCacheHashTableKey (String *name, Code *code)
 
bool IsMatch (Object *other)
 
uint32_t Hash ()
 
uint32_t HashForObject (Object *obj)
 
MUST_USE_RESULT MaybeObject * AsObject ()
 
- Public Member Functions inherited from HashTableKey
virtual ~HashTableKey ()
 

Static Public Member Functions

static uint32_t NameFlagsHashHelper (String *name, Code::Flags flags)
 

Detailed Description

Definition at line 5680 of file objects.cc.

Constructor & Destructor Documentation

CodeCacheHashTableKey ( String name,
Code::Flags  flags 
)
inline

Definition at line 5682 of file objects.cc.

CodeCacheHashTableKey ( String name,
Code code 
)
inline

Definition at line 5685 of file objects.cc.

Member Function Documentation

MUST_USE_RESULT MaybeObject* AsObject ( )
inlinevirtual

Implements HashTableKey.

Definition at line 5715 of file objects.cc.

References ASSERT, FixedArray::cast(), v8::internal::NULL, and FixedArray::set().

Referenced by CodeCacheHashTable::Put().

uint32_t Hash ( )
inlinevirtual

Implements HashTableKey.

Definition at line 5706 of file objects.cc.

Referenced by CodeCacheHashTable::Put().

uint32_t HashForObject ( Object obj)
inlinevirtual

Implements HashTableKey.

Definition at line 5708 of file objects.cc.

References FixedArray::cast(), Code::cast(), String::cast(), and FixedArray::get().

bool IsMatch ( Object other)
inlinevirtual
static uint32_t NameFlagsHashHelper ( String name,
Code::Flags  flags 
)
inlinestatic

Definition at line 5702 of file objects.cc.

References v8::internal::flags, and String::Hash().


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