v8  3.11.10(node0.8.26)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Map Class Reference

#include <objects.h>

Inheritance diagram for Map:
Collaboration diagram for Map:

Public Types

typedef void(* TraverseCallback )(Map *map, void *data)
 
typedef FixedBodyDescriptor
< kPointerFieldsBeginOffset,
kPointerFieldsEndOffset, kSize
BodyDescriptor
 

Public Member Functions

int instance_size ()
 
void set_instance_size (int value)
 
int inobject_properties ()
 
void set_inobject_properties (int value)
 
int pre_allocated_property_fields ()
 
void set_pre_allocated_property_fields (int value)
 
InstanceType instance_type ()
 
void set_instance_type (InstanceType value)
 
int unused_property_fields ()
 
void set_unused_property_fields (int value)
 
byte bit_field ()
 
void set_bit_field (byte value)
 
byte bit_field2 ()
 
void set_bit_field2 (byte value)
 
int bit_field3 ()
 
void set_bit_field3 (int value)
 
void set_non_instance_prototype (bool value)
 
bool has_non_instance_prototype ()
 
void set_function_with_prototype (bool value)
 
bool function_with_prototype ()
 
void set_is_hidden_prototype ()
 
bool is_hidden_prototype ()
 
void set_has_named_interceptor ()
 
bool has_named_interceptor ()
 
void set_has_indexed_interceptor ()
 
bool has_indexed_interceptor ()
 
void set_is_undetectable ()
 
bool is_undetectable ()
 
void set_has_instance_call_handler ()
 
bool has_instance_call_handler ()
 
void set_is_extensible (bool value)
 
bool is_extensible ()
 
void set_elements_kind (ElementsKind elements_kind)
 
ElementsKind elements_kind ()
 
bool has_fast_smi_elements ()
 
bool has_fast_object_elements ()
 
bool has_fast_smi_or_object_elements ()
 
bool has_fast_double_elements ()
 
bool has_non_strict_arguments_elements ()
 
bool has_external_array_elements ()
 
bool has_dictionary_elements ()
 
bool has_slow_elements_kind ()
 
Mapelements_transition_map ()
 
void set_elements_transition_map (Map *transitioned_map)
 
void set_attached_to_shared_function_info (bool value)
 
bool attached_to_shared_function_info ()
 
void set_is_shared (bool value)
 
bool is_shared ()
 
void set_used_for_prototype (bool value)
 
bool used_for_prototype ()
 
void set_is_access_check_needed (bool access_check_needed)
 
bool is_access_check_needed ()
 
JSFunctionunchecked_constructor ()
 
void init_instance_descriptors ()
 
void clear_instance_descriptors ()
 
ObjectGetBackPointer ()
 
void SetBackPointer (Object *value, WriteBarrierMode mode=UPDATE_WRITE_BARRIER)
 
void init_prototype_transitions (Object *undefined)
 
HeapObjectunchecked_prototype_transitions ()
 
int NumberOfProtoTransitions ()
 
void SetNumberOfProtoTransitions (int value)
 
void LookupInDescriptors (JSObject *holder, String *name, LookupResult *result)
 
MUST_USE_RESULT MaybeObject * CopyDropDescriptors ()
 
MUST_USE_RESULT MaybeObject * CopyNormalized (PropertyNormalizationMode mode, NormalizedMapSharingMode sharing)
 
MUST_USE_RESULT MaybeObject * CopyDropTransitions (DescriptorArray::SharedMode shared_mode)
 
int PropertyIndexFor (String *name)
 
int NextFreePropertyIndex ()
 
int NumberOfDescribedProperties (PropertyAttributes filter=NONE)
 
AccessorDescriptorFindAccessor (String *name)
 
void ClearCodeCache (Heap *heap)
 
MUST_USE_RESULT MaybeObject * UpdateCodeCache (String *name, Code *code)
 
ObjectFindInCodeCache (String *name, Code::Flags flags)
 
int IndexInCodeCache (Object *name, Code *code)
 
void RemoveFromCodeCache (String *name, Code *code, int index)
 
void ClearNonLiveTransitions (Heap *heap)
 
int Hash ()
 
