v8-profiler.h   v8-profiler.h 
skipping to change at line 193 skipping to change at line 193
/** /**
* HeapSnapshotEdge represents a directed connection between heap * HeapSnapshotEdge represents a directed connection between heap
* graph nodes: from retaners to retained nodes. * graph nodes: from retaners to retained nodes.
*/ */
class V8EXPORT HeapGraphEdge { class V8EXPORT HeapGraphEdge {
public: public:
enum Type { enum Type {
CONTEXT_VARIABLE = 0, // A variable from a function context. CONTEXT_VARIABLE = 0, // A variable from a function context.
ELEMENT = 1, // An element of an array. ELEMENT = 1, // An element of an array.
PROPERTY = 2 // A named object property. PROPERTY = 2, // A named object property.
INTERNAL = 3 // A link that can't be accessed from JS,
// thus, its name isn't a real property name.
}; };
/** Returns edge type (see HeapGraphEdge::Type). */ /** Returns edge type (see HeapGraphEdge::Type). */
Type GetType() const; Type GetType() const;
/** /**
* Returns edge name. This can be a variable name, an element index, or * Returns edge name. This can be a variable name, an element index, or
* a property name. * a property name.
*/ */
Handle<Value> GetName() const; Handle<Value> GetName() const;
 End of changes. 1 change blocks. 
1 lines changed or deleted 3 lines changed or added


 v8.h   v8.h 
skipping to change at line 3139 skipping to change at line 3139
static const int kHeapObjectMapOffset = 0; static const int kHeapObjectMapOffset = 0;
static const int kMapInstanceTypeOffset = sizeof(void*) + sizeof(int); static const int kMapInstanceTypeOffset = sizeof(void*) + sizeof(int);
static const int kStringResourceOffset = static const int kStringResourceOffset =
InternalConstants<sizeof(void*)>::kStringResourceOffset; InternalConstants<sizeof(void*)>::kStringResourceOffset;
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 = 0x02; static const int kExternalTwoByteRepresentationTag = 0x02;
// These constants are compiler dependent so their values must be static const int kJSObjectType = 0x9f;
// defined within the implementation. static const int kFirstNonstringType = 0x80;
V8EXPORT static int kJSObjectType; static const int kProxyType = 0x85;
V8EXPORT static int kFirstNonstringType;
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. 
5 lines changed or deleted 3 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/