| Index: src/store-buffer.cc
|
| ===================================================================
|
| --- src/store-buffer.cc (revision 9765)
|
| +++ src/store-buffer.cc (working copy)
|
| @@ -390,20 +390,20 @@
|
|
|
| void StoreBuffer::Verify() {
|
| #ifdef DEBUG
|
| - if (FLAG_enable_slow_asserts || FLAG_verify_heap) {
|
| - VerifyPointers(heap_->old_pointer_space(),
|
| - &StoreBuffer::FindPointersToNewSpaceInRegion);
|
| - VerifyPointers(heap_->map_space(),
|
| - &StoreBuffer::FindPointersToNewSpaceInMapsRegion);
|
| - VerifyPointers(heap_->lo_space());
|
| - }
|
| + VerifyPointers(heap_->old_pointer_space(),
|
| + &StoreBuffer::FindPointersToNewSpaceInRegion);
|
| + VerifyPointers(heap_->map_space(),
|
| + &StoreBuffer::FindPointersToNewSpaceInMapsRegion);
|
| + VerifyPointers(heap_->lo_space());
|
| #endif
|
| }
|
|
|
|
|
| void StoreBuffer::GCEpilogue() {
|
| during_gc_ = false;
|
| - Verify();
|
| + if (FLAG_verify_heap) {
|
| + Verify();
|
| + }
|
| }
|
|
|
|
|
|
|