v8-profiler.h | v8-profiler.h | |||
---|---|---|---|---|
skipping to change at line 262 | skipping to change at line 262 | |||
SnapshotObjectId GetId() const; | SnapshotObjectId GetId() const; | |||
/** Returns node's own size, in bytes. */ | /** Returns node's own size, in bytes. */ | |||
int GetSelfSize() const; | int GetSelfSize() const; | |||
/** Returns child nodes count of the node. */ | /** Returns child nodes count of the node. */ | |||
int GetChildrenCount() const; | int GetChildrenCount() const; | |||
/** Retrieves a child by index. */ | /** Retrieves a child by index. */ | |||
const HeapGraphEdge* GetChild(int index) const; | const HeapGraphEdge* GetChild(int index) const; | |||
/** | ||||
* Finds and returns a value from the heap corresponding to this node, | ||||
* if the value is still reachable. | ||||
*/ | ||||
Handle<Value> GetHeapValue() const; | ||||
}; | }; | |||
/** | /** | |||
* HeapSnapshots record the state of the JS heap at some moment. | * HeapSnapshots record the state of the JS heap at some moment. | |||
*/ | */ | |||
class V8_EXPORT HeapSnapshot { | class V8_EXPORT HeapSnapshot { | |||
public: | public: | |||
enum SerializationFormat { | enum SerializationFormat { | |||
kJSON = 0 // See format description near 'Serialize' method. | kJSON = 0 // See format description near 'Serialize' method. | |||
}; | }; | |||
End of changes. 1 change blocks. | ||||
6 lines changed or deleted | 0 lines changed or added | |||
v8.h | v8.h | |||
---|---|---|---|---|
skipping to change at line 2497 | skipping to change at line 2497 | |||
/** | /** | |||
* Tells whether this function is builtin. | * Tells whether this function is builtin. | |||
*/ | */ | |||
bool IsBuiltin() const; | bool IsBuiltin() const; | |||
/** | /** | |||
* Returns scriptId. | * Returns scriptId. | |||
*/ | */ | |||
int ScriptId() const; | int ScriptId() const; | |||
/** | ||||
* Returns the original function if this function is bound, else returns | ||||
* v8::Undefined. | ||||
*/ | ||||
Local<Value> GetBoundFunction() const; | ||||
ScriptOrigin GetScriptOrigin() const; | ScriptOrigin GetScriptOrigin() const; | |||
V8_INLINE static Function* Cast(Value* obj); | V8_INLINE static Function* Cast(Value* obj); | |||
static const int kLineOffsetNotFound; | static const int kLineOffsetNotFound; | |||
private: | private: | |||
Function(); | Function(); | |||
static void CheckCast(Value* obj); | static void CheckCast(Value* obj); | |||
}; | }; | |||
#ifndef V8_ARRAY_BUFFER_INTERNAL_FIELD_COUNT | #ifndef V8_ARRAY_BUFFER_INTERNAL_FIELD_COUNT | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 6 lines changed or added | |||