bool EquivalentToForNormalization (Map *other, PropertyNormalizationMode mode)
 
MapLookupElementsTransitionMap (ElementsKind elements_kind)
 
MUST_USE_RESULT MaybeObject * CreateNextElementsTransition (ElementsKind elements_kind)
 
Handle< MapFindTransitionedMap (MapHandleList *candidates)
 
MapFindTransitionedMap (MapList *candidates)
 
int visitor_id ()
 
void set_visitor_id (int visitor_id)
 
void TraverseTransitionTree (TraverseCallback callback, void *data)
 
MapGetPrototypeTransition (Object *prototype)
 
MUST_USE_RESULT MaybeObject * PutPrototypeTransition (Object *prototype, Map *map)
 
 STATIC_CHECK (kInstanceTypeOffset==Internals::kMapInstanceTypeOffset)
 
- Public Member Functions inherited from HeapObject
Mapmap ()
 
void set_map (Map *value)
 
void set_map_no_write_barrier (Map *value)
 
MapWord map_word ()
 
void set_map_word (MapWord map_word)
 
HeapGetHeap ()
 
IsolateGetIsolate ()
 
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 ()
 
ObjectToBoolean ()
 
MUST_USE_RESULT MaybeObject * ToObject (Context *global_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)
 
ObjectGetElementNoExceptionThrown (uint32_t index)
 
MUST_USE_RESULT MaybeObject * GetElementWithReceiver (Object *receiver, uint32_t index)
 
ObjectGetPrototype ()
 
MUST_USE_RESULT MaybeObject * GetHash (CreationFlag flag)
 
bool SameValue (Object *other)
 
bool ToArrayIndex (uint32_t *index)
 
bool IsStringObjectWithCharacterAt (uint32_t index)
 
void ShortPrint ()
 
void ShortPrint (FILE *out)
 
void ShortPrint (StringStream *accumulator)
 

Static Public Member Functions

static bool IsValidElementsTransition (ElementsKind from_kind, ElementsKind to_kind)
 
static Mapcast (Object *obj)
 
static void UpdateCodeCache (Handle< Map > map, Handle< String > name, Handle< Code > code)
 
- Static Public Member Functions inherited from HeapObject
static HeapObjectFromAddress (Address address)
 
static Object ** RawField (HeapObject *obj, int offset)
 
static HeapObjectcast (Object *obj)
 
- Static Public Member Functions inherited from Object
static Handle< ObjectGetProperty (Handle< Object > object, Handle< Object > receiver, LookupResult *result, Handle< String > key, PropertyAttributes *attributes)
 
static Handle< ObjectGetElement (Handle< Object > object, uint32_t index)
 
static Objectcast (Object *value)
 

Static Public Attributes

static const int kProtoTransitionHeaderSize = 2
 
static const int kProtoTransitionNumberOfEntriesOffset = 0
 
static const int kProtoTransitionBackPointerOffset = 1
 
static const int kProtoTransitionElementsPerEntry = 2
 
static const int kProtoTransitionPrototypeOffset = 0
 
static const int kProtoTransitionMapOffset = 1
 
static const int kMaxCachedPrototypeTransitions = 256
 
static const int kMaxPreAllocatedPropertyFields = 255
 
static const int kInstanceSizesOffset = HeapObject::kHeaderSize
 
static const int kInstanceAttributesOffset = kInstanceSizesOffset + kIntSize
 
static const int kPrototypeOffset = kInstanceAttributesOffset + kIntSize
 
static const int kConstructorOffset = kPrototypeOffset + kPointerSize
 
static const int kInstanceDescriptorsOrBitField3Offset
 
static const int kCodeCacheOffset
 
static const int kPrototypeTransitionsOrBackPointerOffset
 
static const int kPadStart
 
static const int kSize = MAP_POINTER_ALIGN(kPadStart)
 
static const int kPointerFieldsBeginOffset = Map::kPrototypeOffset
 
static const int kPointerFieldsEndOffset
 
static const int kInstanceSizeOffset = kInstanceSizesOffset + 0
 
static const int kInObjectPropertiesByte = 1
 
static const int kInObjectPropertiesOffset
 
static const int kPreAllocatedPropertyFieldsByte = 2
 
