v8
3.11.10 (node 0.8.28)
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 3996 of file v8.h.
References Internals::kIsolateEmbedderDataOffset.
Referenced by Isolate::GetData().
|
inlinestatic |
Definition at line 3970 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 3965 of file v8.h.
References v8::internal::kPointerToSmiShift.
Referenced by Internals::GetExternalPointer().
|
inlinestatic |
Definition at line 3954 of file v8.h.
References Internals::kHeapObjectMapOffset, Internals::kMapInstanceTypeOffset, and Internals::ReadField().
Referenced by Internals::GetExternalPointer(), String::GetExternalStringResource(), and Object::GetPointerFromInternalField().
|
inlinestatic |
Definition at line 3960 of file v8.h.
References Internals::kOddballKindOffset, Internals::ReadField(), and Internals::SmiValue().
|
inlinestatic |
Definition at line 4002 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 3941 of file v8.h.
References v8::internal::kHeapObjectTag, and v8::internal::kHeapObjectTagMask.
|
inlinestatic |
Definition at line 3946 of file v8.h.
References v8::internal::kSmiTag, and v8::internal::kSmiTagMask.
Referenced by Internals::GetExternalPointer().
|
inlinestatic |
Definition at line 3980 of file v8.h.
References Internals::kExternalTwoByteRepresentationTag, and Internals::kFullStringRepresentationMask.
Referenced by String::GetExternalStringResource().
|
inlinestatic |
Definition at line 3985 of file v8.h.
References Internals::kIsolateStateOffset.
Referenced by String::Empty(), v8::False(), v8::Null(), v8::True(), and v8::Undefined().
|
inlinestatic |
Definition at line 4008 of file v8.h.
References v8::internal::kHeapObjectTag.
Referenced by Internals::GetExternalPointer(), String::GetExternalStringResource(), Internals::GetInstanceType(), Internals::GetOddballKind(), and Object::GetPointerFromInternalField().
|
inlinestatic |
Definition at line 3990 of file v8.h.
References Internals::kIsolateEmbedderDataOffset.
Referenced by Isolate::SetData().
|
inlinestatic |
Definition at line 3950 of file v8.h.
References SmiTagging< 8 >::SmiToInt().
Referenced by Internals::GetOddballKind().
|
static |
Definition at line 3931 of file v8.h.
Referenced by String::Empty().
|
static |
Definition at line 3922 of file v8.h.
Referenced by Internals::IsExternalTwoByteString().
|
static |
Definition at line 3930 of file v8.h.
Referenced by v8::False().
|
static |
Definition at line 3919 of file v8.h.
Referenced by Internals::GetExternalPointer().
|
static |
Definition at line 3936 of file v8.h.
Referenced by Internals::GetExternalPointer().
|
static |
Definition at line 3921 of file v8.h.
Referenced by Internals::IsExternalTwoByteString().
|
static |
Definition at line 3914 of file v8.h.
Referenced by Internals::GetInstanceType().
|
static |
Definition at line 3925 of file v8.h.
Referenced by Internals::GetEmbedderData(), and Internals::SetEmbedderData().
|
static |
Definition at line 3926 of file v8.h.
Referenced by Internals::GetRoot().
|
static |
Definition at line 3924 of file v8.h.
Referenced by Internals::IsInitialized().
|
static |
Definition at line 3920 of file v8.h.
Referenced by Object::GetPointerFromInternalField().
|
static |
Definition at line 3933 of file v8.h.
Referenced by Object::GetPointerFromInternalField().
|
static |
Definition at line 3915 of file v8.h.
Referenced by Internals::GetInstanceType().
|
static |
Definition at line 3928 of file v8.h.
Referenced by v8::Null().
|
static |
Definition at line 3918 of file v8.h.
Referenced by Internals::GetOddballKind().
|
static |
Definition at line 3916 of file v8.h.
Referenced by String::GetExternalStringResource().
|
static |
Definition at line 3929 of file v8.h.
Referenced by v8::True().
|
static |
Definition at line 3927 of file v8.h.
Referenced by v8::Undefined().