v8
3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
|
Public Member Functions | |
StringSharedKey (String *source, SharedFunctionInfo *shared, LanguageMode language_mode, int scope_position) | |
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 | StringSharedHashHelper (String *source, SharedFunctionInfo *shared, LanguageMode language_mode, int scope_position) |
Definition at line 10956 of file objects.cc.
|
inline |
Definition at line 10958 of file objects.cc.
|
inlinevirtual |
Implements HashTableKey.
Definition at line 11023 of file objects.cc.
References Heap::AllocateFixedArray(), FixedArray::cast(), Smi::FromInt(), HeapObject::GetHeap(), and FixedArray::set().
Referenced by CompilationCacheTable::Put().
|
inlinevirtual |
Implements HashTableKey.
Definition at line 11004 of file objects.cc.
References StringSharedKey::StringSharedHashHelper().
Referenced by CompilationCacheTable::Put(), and StringSharedKey::StringSharedHashHelper().
|
inlinevirtual |
Implements HashTableKey.
Definition at line 11009 of file objects.cc.
References ASSERT, Smi::cast(), FixedArray::cast(), SharedFunctionInfo::cast(), String::cast(), v8::internal::CLASSIC_MODE, v8::internal::EXTENDED_MODE, FixedArray::get(), v8::internal::STRICT_MODE, and StringSharedKey::StringSharedHashHelper().
|
inlinevirtual |
Implements HashTableKey.
Definition at line 10967 of file objects.cc.
References ASSERT, Smi::cast(), FixedArray::cast(), SharedFunctionInfo::cast(), String::cast(), v8::internal::CLASSIC_MODE, String::Equals(), v8::internal::EXTENDED_MODE, FixedArray::get(), and v8::internal::STRICT_MODE.
|
inlinestatic |
Definition at line 10984 of file objects.cc.
References Script::cast(), String::cast(), v8::internal::EXTENDED_MODE, String::Hash(), StringSharedKey::Hash(), SharedFunctionInfo::HasSourceCode(), and v8::internal::STRICT_MODE.
Referenced by StringSharedKey::Hash(), and StringSharedKey::HashForObject().