Index: src/mark-compact.cc |
=================================================================== |
--- src/mark-compact.cc (revision 11455) |
+++ src/mark-compact.cc (working copy) |
@@ -1665,12 +1665,6 @@ |
void MarkCompactCollector::PrepareForCodeFlushing() { |
ASSERT(heap() == Isolate::Current()->heap()); |
- // TODO(1609) Currently incremental marker does not support code flushing. |
- if (!FLAG_flush_code || was_marked_incrementally_) { |
- EnableCodeFlushing(false); |
- return; |
- } |
- |
#ifdef ENABLE_DEBUGGER_SUPPORT |
if (heap()->isolate()->debug()->IsLoaded() || |
heap()->isolate()->debug()->has_break_points()) { |
@@ -1975,6 +1969,7 @@ |
static void DiscoverGreyObjectsOnPage(MarkingDeque* marking_deque, Page* p) { |
+ ASSERT(!marking_deque->IsFull()); |
ASSERT(strcmp(Marking::kWhiteBitPattern, "00") == 0); |
ASSERT(strcmp(Marking::kBlackBitPattern, "10") == 0); |
ASSERT(strcmp(Marking::kGreyBitPattern, "11") == 0); |