v8-profiler.h   v8-profiler.h 
skipping to change at line 218 skipping to change at line 218
/** Returns destination node. */ /** Returns destination node. */
const HeapGraphNode* GetToNode() const; const HeapGraphNode* GetToNode() const;
}; };
/** /**
* HeapGraphNode represents a node in a heap graph. * HeapGraphNode represents a node in a heap graph.
*/ */
class V8_EXPORT HeapGraphNode { class V8_EXPORT HeapGraphNode {
public: public:
enum Type { enum Type {
kHidden = 0, // Hidden node, may be filtered when shown to user. kHidden = 0, // Hidden node, may be filtered when shown to user
kArray = 1, // An array of elements. .
kString = 2, // A string. kArray = 1, // An array of elements.
kObject = 3, // A JS object (except for arrays and strings). kString = 2, // A string.
kCode = 4, // Compiled code. kObject = 3, // A JS object (except for arrays and strings).
kClosure = 5, // Function closure. kCode = 4, // Compiled code.
kRegExp = 6, // RegExp. kClosure = 5, // Function closure.
kHeapNumber = 7, // Number stored in the heap. kRegExp = 6, // RegExp.
kNative = 8, // Native object (not from V8 heap). kHeapNumber = 7, // Number stored in the heap.
kSynthetic = 9, // Synthetic object, usualy used for grouping kNative = 8, // Native object (not from V8 heap).
// snapshot items together. kSynthetic = 9, // Synthetic object, usualy used for grouping
kConsString = 10, // Concatenated string. A pair of pointers to strin // snapshot items together.
gs. kConsString = 10, // Concatenated string. A pair of pointers to stri
kSlicedString = 11 // Sliced string. A fragment of another string. ngs.
kSlicedString = 11, // Sliced string. A fragment of another string.
kSymbol = 12 // A Symbol (ES6).
}; };
/** Returns node type (see HeapGraphNode::Type). */ /** Returns node type (see HeapGraphNode::Type). */
Type GetType() const; Type GetType() const;
/** /**
* Returns node name. Depending on node's type this can be the name * Returns node name. Depending on node's type this can be the name
* of the constructor (for objects), the name of the function (for * of the constructor (for objects), the name of the function (for
* closures), string value, or an empty string (for compiled code). * closures), string value, or an empty string (for compiled code).
*/ */
 End of changes. 1 change blocks. 
14 lines changed or deleted 16 lines changed or added


 v8.h   v8.h 
skipping to change at line 2061 skipping to change at line 2061
* A JavaScript object (ECMA-262, 4.3.3) * A JavaScript object (ECMA-262, 4.3.3)
*/ */
class V8_EXPORT Object : public Value { class V8_EXPORT Object : public Value {
public: public:
bool Set(Handle<Value> key, bool Set(Handle<Value> key,
Handle<Value> value, Handle<Value> value,
PropertyAttribute attribs = None); PropertyAttribute attribs = None);
bool Set(uint32_t index, Handle<Value> value); bool Set(uint32_t index, Handle<Value> value);
// Sets a local property on this object bypassing interceptors and // Sets an own property on this object bypassing interceptors and
// overriding accessors or read-only properties. // overriding accessors or read-only properties.
// //
// Note that if the object has an interceptor the property will be set // Note that if the object has an interceptor the property will be set
// locally, but since the interceptor takes precedence the local property // locally, but since the interceptor takes precedence the local property
// will only be returned if the interceptor doesn't return a value. // will only be returned if the interceptor doesn't return a value.
// //
// Note also that this only works for named properties. // Note also that this only works for named properties.
bool ForceSet(Handle<Value> key, bool ForceSet(Handle<Value> key,
Handle<Value> value, Handle<Value> value,
PropertyAttribute attribs = None); PropertyAttribute attribs = None);
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 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/