static const int kPreAllocatedPropertyFieldsOffset
 
static const int kVisitorIdByte = 3
 
static const int kVisitorIdOffset = kInstanceSizesOffset + kVisitorIdByte
 
static const int kInstanceTypeOffset = kInstanceAttributesOffset + 0
 
static const int kUnusedPropertyFieldsOffset = kInstanceAttributesOffset + 1
 
static const int kBitFieldOffset = kInstanceAttributesOffset + 2
 
static const int kBitField2Offset = kInstanceAttributesOffset + 3
 
static const int kUnused = 0
 
static const int kHasNonInstancePrototype = 1
 
static const int kIsHiddenPrototype = 2
 
static const int kHasNamedInterceptor = 3
 
static const int kHasIndexedInterceptor = 4
 
static const int kIsUndetectable = 5
 
static const int kHasInstanceCallHandler = 6
 
static const int kIsAccessCheckNeeded = 7
 
static const int kIsExtensible = 0
 
static const int kStringWrapperSafeForDefaultValueOf = 1
 
static const int kAttachedToSharedFunctionInfo = 2
 
static const int kElementsKindShift = 3
 
static const int kElementsKindBitCount = 5
 
static const int kElementsKindMask
 
static const int8_t kMaximumBitField2FastElementValue
 
static const int8_t kMaximumBitField2FastSmiElementValue
 
static const int8_t kMaximumBitField2FastHoleyElementValue
 
static const int8_t kMaximumBitField2FastHoleySmiElementValue
 
static const int kIsShared = 0
 
static const int kFunctionWithPrototype = 1
 
static const int kUsedForPrototype = 2
 
- 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)
 

Detailed Description

Definition at line 4569 of file objects.h.

Member Typedef Documentation

typedef void(* TraverseCallback)(Map *map, void *data)

Definition at line 4928 of file objects.h.

Member Function Documentation

bool attached_to_shared_function_info ( )
inline

Definition at line 2967 of file objects-inl.h.

byte bit_field ( )
inline

Definition at line 2884 of file objects-inl.h.

References READ_BYTE_FIELD.

Referenced by Map::EquivalentToForNormalization().

int bit_field3 ( )
inline
void ClearCodeCache ( Heap heap)
inline
Map * elements_transition_map ( )
inline
Object * FindInCodeCache ( String name,
Code::Flags  flags 
)

Definition at line 4961 of file objects.cc.

References CodeCache::cast(), HeapObject::GetHeap(), and CodeCache::Lookup().

Map* FindTransitionedMap ( MapList candidates)
bool function_with_prototype ( )
inline

Definition at line 2927 of file objects-inl.h.

Referenced by JSFunction::should_have_prototype().

Object * GetBackPointer ( )
inline

Definition at line 3492 of file objects-inl.h.

References FixedArray::cast(), FixedArray::get(), and READ_FIELD.

Referenced by Marker< BaseMarker >::MarkMapContents().

bool has_dictionary_elements ( )
inline

Definition at line 4716 of file objects.h.

References v8::internal::IsDictionaryElementsKind().

bool has_external_array_elements ( )
inline

Definition at line 4712 of file objects.h.

References v8::internal::IsExternalArrayElementsKind().

bool has_fast_double_elements ( )
inline

Definition at line 4704 of file objects.h.

References v8::internal::IsFastDoubleElementsKind().

bool has_fast_object_elements ( )
inline

Definition at line 4696 of file objects.h.

References v8::internal::IsFastObjectElementsKind().

Referenced by Heap::AllocateInitialMap().

bool has_fast_smi_elements ( )
inline

Definition at line 4691 of file objects.h.

References v8::internal::IsFastSmiElementsKind().

bool has_fast_smi_or_object_elements ( )
inline

Definition at line 4700 of file objects.h.

References v8::internal::IsFastSmiOrObjectElementsKind().

Referenced by JSObject::NormalizeElements().

bool has_indexed_interceptor ( )
inline

Definition at line 4647 of file objects.h.

Referenced by JSObject::HasIndexedInterceptor().

bool has_named_interceptor ( )
inline

Definition at line 4638 of file objects.h.

