v8
3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
|
#include <objects.h>
Data Structures | |
class | BodyDescriptor |
Public Member Functions | |
Object * | get (int index) |
void | set (int index, Object *value) |
bool | is_the_hole (int index) |
void | set (int index, Smi *value) |
void | set (int index, Object *value, WriteBarrierMode mode) |
void | set_undefined (int index) |
void | set_undefined (Heap *heap, int index) |
void | set_null (int index) |
void | set_null (Heap *heap, int index) |
void | set_the_hole (int index) |
void | set_unchecked (int index, Smi *value) |
void | set_null_unchecked (Heap *heap, int index) |
void | set_unchecked (Heap *heap, int index, Object *value, WriteBarrierMode mode) |
Object ** | data_start () |
Object ** | GetFirstElementAddress () |
bool | ContainsOnlySmisOrHoles () |
MUST_USE_RESULT MaybeObject * | Copy () |
MUST_USE_RESULT MaybeObject * | CopySize (int new_length) |
MUST_USE_RESULT MaybeObject * | AddKeysFromJSArray (JSArray *array) |
MUST_USE_RESULT MaybeObject * | UnionOfKeys (FixedArray *other) |
void | CopyTo (int pos, FixedArray *dest, int dest_pos, int len) |
void | SwapPairs (FixedArray *numbers, int i, int j) |
void | SortPairs (FixedArray *numbers, uint32_t len) |
Public Member Functions inherited from FixedArrayBase | |
int | length () |
void | set_length (int value) |
Public Member Functions inherited from HeapObject | |
Map * | map () |
void | set_map (Map *value) |
void | set_map_no_write_barrier (Map *value) |
MapWord | map_word () |
void | set_map_word (MapWord map_word) |
Heap * | GetHeap () |
Isolate * | GetIsolate () |
Address | address () |
void | Iterate (ObjectVisitor *v) |
void | IterateBody (InstanceType type, int object_size, ObjectVisitor *v) |
int | Size () |
int | SizeFromMap (Map *map) |
WriteBarrierMode | GetWriteBarrierMode (const AssertNoAllocation &) |
void | HeapObjectShortPrint (StringStream *accumulator) |
STATIC_CHECK (kMapOffset==Internals::kHeapObjectMapOffset) | |
Public Member Functions inherited from Object | |
bool | IsObject () |
bool | IsFixedArrayBase () |
bool | IsInstanceOf (FunctionTemplateInfo *type) |
bool | IsStruct () |
INLINE (bool IsSpecObject()) | |
INLINE (bool IsSpecFunction()) | |
INLINE (bool IsUndefined()) | |
INLINE (bool IsNull()) | |
INLINE (bool IsTheHole()) | |
INLINE (bool IsTrue()) | |
INLINE (bool IsFalse()) | |
bool | IsArgumentsMarker () |
bool | NonFailureIsHeapObject () |
bool | IsFiller () |
double | Number () |
bool | IsNaN () |
bool | HasValidElements () |
bool | HasSpecificClassOf (String *name) |
MUST_USE_RESULT MaybeObject * | ToObject () |
Object * | ToBoolean () |
MUST_USE_RESULT MaybeObject * | ToObject (Context *native_context) |
MUST_USE_RESULT MaybeObject * | ToSmi () |
void | Lookup (String *name, LookupResult *result) |
MUST_USE_RESULT MaybeObject * | GetProperty (String *key) |
MUST_USE_RESULT MaybeObject * | GetProperty (String *key, PropertyAttributes *attributes) |
MUST_USE_RESULT MaybeObject * | GetPropertyWithReceiver (Object *receiver, String *key, PropertyAttributes *attributes) |
MUST_USE_RESULT MaybeObject * | GetProperty (Object *receiver, LookupResult *result, String *key, PropertyAttributes *attributes) |
MUST_USE_RESULT MaybeObject * | GetPropertyWithDefinedGetter (Object *receiver, JSReceiver *getter) |
MUST_USE_RESULT MaybeObject * | GetElement (uint32_t index) |
Object * | GetElementNoExceptionThrown (uint32_t index) |
MUST_USE_RESULT MaybeObject * | GetElementWithReceiver (Object *receiver, uint32_t index) |
Object * | GetPrototype () |
MUST_USE_RESULT MaybeObject * | GetHash (CreationFlag flag) |
bool | SameValue (Object *other) |
bool | ToArrayIndex (uint32_t *index) |
bool | IsStringObjectWithCharacterAt (uint32_t index) |
void | VerifyApiCallResultType () |
void | ShortPrint () |
void | ShortPrint (FILE *out) |
void | ShortPrint (StringStream *accumulator) |
Static Public Member Functions | |
static int | SizeFor (int length) |
static int | OffsetOfElementAt (int index) |
static FixedArray * | cast (Object *obj) |
Static Public Member Functions inherited from FixedArrayBase | |
static FixedArrayBase * | cast (Object *object) |
Static Public Member Functions inherited from HeapObject | |
static HeapObject * | FromAddress (Address address) |
static Object ** | RawField (HeapObject *obj, int offset) |
static HeapObject * | cast (Object *obj) |
Static Public Member Functions inherited from Object | |
static Handle< Object > | GetProperty (Handle< Object > object, Handle< Object > receiver, LookupResult *result, Handle< String > key, PropertyAttributes *attributes) |
static Handle< Object > | GetElement (Handle< Object > object, uint32_t index) |
static Object * | cast (Object *value) |
Static Public Attributes | |
static const int | kMaxSize = 128 * MB * kPointerSize |
static const int | kMaxLength = (kMaxSize - kHeaderSize) / kPointerSize |
Static Public Attributes inherited from FixedArrayBase | |
static const int | kLengthOffset = HeapObject::kHeaderSize |
static const int | kHeaderSize = kLengthOffset + kPointerSize |
Static Public Attributes inherited from HeapObject | |
static const int | kMapOffset = Object::kHeaderSize |
static const int | kHeaderSize = kMapOffset + kPointerSize |
Static Public Attributes inherited from Object | |
static const int | kHeaderSize = 0 |
Static Protected Member Functions | |
static void | NoWriteBarrierSet (FixedArray *array, int index, Object *value) |
static void | NoIncrementalWriteBarrierSet (FixedArray *array, int index, Object *value) |
Additional Inherited Members | |
Protected Member Functions inherited from HeapObject | |
void | IteratePointers (ObjectVisitor *v, int start, int end) |
void | IteratePointer (ObjectVisitor *v, int offset) |
MaybeObject * AddKeysFromJSArray | ( | JSArray * | array | ) |
Definition at line 5953 of file objects.cc.
References ElementsAccessor::AddElementsToFixedArray(), ASSERT, FLAG_enable_slow_asserts, FixedArray::get(), JSObject::GetElementsAccessor(), and FixedArrayBase::length().
|
inlinestatic |
Referenced by SharedFunctionInfo::AddToOptimizedCodeMap(), Heap::AllocateJSObjectFromMap(), Heap::AllocateUninitializedFixedArray(), CodeCacheHashTableKey::AsObject(), PolymorphicCodeCacheHashTableKey::AsObject(), StringSharedKey::AsObject(), RegExpImpl::AtomExec(), v8::internal::BUILTIN(), Isolate::CaptureCurrentStackTrace(), Heap::ClearJSFunctionResultCaches(), Array::CloneElementAt(), RegExpImpl::Compile(), FastSmiOrObjectElementsAccessor< FastPackedSmiElementsAccessor, ElementsKindTraits< FAST_SMI_ELEMENTS > >::CopyElementsImpl(), FastDoubleElementsAccessor< FastHoleyDoubleElementsAccessor, ElementsKindTraits< FAST_HOLEY_DOUBLE_ELEMENTS > >::CopyElementsImpl(), DictionaryElementsAccessor::CopyElementsImpl(), NonStrictArgumentsElementsAccessor::CopyElementsImpl(), Heap::CopyFixedArrayWithMap(), Heap::CopyJSObject(), FixedArray::CopySize(), Heap::CreateApiObjects(), Runtime::CreateArrayLiteralBoilerplate(), JSRegExp::DataAt(), NonStrictArgumentsElementsAccessor::Delete(), FastElementsAccessor< FastPackedSmiElementsAccessor, ElementsKindTraits< FAST_SMI_ELEMENTS >, kPointerSize >::DeleteCommon(), DictionaryElementsAccessor::DeleteCommon(), JSObject::EnsureCanContainElements(), JSArray::EnsureSize(), JSObject::EnsureWritableFastElements(), Dictionary< Shape, Key >::GenerateNewEnumerationIndices(), NeanderObject::get(), CompileTimeValue::GetElements(), JSObject::GetElementsTransitionMap(), DescriptorArray::GetEnumCache(), DescriptorArray::GetEnumIndicesCache(), JSRegExp::GetFlags(), NonStrictArgumentsElementsAccessor::GetImpl(), JSObject::GetLocalElementKeys(), TransitionArray::GetPrototypeTransitions(), v8::internal::GetScriptColumnNumber(), v8::internal::GetScriptLineNumber(), SharedFunctionInfo::GetThisPropertyAssignmentArgument(), SharedFunctionInfo::GetThisPropertyAssignmentConstant(), SharedFunctionInfo::GetThisPropertyAssignmentName(), JSObject::HasDictionaryArgumentsElements(), DescriptorArray::HasEnumIndicesCache(), JSObject::HasFastArgumentsElements(), CodeCacheHashTableKey::HashForObject(), StringSharedKey::HashForObject(), RegExpKey::HashForObject(), SymbolsKey::HashForObject(), JSObject::HasLocalElement(), JSObject::HasRealElementProperty(), HeapObject::HeapObjectShortPrint(), SharedFunctionInfo::InstallFromOptimizedCodeMap(), RegExpImpl::IrregexpExec(), RegExpImpl::IrregexpExecRaw(), RegExpImpl::IrregexpPrepare(), CodeCacheHashTableKey::IsMatch(), StringSharedKey::IsMatch(), RegExpKey::IsMatch(), SymbolsKey::IsMatch(), SharedFunctionInfo::IsThisPropertyAssignmentArgument(), CompilationCacheRegExp::Lookup(), TypeSwitch::match(), JSObject::NormalizeElements(), JSObject::NumberOfEnumElements(), JSRegExp::Pattern(), JSObject::PrepareElementsForSort(), StringStream::PrintMentionedObjectCache(), JSObject::ReferencesObject(), Heap::ReinitializeJSGlobalProxy(), Heap::ReinitializeJSReceiver(), v8::internal::RUNTIME_FUNCTION(), SharedFunctionInfo::SearchOptimizedCodeMap(), NeanderObject::set(), JSArray::SetContent(), JSRegExp::SetDataAt(), JSObject::SetDictionaryElement(), DescriptorArray::SetEnumCache(), JSObject::SetFastDoubleElementsCapacityAndLength(), JSObject::SetFastElement(), JSObject::SetFastElementsCapacityAndLength(), RegExpImpl::SetLastMatchInfo(), JSObject::ShouldConvertToFastElements(), NeanderObject::size(), TEST(), JSRegExp::TypeTag(), MarkCompactMarkingVisitor::ObjectStatsTracker< MarkCompactMarkingVisitor::kVisitMap >::Visit(), MarkCompactMarkingVisitor::ObjectStatsTracker< MarkCompactMarkingVisitor::kVisitSharedFunctionInfo >::Visit(), and MarkCompactMarkingVisitor::ObjectStatsTracker< MarkCompactMarkingVisitor::kVisitFixedArray >::Visit().
|
inline |
Definition at line 1227 of file objects-inl.h.
References FixedArray::GetFirstElementAddress(), HeapObject::GetHeap(), and FixedArrayBase::length().
Referenced by JSArray::SetContent().
|
inline |
Definition at line 5307 of file objects-inl.h.
References Heap::CopyFixedArray(), HeapObject::GetHeap(), and FixedArrayBase::length().
MaybeObject * CopySize | ( | int | new_length | ) |
Definition at line 5989 of file objects.cc.
References Heap::AllocateFixedArray(), FixedArray::cast(), HeapObject::GetHeap(), HeapObject::GetWriteBarrierMode(), HeapObject::map(), FixedArray::set(), and HeapObject::set_map_no_write_barrier().
Referenced by JSObject::AddFastPropertyUsingMap().
void CopyTo | ( | int | pos, |
FixedArray * | dest, | ||
int | dest_pos, | ||
int | len | ||
) |
Definition at line 6012 of file objects.cc.
References HeapObject::GetWriteBarrierMode(), and FixedArray::set().
|
inline |
Definition at line 1934 of file objects-inl.h.
References FixedArrayBase::kHeaderSize, and HeapObject::RawField().
Referenced by Heap::AllocateFixedArray(), Map::ZapPrototypeTransitions(), and Map::ZapTransitions().
|
inline |
Definition at line 1737 of file objects-inl.h.
References ASSERT, FixedArrayBase::kHeaderSize, v8::internal::kPointerSize, FixedArrayBase::length(), and READ_FIELD.
Referenced by ElementsAccessorBase< FastPackedSmiElementsAccessor, ElementsKindTraits< FAST_SMI_ELEMENTS > >::AddElementsToFixedArray(), FixedArray::AddKeysFromJSArray(), Context::AddOptimizedFunction(), v8::internal::BUILTIN(), Heap::ClearJSFunctionResultCaches(), Heap::ClearNormalizedMapCaches(), Array::CloneElementAt(), NonStrictArgumentsElementsAccessor::CopyElementsImpl(), DescriptorArray::CopyEnumCacheFrom(), StringDictionary::CopyEnumKeysTo(), Heap::CopyFixedArrayWithMap(), v8::internal::CopyObjectToObjectElements(), CountNativeContexts(), Runtime::CreateArrayLiteralBoilerplate(), JSRegExp::DataAt(), NonStrictArgumentsElementsAccessor::Delete(), DictionaryElementsAccessor::DeleteCommon(), RegExpResultsCache::Enter(), Dictionary< Shape, Key >::GenerateNewEnumerationIndices(), NeanderObject::get(), NonStrictArgumentsElementsAccessor::GetCapacityImpl(), RegExpImpl::GetCapture(), JSObject::GetElementsTransitionMap(), DescriptorArray::GetEnumCache(), DescriptorArray::GetEnumIndicesCache(), NonStrictArgumentsElementsAccessor::GetImpl(), CodeCache::GetIndex(), RegExpImpl::GetLastCaptureCount(), JSObject::GetLocalElementKeys(), Map::GetPrototypeTransition(), v8::internal::GetScriptColumnNumber(), v8::internal::GetScriptLineNumber(), SharedFunctionInfo::GetThisPropertyAssignmentArgument(), SharedFunctionInfo::GetThisPropertyAssignmentConstant(), SharedFunctionInfo::GetThisPropertyAssignmentName(), JSObject::HasDictionaryArgumentsElements(), NonStrictArgumentsElementsAccessor::HasElementImpl(), DescriptorArray::HasEnumIndicesCache(), JSObject::HasFastArgumentsElements(), CodeCacheHashTableKey::HashForObject(), StringSharedKey::HashForObject(), RegExpKey::HashForObject(), SymbolsKey::HashForObject(), JSObject::HasLocalElement(), JSObject::HasRealElementProperty(), v8::internal::HeapSortPairs(), IncrementalMarking::Hurry(), SharedFunctionInfo::InstallFromOptimizedCodeMap(), RegExpImpl::IrregexpByteCode(), RegExpImpl::IrregexpMaxRegisterCount(), RegExpImpl::IrregexpNativeCode(), RegExpImpl::IrregexpNumberOfCaptures(), RegExpImpl::IrregexpNumberOfRegisters(), CodeCacheHashTableKey::IsMatch(), StringSharedKey::IsMatch(), RegExpKey::IsMatch(), SymbolsKey::IsMatch(), SharedFunctionInfo::IsThisPropertyAssignmentArgument(), RegExpResultsCache::Lookup(), TypeSwitch::match(), JSFunction::NativeContextFromLiterals(), Dictionary< SeededNumberDictionaryShape, uint32_t >::NextEnumerationIndex(), JSObject::NormalizeElements(), Map::NumberOfProtoTransitions(), JSObject::PrepareElementsForSort(), JavaScriptFrame::Print(), StringStream::PrintFixedArray(), Heap::ProcessWeakReferences(), Map::PutPrototypeTransition(), JSObject::ReferencesObject(), CodeCache::RemoveByIndex(), v8::internal::RUNTIME_FUNCTION(), SharedFunctionInfo::SearchOptimizedCodeMap(), JSFunction::set_initial_map_and_cache_transitions(), JSObject::SetDictionaryElement(), JSObject::SetFastElement(), JSObject::ShouldConvertToFastElements(), FixedArray::SortPairs(), OptimizedFrame::Summarize(), FixedArray::SwapPairs(), FixedArray::UnionOfKeys(), and Deoptimizer::VisitAllOptimizedFunctions().
|
inline |
Definition at line 1222 of file objects-inl.h.
References FIELD_ADDR.
Referenced by FixedArray::ContainsOnlySmisOrHoles(), and JSObject::EnsureCanContainElements().
|
inline |
Definition at line 1743 of file objects-inl.h.
References HeapObject::GetHeap().
|
inlinestaticprotected |
Definition at line 1850 of file objects-inl.h.
References HeapObject::address(), ASSERT, HeapObject::GetHeap(), HEAP, Heap::InNewSpace(), FixedArrayBase::kHeaderSize, v8::internal::kPointerSize, FixedArrayBase::length(), HeapObject::map(), Heap::RecordWrite(), and WRITE_FIELD.
Referenced by DescriptorArray::Set().
|
inlinestaticprotected |
Definition at line 1864 of file objects-inl.h.
References ASSERT, HEAP, FixedArrayBase::kHeaderSize, v8::internal::kPointerSize, FixedArrayBase::length(), HeapObject::map(), and WRITE_FIELD.
Referenced by CompilationCacheTable::Remove().
|
inlinestatic |
Definition at line 2356 of file objects.h.
Referenced by JSFunctionResultCache::Clear(), v8::internal::CopyObjectToObjectElements(), TransitionArray::GetKeySlot(), DescriptorArray::GetKeySlot(), DescriptorArray::GetValueSlot(), and StaticMarkingVisitor< StaticVisitor >::VisitNativeContext().
|
inline |
Definition at line 1757 of file objects-inl.h.
References ASSERT, HeapObject::GetHeap(), HEAP, FixedArrayBase::kHeaderSize, v8::internal::kPointerSize, FixedArrayBase::length(), HeapObject::map(), WRITE_BARRIER, and WRITE_FIELD.
Referenced by ObjectHashSet::Add(), ElementsAccessorBase< FastPackedSmiElementsAccessor, ElementsKindTraits< FAST_SMI_ELEMENTS > >::AddElementsToFixedArray(), Context::AddOptimizedFunction(), TransitionArray::Allocate(), DescriptorArray::Allocate(), Heap::AllocateCatchContext(), CodeCacheHashTableKey::AsObject(), PolymorphicCodeCacheHashTableKey::AsObject(), StringSharedKey::AsObject(), v8::internal::BUILTIN(), RegExpResultsCache::Clear(), Context::ClearOptimizedFunctions(), StringDictionary::CopyEnumKeysTo(), Heap::CopyFixedArrayWithMap(), FixedArray::CopySize(), FixedArray::CopyTo(), Dictionary< Shape, Key >::CopyValuesTo(), Heap::CreateApiObjects(), RegExpResultsCache::Enter(), StringDictionary::FindEntry(), Dictionary< Shape, Key >::GenerateNewEnumerationIndices(), JSObject::GetLocalElementKeys(), JSObject::GetLocalPropertyNames(), TransitionArray::NewWith(), JSObject::NormalizeElements(), JSObject::PrepareElementsForSort(), MapCache::Put(), ObjectHashTable::Put(), CompilationCacheTable::Put(), CodeCacheHashTable::Put(), PolymorphicCodeCacheHashTable::Put(), CompilationCacheTable::PutEval(), Map::PutPrototypeTransition(), CompilationCacheTable::PutRegExp(), HashTable< Shape, Key >::Rehash(), Context::RemoveOptimizedFunction(), v8::internal::RUNTIME_FUNCTION(), DescriptorArray::Set(), Context::set_closure(), Context::set_extension(), JSFunctionResultCache::set_finger_index(), Context::set_global_object(), JSFunction::set_initial_map_and_cache_transitions(), Context::set_module(), Context::set_previous(), SeededNumberDictionary::set_requires_slow_elements(), JSFunctionResultCache::set_size(), TypeFeedbackCells::SetAstId(), RegExpImpl::SetCapture(), TypeFeedbackCells::SetCell(), JSRegExp::SetDataAt(), JSObject::SetDictionaryElement(), Dictionary< Shape, Key >::SetEntry(), JSObject::SetFastDoubleElementsCapacityAndLength(), JSObject::SetFastElement(), JSObject::SetFastElementsCapacityAndLength(), RegExpImpl::SetIrregexpMaxRegisterCount(), TransitionArray::SetKey(), RegExpImpl::SetLastCaptureCount(), RegExpImpl::SetLastInput(), RegExpImpl::SetLastSubject(), ElementsAccessorBase< ElementsAccessorSubclass, ElementsTraitsParam >::SetLengthImpl(), DescriptorArray::SetSortedKey(), TransitionArray::SetTarget(), FixedArray::SwapPairs(), StringDictionary::TransformPropertiesToFastFor(), and SeededNumberDictionary::UpdateMaxNumberKey().
|
inline |
Definition at line 1748 of file objects-inl.h.
References ASSERT, HEAP, FixedArrayBase::kHeaderSize, v8::internal::kPointerSize, FixedArrayBase::length(), HeapObject::map(), and WRITE_FIELD.
|
inline |
Definition at line 1839 of file objects-inl.h.
References ASSERT, CONDITIONAL_WRITE_BARRIER, HeapObject::GetHeap(), HEAP, FixedArrayBase::kHeaderSize, v8::internal::kPointerSize, FixedArrayBase::length(), HeapObject::map(), and WRITE_FIELD.
|
inline |
Definition at line 1888 of file objects-inl.h.
References HeapObject::GetHeap().
Referenced by CodeCache::RemoveByIndex().
|
inline |
Definition at line 1893 of file objects-inl.h.
References ASSERT, Heap::InNewSpace(), FixedArrayBase::kHeaderSize, v8::internal::kPointerSize, FixedArrayBase::length(), and WRITE_FIELD.
|
inline |
Definition at line 1927 of file objects-inl.h.
References ASSERT, Heap::InNewSpace(), FixedArrayBase::kHeaderSize, v8::internal::kPointerSize, FixedArrayBase::length(), and WRITE_FIELD.
|
inline |
Definition at line 1900 of file objects-inl.h.
References ASSERT, HeapObject::GetHeap(), HEAP, FixedArrayBase::kHeaderSize, v8::internal::kPointerSize, FixedArrayBase::length(), HeapObject::map(), and WRITE_FIELD.
Referenced by v8::internal::BUILTIN(), NonStrictArgumentsElementsAccessor::Delete(), JSObject::PrepareElementsForSort(), and ObjectHashSet::Remove().
|
inline |
Definition at line 1910 of file objects-inl.h.
References ASSERT, FixedArrayBase::kHeaderSize, v8::internal::kPointerSize, and WRITE_FIELD.
Referenced by Heap::ProcessWeakReferences(), JSRegExp::SetDataAtUnchecked(), and Map::SetNumberOfProtoTransitions().
|
inline |
Definition at line 1917 of file objects-inl.h.
References CONDITIONAL_WRITE_BARRIER, FixedArrayBase::kHeaderSize, v8::internal::kPointerSize, and WRITE_FIELD.
|
inline |
Definition at line 1874 of file objects-inl.h.
References ASSERT, HeapObject::GetHeap(), HEAP, and HeapObject::map().
Referenced by JSObject::PrepareElementsForSort().
|
inline |
Definition at line 1880 of file objects-inl.h.
References ASSERT, Heap::InNewSpace(), FixedArrayBase::kHeaderSize, v8::internal::kPointerSize, FixedArrayBase::length(), and WRITE_FIELD.
|
inlinestatic |
Definition at line 2353 of file objects.h.
References Object::kHeaderSize, and v8::internal::kPointerSize.
Referenced by Heap::AllocateRawFixedArray(), Map::CanHaveMoreTransitions(), Heap::CopyFixedArrayWithMap(), Heap::ProcessWeakReferences(), SeqAsciiString::SeqAsciiStringSize(), SeqTwoByteString::SeqTwoByteStringSize(), and TEST().
void SortPairs | ( | FixedArray * | numbers, |
uint32_t | len | ||
) |
Definition at line 10708 of file objects.cc.
References ASSERT, FixedArray::get(), v8::internal::HeapSortPairs(), FixedArrayBase::length(), v8::internal::NumberToUint32(), and FixedArray::SwapPairs().
Referenced by Dictionary< Shape, Key >::GenerateNewEnumerationIndices(), and JSObject::GetLocalElementKeys().
void SwapPairs | ( | FixedArray * | numbers, |
int | i, | ||
int | j | ||
) |
Definition at line 10634 of file objects.cc.
References Smi::cast(), FixedArray::get(), and FixedArray::set().
Referenced by v8::internal::HeapSortPairs(), and FixedArray::SortPairs().
MaybeObject * UnionOfKeys | ( | FixedArray * | other | ) |
Definition at line 5971 of file objects.cc.
References ElementsAccessor::AddElementsToFixedArray(), ASSERT, FLAG_enable_slow_asserts, ElementsAccessor::ForArray(), FixedArray::get(), FixedArrayBase::length(), and v8::internal::NULL.
|
static |
Definition at line 2366 of file objects.h.
Referenced by Heap::AllocateRawFixedArray(), v8::internal::BUILTIN(), v8::internal::RUNTIME_FUNCTION(), and TEST().
|
static |