Commit 64ecb69b authored by sgjesse@chromium.org's avatar sgjesse@chromium.org

Fix presubmit errors

TBR=ager@chromium.org
Review URL: http://codereview.chromium.org/449053

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3390 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent a8db297d
......@@ -8519,10 +8519,7 @@ static int GetGlobalObjectsCount() {
v8::internal::HeapIterator it;
while (it.has_next()) {
v8::internal::HeapObject* object = it.next();
if (object->IsJSGlobalObject()) {
count++;
//object->PrintLn();
}
if (object->IsJSGlobalObject()) count++;
}
return count;
}
......@@ -8561,7 +8558,7 @@ TEST(Bug528) {
v8::internal::Heap::CollectAllGarbage(false);
if (GetGlobalObjectsCount() == 1) break;
}
CHECK(gc_count <= 2);
CHECK_GE(2, gc_count);
CHECK_EQ(1, GetGlobalObjectsCount());
// Eval in a function creates reference from the compilation cache to the
......@@ -8610,7 +8607,7 @@ TEST(Bug528) {
v8::internal::Heap::CollectAllGarbage(false);
if (GetGlobalObjectsCount() == 1) break;
}
CHECK(gc_count <= 2);
CHECK_GE(2, gc_count);
CHECK_EQ(1, GetGlobalObjectsCount());
other_context.Dispose();
......
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