v8
3.14.5 (node 0.10.48)
V8 is Google's open source JavaScript engine
|
#include <v8.h>
Static Public Member Functions | |
static bool | HasHeapObjectTag (internal::Object *value) |
static bool | HasSmiTag (internal::Object *value) |
static int | SmiValue (internal::Object *value) |
static int | GetInstanceType (internal::Object *obj) |
static int | GetOddballKind (internal::Object *obj) |
static void * | GetExternalPointerFromSmi (internal::Object *value) |
static void * | GetExternalPointer (internal::Object *obj) |
static bool | IsExternalTwoByteString (int instance_type) |
static bool | IsInitialized (v8::Isolate *isolate) |
static void | SetEmbedderData (v8::Isolate *isolate, void *data) |
static void * | GetEmbedderData (v8::Isolate *isolate) |
static internal::Object ** | GetRoot (v8::Isolate *isolate, int index) |
template<typename T > | |
static T | ReadField (Object *ptr, int offset) |
static bool | CanCastToHeapObject (void *o) |
static bool | CanCastToHeapObject (Context *o) |
static bool | CanCastToHeapObject (String *o) |
static bool | CanCastToHeapObject (Object *o) |
static bool | CanCastToHeapObject (Message *o) |
static bool | CanCastToHeapObject (StackTrace *o) |
static bool | CanCastToHeapObject (StackFrame *o) |
This class exports constants and functionality from within v8 that is necessary to implement inline functions in the v8 api. Don't depend on functions and constants defined here.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Definition at line 4159 of file v8.h.
References Internals::kIsolateEmbedderDataOffset.
Referenced by Isolate::GetData().
|
inlinestatic |
Definition at line 4133 of file v8.h.
References Internals::GetExternalPointerFromSmi(), Internals::GetInstanceType(), Internals::HasSmiTag(), Internals::kForeignAddressOffset, Internals::kForeignType, and Internals::ReadField().
Referenced by Object::GetPointerFromInternalField().
|
inlinestatic |
Definition at line 4128 of file v8.h.
References v8::internal::kPointerToSmiShift.
Referenced by Internals::GetExternalPointer().
|
inlinestatic |
Definition at line 4117 of file v8.h.
References Internals::kHeapObjectMapOffset, Internals::kMapInstanceTypeOffset, and Internals::ReadField().
Referenced by Internals::GetExternalPointer(), String::GetExternalStringResource(), String::GetExternalStringResourceBase(), and Object::GetPointerFromInternalField().
|
inlinestatic |
Definition at line 4123 of file v8.h.
References Internals::kOddballKindOffset, Internals::ReadField(), and Internals::SmiValue().
|
inlinestatic |
Definition at line 4165 of file v8.h.
References v8::internal::kApiPointerSize, and Internals::kIsolateRootsOffset.
Referenced by String::Empty(), v8::False(), v8::Null(), v8::True(), and v8::Undefined().
|
inlinestatic |
Definition at line 4104 of file v8.h.
References v8::internal::kHeapObjectTag, and v8::internal::kHeapObjectTagMask.
|
inlinestatic |
Definition at line 4109 of file v8.h.
References v8::internal::kSmiTag, and v8::internal::kSmiTagMask.
Referenced by Internals::GetExternalPointer().
|
inlinestatic |
Definition at line 4143 of file v8.h.
References Internals::kExternalTwoByteRepresentationTag, and Internals::kFullStringRepresentationMask.
Referenced by String::GetExternalStringResource().
|
inlinestatic |
Definition at line 4148 of file v8.h.
References Internals::kIsolateStateOffset.
Referenced by String::Empty(), v8::False(), v8::Null(), v8::True(), and v8::Undefined().
|
inlinestatic |
Definition at line 4171 of file v8.h.
References v8::internal::kHeapObjectTag.
Referenced by Internals::GetExternalPointer(), String::GetExternalStringResource(), String::GetExternalStringResourceBase(), Internals::GetInstanceType(), Internals::GetOddballKind(), and Object::GetPointerFromInternalField().
|
inlinestatic |
Definition at line 4153 of file v8.h.
References Internals::kIsolateEmbedderDataOffset.
Referenced by Isolate::SetData().
|
inlinestatic |
Definition at line 4113 of file v8.h.
References SmiTagging< 8 >::SmiToInt().
Referenced by Internals::GetOddballKind().
|
static |
Definition at line 4094 of file v8.h.
Referenced by String::Empty().
|
static |
Definition at line 4085 of file v8.h.
Referenced by String::GetExternalStringResourceBase().
|
static |
Definition at line 4084 of file v8.h.
Referenced by String::GetExternalStringResourceBase(), and Internals::IsExternalTwoByteString().
|
static |
Definition at line 4093 of file v8.h.
Referenced by v8::False().
|
static |
Definition at line 4080 of file v8.h.
Referenced by Internals::GetExternalPointer().
|
static |
Definition at line 4099 of file v8.h.
Referenced by Internals::GetExternalPointer().
|
static |
Definition at line 4082 of file v8.h.
Referenced by String::GetExternalStringResourceBase(), and Internals::IsExternalTwoByteString().
|
static |
Definition at line 4075 of file v8.h.
Referenced by Internals::GetInstanceType().
|
static |
Definition at line 4088 of file v8.h.
Referenced by Internals::GetEmbedderData(), and Internals::SetEmbedderData().
|
static |
Definition at line 4089 of file v8.h.
Referenced by Internals::GetRoot().
|
static |
Definition at line 4087 of file v8.h.
Referenced by Internals::IsInitialized().
|
static |
Definition at line 4081 of file v8.h.
Referenced by Object::GetPointerFromInternalField().
|
static |
Definition at line 4096 of file v8.h.
Referenced by Object::GetPointerFromInternalField().
|
static |
Definition at line 4076 of file v8.h.
Referenced by Internals::GetInstanceType().
|
static |
Definition at line 4091 of file v8.h.
Referenced by v8::Null().
|
static |
Definition at line 4079 of file v8.h.
Referenced by Internals::GetOddballKind().
|
static |
Definition at line 4083 of file v8.h.
Referenced by String::GetExternalStringResourceBase().
|
static |
Definition at line 4077 of file v8.h.
Referenced by String::GetExternalStringResource(), and String::GetExternalStringResourceBase().
|
static |
Definition at line 4092 of file v8.h.
Referenced by v8::True().
|
static |
Definition at line 4090 of file v8.h.
Referenced by v8::Undefined().