V8 Project
|
#include <objects.h>
Public Types | |
enum | DeleteMode { NORMAL_DELETION , STRICT_DELETION , FORCE_DELETION } |
enum | KeyCollectionType { OWN_ONLY , INCLUDE_PROTOS } |
![]() | |
enum | StoreFromKeyed { MAY_BE_STORE_FROM_KEYED , CERTAINLY_NOT_STORE_FROM_KEYED } |
enum | StorePropertyMode { NORMAL_PROPERTY , SUPER_PROPERTY } |
Private Member Functions | |
DISALLOW_IMPLICIT_CONSTRUCTORS (JSReceiver) | |
Additional Inherited Members | |
![]() | |
static const int | kMapOffset = Object::kHeaderSize |
static const int | kHeaderSize = kMapOffset + kPointerSize |
![]() | |
static const int | kHeaderSize = 0 |
![]() | |
void | IteratePointers (ObjectVisitor *v, int start, int end) |
void | IteratePointer (ObjectVisitor *v, int offset) |
void | IterateNextCodeLink (ObjectVisitor *v, int offset) |
String * v8::internal::JSReceiver::class_name | ( | ) |
Definition at line 1676 of file objects.cc.
Referenced by v8::internal::Logger::ApiIndexedPropertyAccess(), and v8::internal::Logger::ApiNamedPropertyAccess().
String * v8::internal::JSReceiver::constructor_name | ( | ) |
Definition at line 1705 of file objects.cc.
Referenced by v8::internal::JSObject::JSObjectShortPrint().
|
static |
Definition at line 5002 of file objects.cc.
References v8::internal::JSObject::DeleteElement(), v8::internal::JSProxy::DeleteElementWithHandler(), and mode().
Referenced by v8::Object::Delete(), and v8::internal::Runtime::DeleteObjectProperty().
|
static |
Definition at line 5013 of file objects.cc.
References v8::internal::JSObject::DeleteProperty(), v8::internal::JSProxy::DeletePropertyWithHandler(), mode(), and name.
Referenced by v8::internal::Runtime::DeleteObjectProperty(), and v8::internal::RUNTIME_FUNCTION().
|
private |
|
inline |
Definition at line 6641 of file objects-inl.h.
References v8::internal::HeapObject::map().
|
inlinestatic |
Definition at line 6681 of file objects-inl.h.
References v8::internal::JSProxy::GetElementAttributeWithHandler(), and v8::internal::JSObject::GetElementAttributeWithReceiver().
Referenced by GetPropertyAttributes().
|
inline |
Definition at line 6711 of file objects-inl.h.
|
static |
Definition at line 5797 of file objects.cc.
References v8::ACCESS_KEYS, v8::internal::FixedArray::AddKeysFromArrayLike(), arraysize, ASSIGN_RETURN_ON_EXCEPTION, v8::internal::Handle< T >::cast(), v8::internal::ContainsOnlyValidKeys(), DCHECK, v8::internal::Isolate::factory(), v8::internal::PrototypeIterator::GetCurrent(), v8::internal::GetEnumPropertyKeys(), v8::internal::JSObject::GetKeysForIndexedInterceptor(), v8::internal::JSObject::GetKeysForNamedInterceptor(), v8::internal::PrototypeIterator::IsAtEnd(), v8::internal::Isolate::MayNamedAccess(), v8::internal::Isolate::ReportFailedAccessCheck(), RETURN_EXCEPTION_IF_SCHEDULED_EXCEPTION, v8::internal::PrototypeIterator::START_AT_RECEIVER, v8::internal::FixedArray::UnionOfKeys(), and USE().
Referenced by v8::Object::GetOwnPropertyNames(), v8::Object::GetPropertyNames(), v8::internal::MaterializeClosure(), v8::internal::MaterializeLocalContext(), and v8::internal::RUNTIME_FUNCTION().
|
inlinestatic |
Definition at line 6704 of file objects-inl.h.
References v8::internal::JSObject::GetOrCreateIdentityHash(), and v8::internal::JSProxy::GetOrCreateIdentityHash().
Referenced by v8::Object::GetIdentityHash(), and v8::internal::Object::GetOrCreateHash().
|
inlinestatic |
Definition at line 6743 of file objects-inl.h.
References v8::internal::JSProxy::GetElementAttributeWithHandler(), and v8::internal::JSObject::GetElementAttributeWithReceiver().
Referenced by v8::internal::GetOldValue(), v8::internal::GetOwnProperty(), and v8::internal::JSObject::SetElement().
|
static |
Definition at line 3983 of file objects.cc.
References v8::internal::Object::LookupIterator, and name.
Referenced by HasOwnProperty(), v8::internal::Context::Lookup(), v8::internal::RUNTIME_FUNCTION(), and v8::internal::JSObjectWalkVisitor< ContextObject >::StructureWalk().
|
inlinestatic |
Definition at line 6670 of file objects-inl.h.
References GetElementAttribute(), and v8::internal::Object::LookupIterator.
Referenced by v8::internal::DeclareGlobals(), v8::internal::GetOwnProperty(), v8::Object::GetPropertyAttributes(), HasProperty(), v8::internal::Context::Lookup(), v8::internal::RUNTIME_FUNCTION(), and v8::internal::UnscopableLookup().
|
static |
Definition at line 3995 of file objects.cc.
References ABSENT, v8::ACCESS_HAS, v8::internal::ACCESSOR, v8::internal::JSObject::GetPropertyAttributesWithFailedAccessCheck(), v8::internal::JSProxy::GetPropertyAttributesWithHandler(), v8::internal::JSObject::GetPropertyAttributesWithInterceptor(), v8::Maybe< T >::has_value, v8::maybe(), UNREACHABLE, and v8::Maybe< T >::value.
|
inlinestatic |
Definition at line 6718 of file objects-inl.h.
References ABSENT, v8::internal::Handle< T >::cast(), v8::internal::JSObject::GetElementAttributeWithReceiver(), v8::Maybe< T >::has_value, v8::internal::JSProxy::HasElementWithHandler(), v8::maybe(), and v8::Maybe< T >::value.
Referenced by v8::Object::Has(), v8::internal::Runtime::HasObjectProperty(), v8::internal::IterateElements(), and v8::internal::RUNTIME_FUNCTION().
|
inlinestatic |
Definition at line 6730 of file objects-inl.h.
References ABSENT, v8::internal::Handle< T >::cast(), v8::internal::JSObject::GetElementAttributeWithReceiver(), v8::Maybe< T >::has_value, v8::internal::JSProxy::HasElementWithHandler(), v8::maybe(), and v8::Maybe< T >::value.
Referenced by v8::internal::RUNTIME_FUNCTION().
|
inlinestatic |
Definition at line 6658 of file objects-inl.h.
References ABSENT, v8::internal::Handle< T >::cast(), GetOwnPropertyAttributes(), v8::Maybe< T >::has_value, v8::internal::JSProxy::HasPropertyWithHandler(), v8::maybe(), name, and v8::Maybe< T >::value.
Referenced by v8::Object::HasOwnProperty(), v8::internal::HasOwnPropertyImplementation(), v8::internal::MaterializeArgumentsObject(), v8::internal::anonymous_namespace{i18n.cc}::SetResolvedNumberSettings(), v8::internal::BreakIterator::UnpackBreakIterator(), v8::internal::Collator::UnpackCollator(), v8::internal::DateFormat::UnpackDateFormat(), and v8::internal::NumberFormat::UnpackNumberFormat().
|
inlinestatic |
Definition at line 6646 of file objects-inl.h.
References ABSENT, v8::internal::Handle< T >::cast(), GetPropertyAttributes(), v8::Maybe< T >::has_value, v8::internal::JSProxy::HasPropertyWithHandler(), v8::maybe(), name, and v8::Maybe< T >::value.
Referenced by v8::internal::Runtime::HasObjectProperty(), v8::internal::LoadLookupSlotHelper(), v8::internal::RUNTIME_FUNCTION(), v8::internal::SetClosureVariableValue(), v8::internal::SetLocalVariableValue(), v8::TryCatch::StackTrace(), and v8::internal::UnscopableLookup().
bool v8::internal::JSReceiver::IsSimpleEnum | ( | ) |
Definition at line 5610 of file objects.cc.
References DCHECK, v8::internal::Map::EnumLength(), v8::internal::HeapObject::GetIsolate(), v8::internal::JSObject::HasIndexedInterceptor(), v8::internal::JSObject::HasNamedInterceptor(), v8::internal::PrototypeIterator::IsAtEnd(), v8::internal::kInvalidEnumCacheSentinel, v8::internal::HeapObject::map(), v8::internal::JSObject::NumberOfEnumElements(), and v8::internal::PrototypeIterator::START_AT_RECEIVER.
|
static |
Definition at line 12313 of file objects.cc.
References v8::internal::JSObject::SetElement(), and v8::internal::JSProxy::SetElementWithHandler().