v8
3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
|
#include <objects.h>
Public Types | |
typedef FixedBodyDescriptor < kValueOffset, kSize, kSize > | BodyDescriptor |
Public Types inherited from Cell | |
typedef FixedBodyDescriptor < kValueOffset, kValueOffset+kPointerSize, kSize > | BodyDescriptor |
Public Types inherited from Object | |
enum | ValueType { OPTIMAL_REPRESENTATION, FORCE_TAGGED } |
Static Public Member Functions | |
static void | SetValueInferType (Handle< PropertyCell > cell, Handle< Object > value) |
static Handle< HeapType > | UpdatedType (Handle< PropertyCell > cell, Handle< Object > value) |
static PropertyCell * | cast (Object *obj) |
Static Public Member Functions inherited from Cell | |
static Cell * | cast (Object *obj) |
static Cell * | FromValueAddress (Address value) |
Static Public Member Functions inherited from HeapObject | |
static HeapObject * | FromAddress (Address address) |
static Object ** | RawField (HeapObject *obj, int offset) |
static void | UpdateMapCodeCache (Handle< HeapObject > object, Handle< Name > name, Handle< Code > code) |
static HeapObject * | cast (Object *obj) |
Static Public Member Functions inherited from Object | |
static MUST_USE_RESULT Handle < Object > | ToSmi (Isolate *isolate, Handle< Object > object) |
static Handle< Object > | GetPropertyWithReceiver (Handle< Object > object, Handle< Object > receiver, Handle< Name > name, PropertyAttributes *attributes) |
static Handle< Object > | GetProperty (Handle< Object > object, Handle< Name > key) |
static Handle< Object > | GetProperty (Handle< Object > object, Handle< Object > receiver, LookupResult *result, Handle< Name > key, PropertyAttributes *attributes) |
static MUST_USE_RESULT MaybeObject * | GetPropertyOrFail (Handle< Object > object, Handle< Object > receiver, LookupResult *result, Handle< Name > key, PropertyAttributes *attributes) |
static Handle< Object > | GetElement (Isolate *isolate, Handle< Object > object, uint32_t index) |
static Handle< Object > | GetElementNoExceptionThrown (Isolate *isolate, Handle< Object > object, uint32_t index) |
static Handle< Object > | GetElementWithReceiver (Isolate *isolate, Handle< Object > object, Handle< Object > receiver, uint32_t index) |
static Handle< Object > | GetOrCreateHash (Handle< Object > object, Isolate *isolate) |
static Object * | cast (Object *value) |
Static Public Attributes | |
static const int | kTypeOffset = kValueOffset + kPointerSize |
static const int | kDependentCodeOffset = kTypeOffset + kPointerSize |
static const int | kSize = kDependentCodeOffset + kPointerSize |
static const int | kPointerFieldsBeginOffset = kValueOffset |
static const int | kPointerFieldsEndOffset = kDependentCodeOffset |
Static Public Attributes inherited from Cell | |
static const int | kValueOffset = HeapObject::kHeaderSize |
static const int | kSize = kValueOffset + 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 |
Additional Inherited Members | |
Protected Member Functions inherited from HeapObject | |
void | IteratePointers (ObjectVisitor *v, int start, int end) |
void | IteratePointer (ObjectVisitor *v, int offset) |
void | IterateNextCodeLink (ObjectVisitor *v, int offset) |
typedef FixedBodyDescriptor<kValueOffset, kSize, kSize> BodyDescriptor |
void AddDependentCompilationInfo | ( | CompilationInfo * | info | ) |
Definition at line 16426 of file objects.cc.
References CompilationInfo::dependencies(), v8::internal::dependent_code, DependentCode::Insert(), DependentCode::kPropertyCellChangedGroup, CompilationInfo::object_wrapper(), and CompilationInfo::zone().
|
inlinestatic |
Referenced by JSGlobalObject::EnsurePropertyCell(), BASE_EMBEDDED< Visitor >::GetLazyValue(), JSObject::GetNormalizedProperty(), GlobalObject::GetPropertyCell(), HeapObject::HeapObjectShortPrint(), JSObject::LocalLookupRealNamedProperty(), v8::internal::RUNTIME_FUNCTION(), JSObject::SetNormalizedProperty(), and Dictionary< Shape, Key >::SlowReverseLookup().
void set_type | ( | HeapType * | value, |
WriteBarrierMode | mode = UPDATE_WRITE_BARRIER |
||
) |
Definition at line 16386 of file objects.cc.
References ASSERT.
|
static |
Definition at line 16416 of file objects.cc.
References v8::internal::Is(), and PropertyCell::UpdatedType().
Referenced by Factory::NewPropertyCell(), and JSObject::SetNormalizedProperty().
HeapType * type | ( | ) |
Definition at line 16381 of file objects.cc.
Referenced by IC::TryRemoveInvalidPrototypeDependentStub().
Definition at line 16392 of file objects.cc.
References TypeImpl< class >::Constant(), DependentCode::kPropertyCellChangedGroup, v8::None, and v8::Undefined().
Referenced by StoreIC::CompileHandler(), and PropertyCell::SetValueInferType().
|
static |
|
static |
|
static |
|
static |
Definition at line 9599 of file objects.h.
Referenced by PropertyCellSpace::RoundSizeDownToObjectAlignment().
|
static |