#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 void * | GetExternalPointerFromSmi (internal::Object *value) |
| static void * | GetExternalPointer (internal::Object *obj) |
| static bool | IsExternalTwoByteString (int instance_type) |
| 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) |
Static Public Attributes | |
| static const int | kHeapObjectMapOffset = 0 |
| static const int | kMapInstanceTypeOffset = 1 * kApiPointerSize + kApiIntSize |
| static const int | kStringResourceOffset |
| static const int | kForeignAddressOffset = kApiPointerSize |
| static const int | kJSObjectHeaderSize = 3 * kApiPointerSize |
| static const int | kFullStringRepresentationMask = 0x07 |
| static const int | kExternalTwoByteRepresentationTag = 0x02 |
| static const int | kJSObjectType = 0xa3 |
| static const int | kFirstNonstringType = 0x80 |
| static const int | kForeignType = 0x85 |
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.
const int v8::internal::Internals::kStringResourceOffset [static] |
InternalConstants<kApiPointerSize>::kStringResourceOffset
1.7.1