Commit 6306283d authored by loislo@chromium.org's avatar loislo@chromium.org

fix for TestHeapEntryIdsAndGC

BUG=none
TEST=none

Review URL: https://chromiumcodereview.appspot.com/9864035

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11163 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent b413f376
......@@ -425,9 +425,11 @@ TEST(HeapEntryIdsAndGC) {
v8::HeapProfiler::TakeSnapshot(s2_str);
// Second snapshot has one more string, it is it's name 's2'.
CHECK_EQ_SNAPSHOT_OBJECT_ID(
snapshot1->GetMaxSnapshotJSObjectId(),
snapshot2->GetMaxSnapshotJSObjectId());
CHECK(
snapshot1->GetMaxSnapshotJSObjectId() <=
snapshot2->GetMaxSnapshotJSObjectId() &&
snapshot2->GetMaxSnapshotJSObjectId() <=
snapshot1->GetMaxSnapshotJSObjectId() + i::HeapObjectsMap::kObjectIdStep);
const v8::HeapGraphNode* global1 = GetGlobalObject(snapshot1);
const v8::HeapGraphNode* global2 = GetGlobalObject(snapshot2);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment