| Index: test/cctest/test-api.cc
|
| diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc
|
| index 447437541ef935d8d0e58f2e7e60f7937a52f4f1..1d790a1ad532624169d97f750e924f1a60379d54 100644
|
| --- a/test/cctest/test-api.cc
|
| +++ b/test/cctest/test-api.cc
|
| @@ -13514,6 +13514,7 @@ THREADED_TEST(LockUnlockLock) {
|
|
|
|
|
| static int GetGlobalObjectsCount() {
|
| + CcTest::heap()->EnsureHeapIsIterable();
|
| int count = 0;
|
| i::HeapIterator it(CcTest::heap());
|
| for (i::HeapObject* object = it.next(); object != NULL; object = it.next())
|
|
|