Index: test/cctest/test-api.cc |
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc |
index d1f25def57ad3eedf0906bbae0c3c7e7401ccd64..7d2daf41f3ffe58c21b9cfd93eb8e206e1e498e3 100644 |
--- a/test/cctest/test-api.cc |
+++ b/test/cctest/test-api.cc |
@@ -19830,6 +19830,7 @@ TEST(PersistentHandleInNewSpaceVisitor) { |
CHECK_EQ(42, object1.WrapperClassId()); |
CcTest::heap()->CollectAllGarbage(i::Heap::kNoGCFlags); |
+ CcTest::heap()->CollectAllGarbage(i::Heap::kNoGCFlags); |
v8::Persistent<v8::Object> object2(isolate, v8::Object::New(isolate)); |
CHECK_EQ(0, object2.WrapperClassId()); |