Referenced by JSObject::HasNamedInterceptor(), and v8::internal::RUNTIME_FUNCTION().

bool has_non_instance_prototype ( )
inline

Definition at line 2913 of file objects-inl.h.

Referenced by JSFunction::has_prototype().

bool has_non_strict_arguments_elements ( )
inline

Definition at line 4708 of file objects.h.

References v8::internal::NON_STRICT_ARGUMENTS_ELEMENTS.

bool has_slow_elements_kind ( )
inline
int Hash ( )

Definition at line 7386 of file objects.cc.

References Map::bit_field2().

Referenced by NormalizedMapCache::Get().

int IndexInCodeCache ( Object name,
Code code 
)

Definition at line 4971 of file objects.cc.

References CodeCache::cast(), and CodeCache::GetIndex().

void init_instance_descriptors ( )
inline

Definition at line 3419 of file objects-inl.h.

References Smi::FromInt(), and WRITE_FIELD.

Referenced by Heap::AllocateMap().

void init_prototype_transitions ( Object undefined)
inline

Definition at line 3554 of file objects-inl.h.

References ASSERT, and WRITE_FIELD.

Referenced by Heap::AllocateMap().

bool is_access_check_needed ( )
inline

Definition at line 2941 of file objects-inl.h.

Referenced by v8::internal::RUNTIME_FUNCTION().

bool is_extensible ( )
inline
bool is_hidden_prototype ( )
inline

Definition at line 4629 of file objects.h.

Referenced by v8::internal::RUNTIME_FUNCTION(), and JSReceiver::SetPrototype().

bool is_shared ( )
inline
bool is_undetectable ( )
inline

Definition at line 4661 of file objects.h.

Referenced by v8::internal::RUNTIME_FUNCTION().

bool IsValidElementsTransition ( ElementsKind  from_kind,
ElementsKind  to_kind 
)
static
Map * LookupElementsTransitionMap ( ElementsKind  elements_kind)
int NumberOfProtoTransitions ( )
inline
int pre_allocated_property_fields ( )
inline

Definition at line 2804 of file objects-inl.h.

References READ_BYTE_FIELD.

Referenced by Heap::AllocateJSObjectFromMap(), and JSObject::InitializeBody().

void RemoveFromCodeCache ( String name,
Code code,
int  index 
)

Definition at line 4980 of file objects.cc.

References ASSERT, CodeCache::cast(), and CodeCache::RemoveByIndex().

void set_attached_to_shared_function_info ( bool  value)
inline

Definition at line 2959 of file objects-inl.h.

void set_bit_field ( byte  value)
inline

Definition at line 2889 of file objects-inl.h.

References WRITE_BYTE_FIELD.

Referenced by Heap::AllocateMap(), Map::CopyDropDescriptors(), and Map::CopyNormalized().

void set_bit_field3 ( int  value)
inline
void set_elements_kind ( ElementsKind  elements_kind)
inline
void set_elements_transition_map ( Map transitioned_map)
inline

Definition at line 3507 of file objects-inl.h.

void set_function_with_prototype ( bool  value)
inline

Definition at line 2918 of file objects-inl.h.

Referenced by Heap::ReinitializeJSReceiver().

void set_has_indexed_interceptor ( )
inline

Definition at line 4643 of file objects.h.

void set_has_instance_call_handler ( )
inline

Definition at line 4666 of file objects.h.

void set_has_named_interceptor ( )
inline

Definition at line 4634 of file objects.h.

void set_inobject_properties ( int  value)
inline
void set_instance_size ( int  value)
inline
void set_instance_type ( InstanceType  value)
inline

Definition at line 2869 of file objects-inl.h.

References WRITE_BYTE_FIELD.

Referenced by Heap::AllocateMap().

void set_is_access_check_needed ( bool  access_check_needed)
inline

Definition at line 2932 of file objects-inl.h.

Referenced by v8::internal::RUNTIME_FUNCTION().

void set_is_extensible ( bool  value)
inline

Definition at line 2946 of file objects-inl.h.

Referenced by JSObject::PreventExtensions().

void set_is_hidden_prototype ( )
inline

Definition at line 4625 of file objects.h.

void set_is_shared ( bool  value)
inline

