![]() |
v8
3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
|
#include "allocation.h"#include "assert-scope.h"#include "builtins.h"#include "elements-kind.h"#include "flags.h"#include "list.h"#include "property-details.h"#include "smart-pointers.h"#include "unicode-inl.h"#include "v8checks.h"#include "zone.h"

Go to the source code of this file.
Namespaces | |
| v8 | |
| v8::internal | |
Typedefs | |
| typedef int | ExtraICState |
Functions | |
| STATIC_ASSERT (STANDARD_STORE==0) | |
| STATIC_ASSERT (kGrowICDelta==STORE_AND_GROW_TRANSITION_SMI_TO_OBJECT-STORE_TRANSITION_SMI_TO_OBJECT) | |
| STATIC_ASSERT ((kSeqStringTag &kIsIndirectStringMask)==0) | |
| STATIC_ASSERT ((kExternalStringTag &kIsIndirectStringMask)==0) | |
| STATIC_ASSERT ((kConsStringTag &kIsIndirectStringMask)==kIsIndirectStringTag) | |
| STATIC_ASSERT ((kSlicedStringTag &kIsIndirectStringMask)==kIsIndirectStringTag) | |
| STATIC_ASSERT (IS_POWER_OF_TWO(kSlicedNotConsMask)&&kSlicedNotConsMask!=0) | |
| STATIC_CHECK (JS_OBJECT_TYPE==Internals::kJSObjectType) | |
| STATIC_CHECK (FIRST_NONSTRING_TYPE==Internals::kFirstNonstringType) | |
| STATIC_CHECK (ODDBALL_TYPE==Internals::kOddballType) | |
| STATIC_CHECK (FOREIGN_TYPE==Internals::kForeignType) | |
| template<class C > | |
| bool | Is (Object *obj) |
| const char * | GetBailoutReason (BailoutReason reason) |
| template<SearchMode search_mode, typename T > | |
| int | LinearSearch (T *array, Name *name, int len, int valid_entries) |
| template<SearchMode search_mode, typename T > | |
| int | Search (T *array, Name *name, int valid_entries) |
| Handle< Object > | CacheInitialJSArrayMaps (Handle< Context > native_context, Handle< Map > initial_map) |
Variables | |
| const int | kVariableSizeSentinel = 0 |
| const int | kStubMajorKeyBits = 7 |
| const int | kStubMinorKeyBits = kBitsPerInt - kSmiTagSize - kStubMajorKeyBits |
| const uint32_t | kIsNotStringMask = 0x80 |
| const uint32_t | kStringTag = 0x0 |
| const uint32_t | kNotStringTag = 0x80 |
| const uint32_t | kIsNotInternalizedMask = 0x40 |
| const uint32_t | kNotInternalizedTag = 0x40 |
| const uint32_t | kInternalizedTag = 0x0 |
| const uint32_t | kStringEncodingMask = 0x4 |
| const uint32_t | kTwoByteStringTag = 0x0 |
| const uint32_t | kOneByteStringTag = 0x4 |
| const uint32_t | kStringRepresentationMask = 0x03 |
| const uint32_t | kIsIndirectStringMask = 0x1 |
| const uint32_t | kIsIndirectStringTag = 0x1 |
| const uint32_t | kSlicedNotConsMask = kSlicedStringTag & ~kConsStringTag |
| const uint32_t | kOneByteDataHintMask = 0x08 |
| const uint32_t | kOneByteDataHintTag = 0x08 |
| const uint32_t | kShortExternalStringMask = 0x10 |
| const uint32_t | kShortExternalStringTag = 0x10 |
| const uint32_t | kShortcutTypeMask |
| const uint32_t | kShortcutTypeTag = kConsStringTag | kNotInternalizedTag |
| const int | kExternalArrayTypeCount |
| const int | kFailureTypeTagSize = 2 |
| const int | kFailureTypeTagMask = (1 << kFailureTypeTagSize) - 1 |
| #define CODE_KIND_LIST | ( | V | ) |
Definition at line 5204 of file objects.h.
Referenced by Heap::CheckpointObjectStats(), StatisticsExtension::GetCounters(), and Code::Kind2String().
| #define DECL_ACCESSORS | ( | name, | |
| type | |||
| ) |
| #define DECL_BOOLEAN_ACCESSORS | ( | name | ) |
| #define DECLARE_ENUM | ( | enum_item, | |
| ignore1, | |||
| ignore2 | |||
| ) | enum_item, |
| #define DECLARE_STRUCT_PREDICATE | ( | NAME, | |
| Name, | |||
| name | |||
| ) | inline bool Is##Name(); |
| #define DEFINE_ELEMENT_ACCESSORS | ( | name, | |
| type | |||
| ) |
| #define DEFINE_ENTRY_ACCESSORS | ( | name, | |
| type | |||
| ) |
| #define ERROR_MESSAGES_LIST | ( | V | ) |
Definition at line 1093 of file objects.h.
Referenced by v8::internal::GetBailoutReason().
| #define FIELD_ACCESSORS | ( | name | ) |
| #define FIXED_ARRAY_SUB_INSTANCE_TYPE_LIST | ( | V | ) |
Definition at line 863 of file objects.h.
Referenced by Heap::CheckpointObjectStats(), and StatisticsExtension::GetCounters().
| #define FIXED_TYPED_ARRAY_TRAITS | ( | Type, | |
| type, | |||
| TYPE, | |||
| elementType, | |||
| size | |||
| ) |
| #define FOR_EACH_NUMERIC_FIELD | ( | V | ) |
| #define FUNCTIONS_WITH_ID_LIST | ( | V | ) |
| #define IC_KIND_LIST | ( | V | ) |
Definition at line 5194 of file objects.h.
Referenced by Code::is_inline_cache_stub().
| #define INSTANCE_TYPE_LIST | ( | V | ) |
Definition at line 342 of file objects.h.
Referenced by Heap::CheckpointObjectStats(), StatisticsExtension::GetCounters(), and NewSpace::SetUp().
| #define IS_TYPE_FUNCTION_DECL | ( | type_ | ) | inline bool Is##type_(); |
| #define NON_IC_KIND_LIST | ( | V | ) |
| #define OBJECT_TYPE_LIST | ( | V | ) |
| #define STRUCT_LIST | ( | V | ) |
Definition at line 590 of file objects.h.
Referenced by Heap::AllocateStruct(), StaticVisitorBase::GetVisitorId(), HeapObject::HeapObjectShortPrint(), Object::IsStruct(), and HeapObject::IterateBody().
| #define STRUCT_LIST_ALL | ( | V | ) |
| #define TYPED_ARRAYS | ( | V | ) |
Definition at line 4663 of file objects.h.
Referenced by Runtime::ArrayIdToTypeAndSize(), FastSmiOrObjectElementsAccessor< FastPackedSmiElementsAccessor, ElementsKindTraits< FAST_SMI_ELEMENTS > >::CopyElementsImpl(), FastDoubleElementsAccessor< FastHoleyDoubleElementsAccessor, ElementsKindTraits< FAST_HOLEY_DOUBLE_ELEMENTS > >::CopyElementsImpl(), FixedTypedArrayBase::DataSize(), JSTypedArray::element_size(), KeyedStoreElementStub::Generate(), Object::GetIndexedPropertiesExternalArrayDataType(), JSObject::GetLocalElementKeys(), v8::internal::GetNextTransitionElementsKind(), StaticVisitorBase::GetVisitorId(), HeapObject::HeapObjectShortPrint(), HeapObject::IterateBody(), JSObject::ReferencesObject(), Heap::RootIndexForEmptyExternalArray(), Heap::RootIndexForEmptyFixedTypedArray(), Heap::RootIndexForExternalArrayType(), Heap::RootIndexForFixedTypedArray(), JSObject::SetAccessor(), JSObjectWalkVisitor< ContextObject >::StructureWalk(), and JSTypedArray::type().
| #define VISITOR_SYNCHRONIZATION_TAGS_LIST | ( | V | ) |