| Index: src/api.cc
|
| ===================================================================
|
| --- src/api.cc (revision 11348)
|
| +++ src/api.cc (working copy)
|
| @@ -5998,7 +5998,7 @@
|
| const HeapGraphNode* HeapGraphEdge::GetFromNode() const {
|
| i::Isolate* isolate = i::Isolate::Current();
|
| IsDeadCheck(isolate, "v8::HeapGraphEdge::GetFromNode");
|
| - const i::HeapEntry* from = ToInternal(this)->From();
|
| + const i::HeapEntry* from = ToInternal(this)->from();
|
| return reinterpret_cast<const HeapGraphNode*>(from);
|
| }
|
|
|
| @@ -6218,6 +6218,14 @@
|
| }
|
|
|
|
|
| +SnapshotObjectId HeapProfiler::GetSnapshotObjectId(Handle<Value> value) {
|
| + i::Isolate* isolate = i::Isolate::Current();
|
| + IsDeadCheck(isolate, "v8::HeapProfiler::GetSnapshotObjectId");
|
| + i::Handle<i::Object> obj = Utils::OpenHandle(*value);
|
| + return i::HeapProfiler::GetSnapshotObjectId(obj);
|
| +}
|
| +
|
| +
|
| const HeapSnapshot* HeapProfiler::TakeSnapshot(Handle<String> title,
|
| HeapSnapshot::Type type,
|
| ActivityControl* control) {
|
|
|