Fix HeapSnapshotsDiff test and a bug introduced during snapshot size optimization.
authormikhail.naganov@gmail.com <mikhail.naganov@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 30 Sep 2010 12:24:56 +0000 (12:24 +0000)
committermikhail.naganov@gmail.com <mikhail.naganov@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 30 Sep 2010 12:24:56 +0000 (12:24 +0000)
commit99c276bbbca14503d7f8e72f819ef008a4f279b3
tree8b7d09a15d790792d6accd505517fd5dda3da869
parentf8b274eea8f8a0009b7075ffa1aa6b0027ef6b86
Fix HeapSnapshotsDiff test and a bug introduced during snapshot size optimization.

The bug wasn't revealed because the test was disabled.

BUG=848
TEST=HeapSnapshotsDiff,HeapSnapshotRootPreservedAfterSorting

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5567 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/profile-generator.cc
src/profile-generator.h
test/cctest/cctest.status
test/cctest/test-heap-profiler.cc