Chromium Code Reviews| Index: src/incremental-marking.cc |
| =================================================================== |
| --- src/incremental-marking.cc (revision 9765) |
| +++ src/incremental-marking.cc (working copy) |
| @@ -473,7 +473,9 @@ |
| #ifdef DEBUG |
| // Marking bits are cleared by the sweeper. |
| - heap_->mark_compact_collector()->VerifyMarkbitsAreClean(); |
| + if (FLAG_enable_slow_asserts) { |
| + heap_->mark_compact_collector()->VerifyMarkbitsAreClean(); |
| + } |
| #endif |
| heap_->CompletelyClearInstanceofCache(); |