v8.h | v8.h | |||
---|---|---|---|---|
skipping to change at line 2651 | skipping to change at line 2651 | |||
static const int kMapInstanceTypeOffset = sizeof(void*) + sizeof(int); | static const int kMapInstanceTypeOffset = sizeof(void*) + sizeof(int); | |||
static const int kStringResourceOffset = 2 * sizeof(void*); | static const int kStringResourceOffset = 2 * sizeof(void*); | |||
static const int kProxyProxyOffset = sizeof(void*); | static const int kProxyProxyOffset = sizeof(void*); | |||
static const int kJSObjectHeaderSize = 3 * sizeof(void*); | static const int kJSObjectHeaderSize = 3 * sizeof(void*); | |||
static const int kFullStringRepresentationMask = 0x07; | static const int kFullStringRepresentationMask = 0x07; | |||
static const int kExternalTwoByteRepresentationTag = 0x03; | static const int kExternalTwoByteRepresentationTag = 0x03; | |||
static const int kAlignedPointerShift = 2; | static const int kAlignedPointerShift = 2; | |||
// These constants are compiler dependent so their values must be | // These constants are compiler dependent so their values must be | |||
// defined within the implementation. | // defined within the implementation. | |||
static int kJSObjectType; | V8EXPORT static int kJSObjectType; | |||
static int kFirstNonstringType; | V8EXPORT static int kFirstNonstringType; | |||
static int kProxyType; | V8EXPORT static int kProxyType; | |||
static inline bool HasHeapObjectTag(internal::Object* value) { | static inline bool HasHeapObjectTag(internal::Object* value) { | |||
return ((reinterpret_cast<intptr_t>(value) & kHeapObjectTagMask) == | return ((reinterpret_cast<intptr_t>(value) & kHeapObjectTagMask) == | |||
kHeapObjectTag); | kHeapObjectTag); | |||
} | } | |||
static inline bool HasSmiTag(internal::Object* value) { | static inline bool HasSmiTag(internal::Object* value) { | |||
return ((reinterpret_cast<intptr_t>(value) & kSmiTagMask) == kSmiTag); | return ((reinterpret_cast<intptr_t>(value) & kSmiTagMask) == kSmiTag); | |||
} | } | |||
End of changes. 1 change blocks. | ||||
3 lines changed or deleted | 3 lines changed or added | |||