|
V8 Project
|
#include <objects.h>
Inheritance diagram for v8::internal::Name:
Collaboration diagram for v8::internal::Name:Classes | |
| class | ArrayIndexLengthBits |
| class | ArrayIndexValueBits |
Static Public Attributes | |
| static const int | kHashFieldOffset = HeapObject::kHeaderSize |
| static const int | kSize = kHashFieldOffset + kPointerSize |
| static const int | kHashNotComputedMask = 1 |
| static const int | kIsNotArrayIndexMask = 1 << 1 |
| static const int | kNofHashBitFields = 2 |
| static const int | kHashShift = kNofHashBitFields |
| static const uint32_t | kHashBitMask = 0xffffffffu >> kHashShift |
| static const int | kMaxCachedArrayIndexLength = 7 |
| static const int | kArrayIndexValueBits = 24 |
| static const int | kArrayIndexLengthBits |
| static const unsigned int | kContainsCachedArrayIndexMask |
| static const int | kEmptyHashField |
Static Public Attributes inherited from v8::internal::HeapObject | |
| static const int | kMapOffset = Object::kHeaderSize |
| static const int | kHeaderSize = kMapOffset + kPointerSize |
Static Public Attributes inherited from v8::internal::Object | |
| static const int | kHeaderSize = 0 |
Static Protected Member Functions | |
| static bool | IsHashFieldComputed (uint32_t field) |
Private Member Functions | |
| DISALLOW_IMPLICIT_CONSTRUCTORS (Name) | |
Additional Inherited Members | |
Public Types inherited from v8::internal::Object | |
| enum | StoreFromKeyed { MAY_BE_STORE_FROM_KEYED , CERTAINLY_NOT_STORE_FROM_KEYED } |
| enum | StorePropertyMode { NORMAL_PROPERTY , SUPER_PROPERTY } |
Protected Member Functions inherited from v8::internal::HeapObject | |
| void | IteratePointers (ObjectVisitor *v, int start, int end) |
| void | IteratePointer (ObjectVisitor *v, int offset) |
| void | IterateNextCodeLink (ObjectVisitor *v, int offset) |
Definition at line 6601 of file objects-inl.h.
|
private |
Definition at line 3319 of file objects-inl.h.
References v8::internal::String::SlowEquals().
Here is the call graph for this function:Definition at line 3309 of file objects-inl.h.
Referenced by v8::internal::BinarySearch(), v8::internal::CheckForName(), v8::internal::LoadIC::CompileHandler(), v8::internal::OrderedHashTable< OrderedHashSet, JSSetIterator, 1 >::FindEntry(), v8::internal::LinearSearch(), v8::internal::KeyedLookupCache::Lookup(), and v8::internal::TransitionArray::Search().
Here is the caller graph for this function:
|
inline |
Definition at line 6465 of file objects-inl.h.
References hash_field(), IsHashFieldComputed(), and kHashShift.
Referenced by v8::internal::Logger::ApiNamedPropertyAccess(), v8::internal::DescriptorArray::Append(), v8::internal::CodeEventLogger::NameBuffer::AppendName(), v8::internal::BinarySearch(), v8::internal::Logger::CallbackEventInternal(), v8::internal::HeapObject::HeapObjectShortPrint(), v8::internal::InsertionPointFound(), v8::internal::LinearSearch(), v8::internal::RegExpResultsCache::Lookup(), v8::internal::String::SlowAsArrayIndex(), v8::internal::String::SlowEquals(), and v8::internal::StringSharedKey::StringSharedHashHelper().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 3296 of file objects-inl.h.
References READ_UINT32_FIELD.
Referenced by v8::internal::String::AsArrayIndex(), Hash(), HasHashCode(), and v8::internal::String::SlowAsArrayIndex().
Here is the caller graph for this function:
|
inline |
Definition at line 6460 of file objects-inl.h.
References hash_field(), and IsHashFieldComputed().
Referenced by v8::internal::String::ComputeAndSetHash(), v8::internal::String::GetForwardedInternalizedString(), v8::internal::String::SetForwardedInternalizedString(), and v8::internal::String::SlowEquals().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 6455 of file objects-inl.h.
References kHashNotComputedMask.
Referenced by v8::internal::String::AsArrayIndex(), Hash(), and HasHashCode().
Here is the caller graph for this function:
|
inline |
Definition at line 6473 of file objects-inl.h.
|
inline |
Definition at line 3301 of file objects-inl.h.
References v8::internal::kIntSize, and WRITE_UINT32_FIELD.
Referenced by v8::internal::Heap::AllocateInternalizedStringImpl(), v8::internal::Heap::AllocateOneByteInternalizedString(), v8::internal::Heap::AllocateTwoByteInternalizedString(), and v8::internal::String::ComputeAndSetHash().
Here is the caller graph for this function:| v8::internal::Name::STATIC_ASSERT | ( | (kArrayIndexLengthBits > 0) | ) |
| v8::internal::Name::STATIC_ASSERT | ( | IS_POWER_OF_TWO(kMaxCachedArrayIndexLength+1) | ) |
|
static |
|
static |
|
static |
|
static |
Definition at line 8534 of file objects.h.
Referenced by v8::internal::Heap::AllocateRawOneByteString(), v8::internal::Heap::AllocateRawTwoByteString(), and v8::internal::Deserializer::ProcessNewObjectFromSerializedCode().
|
static |
Definition at line 8503 of file objects.h.
Referenced by v8::internal::Heap::AllocateSymbol(), v8::internal::Heap::SetUp(), and v8::internal::TwoCharHashTableKey::TwoCharHashTableKey().
|
static |
Definition at line 8486 of file objects.h.
Referenced by v8::internal::FINAL< kOperandKind, kNumCachedOperands >::ForNameHashField(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::ForStringHashField(), v8::internal::String::GetForwardedInternalizedString(), and v8::internal::String::SetForwardedInternalizedString().
|
static |
Definition at line 8494 of file objects.h.
Referenced by IsHashFieldComputed().
|
static |
Definition at line 8499 of file objects.h.
Referenced by v8::internal::Heap::AllocateSymbol(), v8::internal::CodeStubGraphBuilder< KeyedLoadGenericStub >::BuildCodeStub(), v8::internal::String::ComputeAndSetHash(), v8::internal::StubCache::entry(), v8::internal::StringHasher::GetHashField(), Hash(), v8::internal::AstRawStringInternalizationKey::Hash(), v8::internal::SequentialStringKey< Char >::Hash(), v8::internal::SeqOneByteSubStringKey::Hash(), v8::internal::Utf8StringKey::Hash(), v8::internal::StubCache::PrimaryOffset(), and v8::internal::TwoCharHashTableKey::TwoCharHashTableKey().
|
static |
Definition at line 8495 of file objects.h.
Referenced by v8::internal::Heap::AllocateSymbol(), v8::internal::String::AsArrayIndex(), v8::internal::StringHasher::GetHashField(), v8::internal::StringHasher::MakeArrayIndexHash(), v8::internal::String::SlowAsArrayIndex(), and v8::internal::TwoCharHashTableKey::TwoCharHashTableKey().
|
static |
|
static |
|
static |