Index: test/cctest/test-heap.cc |
diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc |
index 0b0c7041f528512cf2c6976c9bca96e86e2a1e2e..45b77244b4f950bb93a959d916a3e7cd2d307444 100644 |
--- a/test/cctest/test-heap.cc |
+++ b/test/cctest/test-heap.cc |
@@ -1347,7 +1347,6 @@ TEST(TestCodeFlushingIncrementalAbort) { |
// code flushing candidate. |
SimulateIncrementalMarking(); |
-#ifdef ENABLE_DEBUGGER_SUPPORT |
// Enable the debugger and add a breakpoint while incremental marking |
// is running so that incremental marking aborts and code flushing is |
// disabled. |
@@ -1355,7 +1354,6 @@ TEST(TestCodeFlushingIncrementalAbort) { |
Handle<Object> breakpoint_object(Smi::FromInt(0), isolate); |
isolate->debug()->SetBreakPoint(function, breakpoint_object, &position); |
isolate->debug()->ClearAllBreakPoints(); |
-#endif // ENABLE_DEBUGGER_SUPPORT |
// Force optimization now that code flushing is disabled. |
{ v8::HandleScope scope(CcTest::isolate()); |
@@ -3660,10 +3658,8 @@ TEST(Regress173458) { |
// explicitly enqueued. |
SimulateIncrementalMarking(); |
-#ifdef ENABLE_DEBUGGER_SUPPORT |
// Now enable the debugger which in turn will disable code flushing. |
CHECK(isolate->debug()->Load()); |
-#endif // ENABLE_DEBUGGER_SUPPORT |
// This cycle will bust the heap and subsequent cycles will go ballistic. |
heap->CollectAllGarbage(Heap::kNoGCFlags); |