V8 Project
|
#include <objects.h>
Public Member Functions | |
int | length () const |
void | set_length (int value) |
int | synchronized_length () const |
void | synchronized_set_length (int value) |
![]() | |
Map * | map () const |
void | set_map (Map *value) |
void | set_map_no_write_barrier (Map *value) |
Map * | synchronized_map () |
MapWord | synchronized_map_word () const |
void | synchronized_set_map (Map *value) |
void | synchronized_set_map_no_write_barrier (Map *value) |
void | synchronized_set_map_word (MapWord map_word) |
MapWord | map_word () const |
void | set_map_word (MapWord map_word) |
Heap * | GetHeap () const |
Isolate * | GetIsolate () const |
Address | address () |
void | Iterate (ObjectVisitor *v) |
void | IterateBody (InstanceType type, int object_size, ObjectVisitor *v) |
int | Size () |
bool | MayContainRawValues () |
int | SizeFromMap (Map *map) |
WriteBarrierMode | GetWriteBarrierMode (const DisallowHeapAllocation &promise) |
void | HeapObjectShortPrint (OStream &os) |
STATIC_ASSERT (kMapOffset==Internals::kHeapObjectMapOffset) | |
![]() | |
bool | IsObject () const |
INLINE (bool IsFixedArrayBase() const) | |
INLINE (bool IsExternal() const) | |
INLINE (bool IsAccessorInfo() const) | |
INLINE (bool IsStruct() const) | |
INLINE (bool IsSpecObject()) const | |
INLINE (bool IsSpecFunction()) const | |
INLINE (bool IsTemplateInfo()) const | |
INLINE (bool IsNameDictionary() const) | |
INLINE (bool IsSeededNumberDictionary() const) | |
INLINE (bool IsUnseededNumberDictionary() const) | |
INLINE (bool IsOrderedHashSet() const) | |
INLINE (bool IsOrderedHashMap() const) | |
bool | IsCallable () const |
INLINE (bool IsUndefined() const) | |
INLINE (bool IsNull() const) | |
INLINE (bool IsTheHole() const) | |
INLINE (bool IsException() const) | |
INLINE (bool IsUninitialized() const) | |
INLINE (bool IsTrue() const) | |
INLINE (bool IsFalse() const) | |
INLINE (bool IsArgumentsMarker() const) | |
INLINE (bool IsFiller() const) | |
double | Number () |
INLINE (bool IsNaN() const) | |
INLINE (bool IsMinusZero() const) | |
bool | ToInt32 (int32_t *value) |
bool | ToUint32 (uint32_t *value) |
Representation | OptimalRepresentation () |
bool | FitsRepresentation (Representation representation) |
Handle< HeapType > | OptimalType (Isolate *isolate, Representation representation) |
bool | HasValidElements () |
bool | HasSpecificClassOf (String *name) |
bool | BooleanValue () |
Object * | GetHash () |
bool | SameValue (Object *other) |
bool | SameValueZero (Object *other) |
bool | ToArrayIndex (uint32_t *index) |
bool | IsStringObjectWithCharacterAt (uint32_t index) |
void | VerifyApiCallResultType () |
void | ShortPrint (FILE *out=stdout) |
void | ShortPrint (StringStream *accumulator) |
Static Public Attributes | |
static const int | kLengthOffset = HeapObject::kHeaderSize |
static const int | kHeaderSize = kLengthOffset + kPointerSize |
![]() | |
static const int | kMapOffset = Object::kHeaderSize |
static const int | kHeaderSize = kMapOffset + kPointerSize |
![]() | |
static const int | kHeaderSize = 0 |
|
inline |
Referenced by v8::internal::ScopeInfo::CallsEval(), v8::internal::Heap::ClearJSFunctionResultCaches(), v8::internal::SharedFunctionInfo::ClearTypeFeedbackInfo(), v8::internal::FixedArray::ContainsOnlySmisOrHoles(), v8::internal::ScopeInfo::ContextLength(), v8::internal::Heap::CopyAndTenureFixedCOWArray(), v8::internal::CopyDictionaryToDoubleElements(), v8::internal::CopyDictionaryToObjectElements(), v8::internal::CopyDoubleToDoubleElements(), v8::internal::CopyDoubleToObjectElements(), v8::internal::NameDictionary::CopyEnumKeysTo(), v8::internal::Heap::CopyFixedArray(), v8::internal::Heap::CopyFixedArrayWithMap(), v8::internal::Heap::CopyFixedDoubleArray(), v8::internal::Heap::CopyFixedDoubleArrayWithMap(), v8::internal::Heap::CopyJSObject(), v8::internal::CopyObjectToDoubleElements(), v8::internal::CopyObjectToObjectElements(), v8::internal::CopyPackedSmiToDoubleElements(), v8::internal::CopySmiToDoubleElements(), v8::internal::Dictionary< Derived, Shape, Key >::CopyValuesTo(), v8::internal::ScopeInfo::Create(), v8::internal::FixedTypedArrayBase::DataSize(), v8::internal::JSObject::DefineElementAccessor(), v8::internal::AllocationSite::DigestTransitionFeedback(), v8::internal::SharedFunctionInfo::EvictFromOptimizedCodeMap(), v8::internal::ExternalOneByteString::ExternalOneByteStringGet(), v8::internal::ExternalTwoByteString::ExternalTwoByteStringGet(), v8::internal::V8HeapExplorer::ExtractClosureReferences(), v8::internal::V8HeapExplorer::ExtractElementReferences(), v8::internal::V8HeapExplorer::ExtractFixedArrayReferences(), v8::internal::FindSharedFunctionInfosForScript(), v8::internal::PolymorphicCodeCacheHashTableKey::FromObject(), v8::internal::ScopeInfo::FunctionContextSlotIndex(), v8::internal::Dictionary< Derived, Shape, Key >::GenerateNewEnumerationIndices(), v8::internal::FixedArray::get(), v8::internal::ByteArray::get(), v8::internal::ByteArray::get_int(), v8::internal::FixedDoubleArray::get_representation(), v8::internal::FixedDoubleArray::get_scalar(), v8::internal::ExternalUint8ClampedArray::get_scalar(), v8::internal::ExternalInt8Array::get_scalar(), v8::internal::ExternalUint8Array::get_scalar(), v8::internal::ExternalInt16Array::get_scalar(), v8::internal::ExternalUint16Array::get_scalar(), v8::internal::ExternalInt32Array::get_scalar(), v8::internal::ExternalUint32Array::get_scalar(), v8::internal::ExternalFloat32Array::get_scalar(), v8::internal::ExternalFloat64Array::get_scalar(), v8::internal::JSObject::GetElementsCapacityAndUsage(), v8::internal::CodeCache::GetIndex(), v8::internal::Script::GetLineNumberWithArray(), v8::internal::JSObject::GetOwnElementKeys(), v8::internal::JSObject::GetOwnPropertyNames(), v8::internal::BreakPointInfo::HasBreakPointObject(), v8::internal::ScopeInfo::HasFunctionName(), v8::internal::ScopeInfo::HasHeapAllocatedLocals(), v8::internal::StringsKey::HashForObject(), v8::internal::HeapSortPairs(), v8::internal::IsCodeEquivalent(), v8::internal::DescriptorArray::IsEmpty(), v8::internal::TransitionArray::IsFullTransitionArray(), v8::internal::StringsKey::IsMatch(), v8::internal::NormalizedMapCache::IsNormalizedMapCache(), v8::internal::TransitionArray::IsSimpleTransition(), v8::internal::HashTable< Derived, Shape, Key >::IterateElements(), v8::internal::ModuleInfo::length(), v8::internal::CodeCache::LookupDefaultCache(), v8::internal::StaticMarkingVisitor< StaticVisitor >::MarkMapContents(), v8::TypeSwitch::match(), v8::internal::HashTable< Derived, Shape, Key >::New(), v8::internal::FixedArray::NoIncrementalWriteBarrierSet(), v8::internal::FixedArray::NoWriteBarrierSet(), v8::internal::DependentCode::number_of_entries(), v8::internal::TransitionArray::number_of_transitions(), v8::internal::JSObject::NumberOfEnumElements(), v8::internal::JSFunction::NumberOfLiterals(), v8::internal::Map::NumberOfProtoTransitions(), v8::internal::ScopeInfo::ParameterEntriesIndex(), v8::internal::ScopeInfo::ParameterIndex(), v8::internal::DateParser::Parse(), v8::internal::MarkCompactCollector::ProcessMapCaches(), v8::internal::CodeFlusher::ProcessOptimizedCodeMaps(), v8::internal::JSArray::ReadOnlyLengthError(), v8::internal::JSObject::ReferencesObject(), v8::internal::JSObject::ReferencesObjectFromElements(), v8::internal::Code::relocation_size(), v8::internal::CodeCache::RemoveByIndex(), v8::internal::JavaScriptFrame::RestoreOperandStack(), v8::internal::RUNTIME_FUNCTION(), v8::internal::JavaScriptFrame::SaveOperandStack(), v8::internal::ScopeInfo::scope_type(), v8::internal::SharedFunctionInfo::SearchOptimizedCodeMap(), v8::internal::SeqOneByteString::SeqOneByteStringGet(), v8::internal::SeqOneByteString::SeqOneByteStringSet(), v8::internal::SeqOneByteString::SeqOneByteStringSize(), v8::internal::SeqTwoByteString::SeqTwoByteStringGet(), v8::internal::SeqTwoByteString::SeqTwoByteStringSet(), v8::internal::SeqTwoByteString::SeqTwoByteStringSize(), v8::internal::ByteArray::set(), v8::internal::ExternalFloat64Array::set(), v8::internal::ExternalFloat32Array::set(), v8::internal::ExternalInt16Array::set(), v8::internal::ExternalInt32Array::set(), v8::internal::ExternalInt8Array::set(), v8::internal::FixedArray::set(), v8::internal::ExternalUint16Array::set(), v8::internal::String::Set(), v8::internal::ExternalUint32Array::set(), v8::internal::ExternalUint8ClampedArray::set(), v8::internal::ExternalUint8Array::set(), v8::internal::FixedArray::set_null(), v8::internal::FixedArray::set_the_hole(), v8::internal::FixedArray::set_undefined(), v8::internal::JSObject::SetDictionaryElement(), v8::internal::JSObject::SetElement(), v8::internal::JSObject::SetElementCallback(), v8::internal::JSObject::SetElementWithoutInterceptor(), v8::internal::DescriptorArray::SetEnumCache(), v8::internal::JSObject::SetFastDoubleElement(), v8::internal::JSObject::SetFastElement(), v8::internal::Map::SetNumberOfProtoTransitions(), v8::internal::JSObject::ShouldConvertToFastElements(), v8::internal::FixedArray::SortPairs(), v8::internal::ScopeInfo::StackSlotCount(), v8::internal::ScopeInfo::StackSlotIndex(), v8::internal::ScopeInfo::strict_mode(), v8::internal::JSObject::TransitionElementsKind(), v8::internal::MarkCompactCollector::TrimEnumCache(), v8::internal::SharedFunctionInfo::TrimOptimizedCodeMap(), v8::internal::TypeCheck(), v8::internal::String::VisitFlat(), v8::internal::JSArray::WouldChangeReadOnlyLength(), v8::internal::Map::ZapPrototypeTransitions(), and v8::internal::Map::ZapTransitions().
|
inline |
Referenced by v8::internal::Heap::AllocateFixedArrayWithFiller(), v8::internal::Heap::AllocateFixedTypedArray(), v8::internal::Heap::CopyAndTenureFixedCOWArray(), and v8::internal::Heap::CopyFixedArrayWithMap().
|
inline |
|
inline |
|
static |
Definition at line 2393 of file objects.h.
Referenced by v8::internal::HOptimizedGraphBuilder::BuildAllocateFixedTypedArray(), v8::internal::CodeStubGraphBuilder< Stub >::BuildCodeStub(), v8::internal::CopyDoubleToDoubleElements(), v8::internal::CopyObjectToObjectElements(), v8::internal::FixedArray::data_start(), v8::internal::FixedDoubleArray::data_start(), v8::internal::FixedArrayElementOperand(), v8::internal::ByteArray::FromDataStartAddress(), v8::internal::FixedArray::get(), v8::internal::ByteArray::get(), v8::internal::ByteArray::get_int(), v8::internal::FixedDoubleArray::get_representation(), v8::internal::FixedDoubleArray::get_scalar(), v8::internal::SeqTwoByteString::GetChars(), v8::internal::SeqOneByteString::GetCharsAddress(), v8::internal::SeqTwoByteString::GetCharsAddress(), v8::internal::ByteArray::GetDataStartAddress(), v8::internal::GetDefaultHeaderSizeForElementsKind(), v8::internal::FixedDoubleArray::is_the_hole(), v8::internal::HashTable< Derived, Shape, Key >::IterateElements(), v8::internal::Heap::LeftTrimFixedArray(), v8::internal::FixedArray::NoIncrementalWriteBarrierSet(), v8::internal::FixedArray::NoWriteBarrierSet(), v8::internal::SeqOneByteString::SeqOneByteStringGet(), v8::internal::SeqOneByteString::SeqOneByteStringSet(), v8::internal::SeqTwoByteString::SeqTwoByteStringGet(), v8::internal::SeqTwoByteString::SeqTwoByteStringSet(), v8::internal::ByteArray::set(), v8::internal::FixedDoubleArray::set(), v8::internal::FixedArray::set(), v8::internal::FixedArray::set_null(), v8::internal::FixedArray::set_the_hole(), v8::internal::FixedDoubleArray::set_the_hole(), v8::internal::FixedArray::set_undefined(), and v8::internal::Context::SlotOffset().
|
static |
Definition at line 2392 of file objects.h.
Referenced by v8::internal::Heap::CopyFixedDoubleArrayWithMap(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::ForFixedArrayLength(), and v8::internal::Heap::LeftTrimFixedArray().