v8
3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
|
Public Member Functions | |
StringSharedKey (String *source, SharedFunctionInfo *shared, StrictMode strict_mode, int scope_position) | |
bool | IsMatch (Object *other) |
uint32_t | Hash () |
uint32_t | HashForObject (Object *obj) |
MUST_USE_RESULT MaybeObject * | AsObject (Heap *heap) |
Public Member Functions inherited from HashTableKey | |
virtual | ~HashTableKey () |
Static Public Member Functions | |
static uint32_t | StringSharedHashHelper (String *source, SharedFunctionInfo *shared, StrictMode strict_mode, int scope_position) |
Definition at line 13631 of file objects.cc.
|
inline |
Definition at line 13633 of file objects.cc.
|
inlinevirtual |
Implements HashTableKey.
Definition at line 13693 of file objects.cc.
References Heap::AllocateFixedArray(), FixedArray::cast(), Smi::FromInt(), obj, and FixedArray::set().
Referenced by CompilationCacheTable::Put().
|
inlinevirtual |
Implements HashTableKey.
Definition at line 13676 of file objects.cc.
Referenced by CompilationCacheTable::Put().
|
inlinevirtual |
Implements HashTableKey.
Definition at line 13681 of file objects.cc.
References ASSERT, Smi::cast(), FixedArray::cast(), SharedFunctionInfo::cast(), String::cast(), FixedArray::get(), v8::internal::SLOPPY, and v8::internal::STRICT.
|
inlinevirtual |
Implements HashTableKey.
Definition at line 13642 of file objects.cc.
References ASSERT, Smi::cast(), FixedArray::cast(), SharedFunctionInfo::cast(), String::cast(), String::Equals(), FixedArray::get(), v8::internal::SLOPPY, and v8::internal::STRICT.
|
inlinestatic |
Definition at line 13657 of file objects.cc.
References Script::cast(), String::cast(), Name::Hash(), SharedFunctionInfo::HasSourceCode(), and v8::internal::STRICT.