Definition at line 2972 of file objects-inl.h.

Referenced by Map::CopyDropDescriptors(), and Map::CopyNormalized().

void set_is_undetectable ( )
inline

Definition at line 4657 of file objects.h.

void set_non_instance_prototype ( bool  value)
inline

Definition at line 2904 of file objects-inl.h.

Referenced by JSFunction::SetPrototype().

void set_pre_allocated_property_fields ( int  value)
inline

Definition at line 2856 of file objects-inl.h.

References ASSERT, and WRITE_BYTE_FIELD.

Referenced by Heap::AllocateInitialMap(), Heap::AllocateMap(), and Map::CopyDropDescriptors().

void set_used_for_prototype ( bool  value)
inline

Definition at line 2985 of file objects-inl.h.

Referenced by JSObject::OptimizeAsPrototype().

void set_visitor_id ( int  visitor_id)
inline

Definition at line 2788 of file objects-inl.h.

References ASSERT, and WRITE_BYTE_FIELD.

Referenced by Heap::AllocateMap().

void SetNumberOfProtoTransitions ( int  value)
inline
JSFunction * unchecked_constructor ( )
inline

Definition at line 2999 of file objects-inl.h.

References READ_FIELD.

HeapObject * unchecked_prototype_transitions ( )
inline

Definition at line 3560 of file objects-inl.h.

References READ_FIELD.

void UpdateCodeCache ( Handle< Map map,
Handle< String name,
Handle< Code code 
)
static

Definition at line 4936 of file objects.cc.

References CALL_HEAP_FUNCTION_VOID.

Referenced by JSObject::UpdateMapCodeCache().

MaybeObject * UpdateCodeCache ( String name,
Code code 
)
bool used_for_prototype ( )
inline

Definition at line 2994 of file objects-inl.h.

Referenced by JSObject::OptimizeAsPrototype().

int visitor_id ( )
inline

Definition at line 2783 of file objects-inl.h.

References READ_BYTE_FIELD.

Referenced by VisitorDispatchTable< ScavengingCallback >::GetVisitor().

Field Documentation

const int kAttachedToSharedFunctionInfo = 2
static
const int kBitField2Offset = kInstanceAttributesOffset + 3
static

Definition at line 4995 of file objects.h.

const int kBitFieldOffset = kInstanceAttributesOffset + 2
static

Definition at line 4994 of file objects.h.

const int kCodeCacheOffset
static
Initial value:

Definition at line 4966 of file objects.h.

Referenced by Map::ClearCodeCache(), and NormalizedMapCache::Get().

const int kConstructorOffset = kPrototypeOffset + kPointerSize
static

Definition at line 4954 of file objects.h.

const int kElementsKindBitCount = 5
static

Definition at line 5016 of file objects.h.

const int kElementsKindMask
static
Initial value:

Definition at line 5019 of file objects.h.

const int kElementsKindShift = 3
static

Definition at line 5015 of file objects.h.

const int kFunctionWithPrototype = 1
static

Definition at line 5035 of file objects.h.

const int kHasIndexedInterceptor = 4
static

Definition at line 5004 of file objects.h.

const int kHasInstanceCallHandler = 6
static

Definition at line 5006 of file objects.h.

const int kHasNamedInterceptor = 3
static

Definition at line 5003 of file objects.h.

const int kHasNonInstancePrototype = 1
static

Definition at line 5001 of file objects.h.

const int kInObjectPropertiesByte = 1
static

Definition at line 4982 of file objects.h.

const int kInObjectPropertiesOffset
static
Initial value:

Definition at line 4983 of file objects.h.

const int kInstanceAttributesOffset = kInstanceSizesOffset + kIntSize
static

Definition at line 4952 of file objects.h.

const int kInstanceDescriptorsOrBitField3Offset
static
const int kInstanceSizeOffset = kInstanceSizesOffset + 0
static

Definition at line 4981 of file objects.h.

const int kInstanceSizesOffset = HeapObject::kHeaderSize
static

Definition at line 4951 of file objects.h.

const int kInstanceTypeOffset = kInstanceAttributesOffset + 0
static

Definition at line 4992 of file objects.h.

