Index: test/cctest/test-heap.cc |
diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc |
index 834e75b1c348ee17ff28dee737ab44474aa4de1b..634deefbfb2190e5d94c31d08ac9ace20eef6ef5 100644 |
--- a/test/cctest/test-heap.cc |
+++ b/test/cctest/test-heap.cc |
@@ -2436,11 +2436,7 @@ void ReleaseStackTraceDataTest(const char* source) { |
CHECK(!resource->IsDisposed()); |
} |
HEAP->CollectAllAvailableGarbage(); |
- // External source is being retained by the stack trace. |
- CHECK(!resource->IsDisposed()); |
- CompileRun("error.stack;"); |
- HEAP->CollectAllAvailableGarbage(); |
// External source has been released. |
CHECK(resource->IsDisposed()); |
delete resource; |