Heap profiler: add an ability to iterate over snapshot's nodes.
authormikhail.naganov@gmail.com <mikhail.naganov@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 21 Jun 2011 08:02:34 +0000 (08:02 +0000)
committermikhail.naganov@gmail.com <mikhail.naganov@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 21 Jun 2011 08:02:34 +0000 (08:02 +0000)
commitbf9b2f8c2ce1d7bc9c1ec692fff7bc52c3b55612
tree985d92dc03141a8188d6deb39c7afaf25fb7cc32
parent5c63dd26fcde4618b4388276227c3816ea331e64
Heap profiler: add an ability to iterate over snapshot's nodes.

This is a preparation for removing aggregated heap snapshots.
W/o this API, counting object instances in a snapshot is very hard.

R=sgjesse@chromium.org
BUG=1481
TEST=cctest/test-heap-profiler/NodesIteration

Review URL: http://codereview.chromium.org/7204040

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8342 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
include/v8-profiler.h
src/api.cc
test/cctest/test-heap-profiler.cc