Referenced by MacroAssembler::IsObjectStringType().

const int kIsAccessCheckNeeded = 7
static

Definition at line 5007 of file objects.h.

const int kIsExtensible = 0
static

Definition at line 5010 of file objects.h.

Referenced by Heap::AllocateMap().

const int kIsHiddenPrototype = 2
static

Definition at line 5002 of file objects.h.

const int kIsShared = 0
static

Definition at line 5034 of file objects.h.

Referenced by Map::EquivalentToForNormalization().

const int kIsUndetectable = 5
static

Definition at line 5005 of file objects.h.

const int kMaxCachedPrototypeTransitions = 256
static

Definition at line 4941 of file objects.h.

Referenced by Map::PutPrototypeTransition().

const int8_t kMaximumBitField2FastElementValue
static
Initial value:
= static_cast<int8_t>(

Definition at line 5021 of file objects.h.

const int8_t kMaximumBitField2FastHoleyElementValue
static
Initial value:
=
static_cast<int8_t>((FAST_HOLEY_ELEMENTS + 1) <<

Definition at line 5026 of file objects.h.

const int8_t kMaximumBitField2FastHoleySmiElementValue
static
Initial value:
=
static_cast<int8_t>((FAST_HOLEY_SMI_ELEMENTS + 1) <<

Definition at line 5029 of file objects.h.

const int8_t kMaximumBitField2FastSmiElementValue
static
Initial value:
=
static_cast<int8_t>((FAST_SMI_ELEMENTS + 1) <<

Definition at line 5023 of file objects.h.

const int kMaxPreAllocatedPropertyFields = 255
static

Definition at line 4948 of file objects.h.

Referenced by Heap::AllocateInitialMap().

const int kPadStart
static
Initial value:

Definition at line 4970 of file objects.h.

Referenced by Heap::AllocateMap().

const int kPointerFieldsBeginOffset = Map::kPrototypeOffset
static
const int kPointerFieldsEndOffset
static
const int kPreAllocatedPropertyFieldsByte = 2
static

Definition at line 4985 of file objects.h.

const int kPreAllocatedPropertyFieldsOffset
static
Initial value:

Definition at line 4986 of file objects.h.

const int kProtoTransitionBackPointerOffset = 1
static

Definition at line 4801 of file objects.h.

const int kProtoTransitionElementsPerEntry = 2
static

Definition at line 4802 of file objects.h.

Referenced by Map::GetPrototypeTransition(), Map::PutPrototypeTransition(), and TEST().

const int kProtoTransitionHeaderSize = 2
static

Definition at line 4799 of file objects.h.

Referenced by Map::GetPrototypeTransition(), Map::PutPrototypeTransition(), and TEST().

const int kProtoTransitionMapOffset = 1
static

Definition at line 4804 of file objects.h.

Referenced by Map::GetPrototypeTransition(), Map::PutPrototypeTransition(), and TEST().

const int kProtoTransitionNumberOfEntriesOffset = 0
static

Definition at line 4800 of file objects.h.

const int kProtoTransitionPrototypeOffset = 0
static

Definition at line 4803 of file objects.h.

Referenced by Map::GetPrototypeTransition(), Map::PutPrototypeTransition(), and TEST().

const int kPrototypeOffset = kInstanceAttributesOffset + kIntSize
static

Definition at line 4953 of file objects.h.

const int kPrototypeTransitionsOrBackPointerOffset
static
Initial value:

Definition at line 4968 of file objects.h.

Referenced by Marker< BaseMarker >::MarkMapContents().

const int kStringWrapperSafeForDefaultValueOf = 1
static

Definition at line 5011 of file objects.h.

const int kUnused = 0
static

Definition at line 5000 of file objects.h.

const int kUnusedPropertyFieldsOffset = kInstanceAttributesOffset + 1
static

Definition at line 4993 of file objects.h.

const int kUsedForPrototype = 2
static

Definition at line 5036 of file objects.h.

const int kVisitorIdByte = 3
static

Definition at line 4988 of file objects.h.

const int kVisitorIdOffset = kInstanceSizesOffset + kVisitorIdByte
static

Definition at line 4989 of file objects.h.


The documentation for this class was generated from the following files: