Index: test/cctest/test-api.cc |
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc |
index 01c125e9f6abdb822d9b6eb47c5b5156cd95790e..325d10c9a4e09efa5bbc0e99be1ecc52335f3c6b 100644 |
--- a/test/cctest/test-api.cc |
+++ b/test/cctest/test-api.cc |
@@ -13701,9 +13701,6 @@ static void CheckSurvivingGlobalObjectsCount(int expected) { |
CcTest::CollectAllGarbage(i::Heap::kFinalizeIncrementalMarkingMask); |
CcTest::CollectAllGarbage(i::Heap::kMakeHeapIterableMask); |
int count = GetGlobalObjectsCount(); |
-#ifdef DEBUG |
- if (count != expected) CcTest::heap()->TracePathToGlobal(); |
-#endif |
CHECK_EQ(expected, count); |
} |