| Index: test/cctest/test-mark-compact.cc
|
| ===================================================================
|
| --- test/cctest/test-mark-compact.cc (revision 3088)
|
| +++ test/cctest/test-mark-compact.cc (working copy)
|
| @@ -71,10 +71,6 @@
|
|
|
|
|
| TEST(Promotion) {
|
| - // Test the situation that some objects in new space are promoted to the
|
| - // old space
|
| - if (Snapshot::IsEnabled()) return;
|
| -
|
| // Ensure that we get a compacting collection so that objects are promoted
|
| // from new space.
|
| FLAG_gc_global = true;
|
| @@ -106,7 +102,6 @@
|
|
|
|
|
| TEST(NoPromotion) {
|
| - if (Snapshot::IsEnabled()) return;
|
| Heap::ConfigureHeap(2*256*KB, 4*MB);
|
|
|
| // Test the situation that some objects in new space are promoted to
|
|
|