v8
3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
|
#include "allocation.h"
#include "builtins.h"
#include "elements-kind.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 | |
Functions | |
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<SearchMode search_mode, typename T > | |
int | LinearSearch (T *array, String *name, int len, int valid_entries) |
template<SearchMode search_mode, typename T > | |
int | Search (T *array, String *name, int valid_entries) |
template<typename schar > | |
uint32_t | HashSequentialString (const schar *chars, int length, uint32_t seed) |
Variables | |
const int | kVariableSizeSentinel = 0 |
const int | kStubMajorKeyBits = 6 |
const int | kStubMinorKeyBits = kBitsPerInt - kSmiTagSize - kStubMajorKeyBits |
const uint32_t | kIsNotStringMask = 0x80 |
const uint32_t | kStringTag = 0x0 |
const uint32_t | kNotStringTag = 0x80 |
const uint32_t | kIsSymbolMask = 0x40 |
const uint32_t | kNotSymbolTag = 0x0 |
const uint32_t | kSymbolTag = 0x40 |
const uint32_t | kStringEncodingMask = 0x4 |
const uint32_t | kTwoByteStringTag = 0x0 |
const uint32_t | kAsciiStringTag = 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 | kAsciiDataHintMask = 0x08 |
const uint32_t | kAsciiDataHintTag = 0x08 |
const uint32_t | kShortExternalStringMask = 0x10 |
const uint32_t | kShortExternalStringTag = 0x10 |
const uint32_t | kShortcutTypeMask |
const uint32_t | kShortcutTypeTag = kConsStringTag |
const int | kExternalArrayTypeCount |
const int | kFailureTypeTagSize = 2 |
const int | kFailureTypeTagMask = (1 << kFailureTypeTagSize) - 1 |
#define CODE_KIND_LIST | ( | V | ) |
Definition at line 4187 of file objects.h.
Referenced by Heap::CheckpointObjectStats(), and StatisticsExtension::GetCounters().
#define DECL_ACCESSORS | ( | name, | |
type | |||
) |
#define DECL_BOOLEAN_ACCESSORS | ( | name | ) |
#define DECLARE_ENUM | ( | enum_item, | |
ignore1, | |||
ignore2 | |||
) | enum_item, |
#define DECLARE_FUNCTION_ID | ( | ignored1, | |
ignore2, | |||
name | |||
) | k##name, |
#define DECLARE_STRUCT_PREDICATE | ( | NAME, | |
Name, | |||
name | |||
) | inline bool Is##Name(); |
#define DEFINE_ELEMENT_ACCESSORS | ( | name, | |
type | |||
) |
#define DEFINE_ENTRY_ACCESSORS | ( | name, | |
type | |||
) |
#define DEFINE_FIXED_ARRAY_SUB_INSTANCE_TYPE | ( | name | ) | name, |
#define FIELD_ACCESSORS | ( | name | ) |
#define FIXED_ARRAY_SUB_INSTANCE_TYPE_LIST | ( | V | ) |
Definition at line 675 of file objects.h.
Referenced by Heap::CheckpointObjectStats(), and StatisticsExtension::GetCounters().
#define FOR_EACH_NUMERIC_FIELD | ( | V | ) |
#define FUNCTIONS_WITH_ID_LIST | ( | V | ) |
#define INSTANCE_TYPE_LIST | ( | V | ) |
Definition at line 318 of file objects.h.
Referenced by Heap::CheckpointObjectStats(), StatisticsExtension::GetCounters(), and NewSpace::SetUp().
#define IS_TYPE_FUNCTION_DECL | ( | type_ | ) | inline bool Is##type_(); |
#define OBJECT_TYPE_LIST | ( | V | ) |
#define STRUCT_LIST | ( | V | ) |
Definition at line 448 of file objects.h.
Referenced by Heap::AllocateStruct(), StaticVisitorBase::GetVisitorId(), HeapObject::HeapObjectShortPrint(), Object::IsStruct(), and HeapObject::IterateBody().
#define STRUCT_LIST_ALL | ( | V | ) |
#define VISITOR_SYNCHRONIZATION_TAGS_LIST | ( | V | ) |