v8
3.11.10(node0.8.26)
V8 is Google's open source JavaScript engine
|
#include "../include/v8stdint.h"
Go to the source code of this file.
Data Structures | |
class | List< T, P > |
Namespaces | |
v8 | |
v8::internal | |
Macros | |
#define | V8_INFINITY INFINITY |
#define | V8_INTPTR_C(x) (x) |
#define | V8_PTR_PREFIX "" |
#define | V8_2PART_UINT64_C(a, b) (((static_cast<uint64_t>(a) << 32) + 0x##b##u)) |
#define | V8PRIxPTR V8_PTR_PREFIX "x" |
#define | V8PRIdPTR V8_PTR_PREFIX "d" |
#define | OFFSET_OF(type, field) (reinterpret_cast<intptr_t>(&(reinterpret_cast<type*>(4)->field)) - 4) |
#define | ARRAY_SIZE(a) |
#define | FUNCTION_ADDR(f) (reinterpret_cast<v8::internal::Address>(reinterpret_cast<intptr_t>(f))) |
#define | DISALLOW_COPY_AND_ASSIGN(TypeName) |
#define | DISALLOW_IMPLICIT_CONSTRUCTORS(TypeName) |
#define | INLINE(header) inline header |
#define | NO_INLINE(header) header |
#define | MUST_USE_RESULT |
Typedefs | |
typedef uint8_t | byte |
typedef byte * | Address |
typedef uint16_t | uc16 |
typedef int32_t | uc32 |
Enumerations | |
enum | LanguageMode { CLASSIC_MODE, STRICT_MODE, EXTENDED_MODE } |
enum | StrictModeFlag { kNonStrictMode, kStrictMode } |
Functions | |
template<typename T > | |
void | USE (T) |
template<typename F > | |
F | FUNCTION_CAST (Address addr) |
Variables | |
const int | KB = 1024 |
const int | MB = KB * KB |
const int | GB = KB * KB * KB |
const int | kMaxInt = 0x7FFFFFFF |
const int | kMinInt = -kMaxInt - 1 |
const uint32_t | kMaxUInt32 = 0xFFFFFFFFu |
const int | kCharSize = sizeof(char) |
const int | kShortSize = sizeof(short) |
const int | kIntSize = sizeof(int) |
const int | kDoubleSize = sizeof(double) |
const int | kIntptrSize = sizeof(intptr_t) |
const int | kPointerSize = sizeof(void*) |
const int | kDoubleSizeLog2 = 3 |
const int | kRandomStateSize = 2 * kIntSize |
const int | kPointerSizeLog2 = 2 |
const intptr_t | kIntptrSignBit = 0x80000000 |
const uintptr_t | kUintptrAllBitsSet = 0xFFFFFFFFu |
const int | kBitsPerByte = 8 |
const int | kBitsPerByteLog2 = 3 |
const int | kBitsPerPointer = kPointerSize * kBitsPerByte |
const int | kBitsPerInt = kIntSize * kBitsPerByte |
const uint32_t | kBinary32SignMask = 0x80000000u |
const uint32_t | kBinary32ExponentMask = 0x7f800000u |
const uint32_t | kBinary32MantissaMask = 0x007fffffu |
const int | kBinary32ExponentBias = 127 |
const int | kBinary32MaxExponent = 0xFE |
const int | kBinary32MinExponent = 0x01 |
const int | kBinary32MantissaBits = 23 |
const int | kBinary32ExponentShift = 23 |
const uint64_t | kQuietNaNMask = static_cast<uint64_t>(0xfff) << 51 |
const int | kASCIISize = kCharSize |
const int | kUC16Size = sizeof(uc16) |
const uc32 | kMaxAsciiCharCode = 0x7f |
const uint32_t | kMaxAsciiCharCodeU = 0x7fu |
#define ARRAY_SIZE | ( | a | ) |
Definition at line 295 of file globals.h.
Referenced by JSProxy::CallTrap(), Execution::CharAt(), Execution::ConfigureInstance(), RegExpImpl::CreateRegExpLiteral(), CustomArguments::CustomArguments(), JSProxy::DeletePropertyWithHandler(), v8::internal::DoubleToFixedCString(), Factory::EmergencyNewError(), CustomArguments::end(), Value::Equals(), FrameDescription::GetDoubleRegister(), v8::internal::GetKeysInFixedArrayFor(), MessageHandler::GetMessage(), JSProxy::GetPropertyAttributeWithHandler(), JSObject::GetPropertyWithCallback(), JSProxy::GetPropertyWithHandler(), FrameDescription::GetRegister(), Execution::GetStackTraceLine(), JSProxy::HasPropertyWithHandler(), Execution::InstantiateFunction(), Execution::InstantiateObject(), CustomArguments::IterateInstance(), HValue::LoopWeight(), Factory::NewError(), Heap::NumberToString(), v8::internal::RUNTIME_FUNCTION(), FrameDescription::SetDoubleRegister(), JSObject::SetElement(), JSObject::SetPropertyForResult(), JSProxy::SetPropertyViaPrototypesWithHandler(), JSObject::SetPropertyWithCallback(), JSReceiver::SetPropertyWithDefinedSetter(), JSProxy::SetPropertyWithHandler(), FrameDescription::SetRegister(), and TEST().
#define DISALLOW_COPY_AND_ASSIGN | ( | TypeName | ) |
#define DISALLOW_IMPLICIT_CONSTRUCTORS | ( | TypeName | ) |
#define FUNCTION_ADDR | ( | f | ) | (reinterpret_cast<v8::internal::Address>(reinterpret_cast<intptr_t>(f))) |
Definition at line 307 of file globals.h.
Referenced by V8::AddMessageListener(), V8::RemoveMessageListeners(), and TEST().
#define OFFSET_OF | ( | type, | |
field | |||
) | (reinterpret_cast<intptr_t>(&(reinterpret_cast<type*>(4)->field)) - 4) |
Definition at line 287 of file globals.h.
Referenced by FrameDescription::continuation_offset(), FrameDescription::double_registers_offset(), FrameDescription::frame_content_offset(), FrameDescription::frame_size_offset(), GlobalHandles::Node::FromLocation(), Deoptimizer::has_alignment_padding_offset(), Isolate::Init(), MemoryChunk::Initialize(), Deoptimizer::input_offset(), ObjectGroup::New(), ImplicitRefGroup::New(), Deoptimizer::output_count_offset(), Deoptimizer::output_offset(), FrameDescription::pc_offset(), FrameDescription::registers_offset(), FrameDescription::state_offset(), and TEST().
#define V8_2PART_UINT64_C | ( | a, | |
b | |||
) | (((static_cast<uint64_t>(a) << 32) + 0x##b##u)) |
Definition at line 202 of file globals.h.
Referenced by v8::internal::FastFixedDtoa(), Bignum::MultiplyByPowerOfTen(), and TEST().
#define V8_INFINITY INFINITY |
Definition at line 32 of file globals.h.
Referenced by v8::internal::InternalStringToDouble(), v8::internal::power_double_double(), v8::internal::RUNTIME_FUNCTION(), v8::internal::Strtod(), and TEST().
#define V8_PTR_PREFIX "" |
Definition at line 196 of file globals.h.
Referenced by BasicHeapEntriesAllocator::AllocateEntry(), Heap::PrintShortHeapStatistics(), NewSpace::ReportStatistics(), Heap::TearDown(), and TEST().
#define V8PRIdPTR V8_PTR_PREFIX "d" |
#define V8PRIxPTR V8_PTR_PREFIX "x" |
Definition at line 204 of file globals.h.
Referenced by PagedSpace::AdvanceSweeper(), Logger::DeleteEvent(), DeoptimizingVisitor::EnterContext(), Logger::HandleEvent(), OS::LogSharedLibraryAddresses(), Logger::NewEvent(), PagedSpace::PrepareForMarkCompact(), Logger::SharedLibraryEvent(), and TEST().