diff options
Diffstat (limited to 'src/3rdparty/v8/src/store-buffer.cc')
-rw-r--r-- | src/3rdparty/v8/src/store-buffer.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/3rdparty/v8/src/store-buffer.cc b/src/3rdparty/v8/src/store-buffer.cc index 3852155..66488ae 100644 --- a/src/3rdparty/v8/src/store-buffer.cc +++ b/src/3rdparty/v8/src/store-buffer.cc @@ -372,7 +372,7 @@ void StoreBuffer::GCPrologue() { } -#ifdef DEBUG +#ifdef VERIFY_HEAP static void DummyScavengePointer(HeapObject** p, HeapObject* o) { // Do nothing. } @@ -415,7 +415,7 @@ void StoreBuffer::VerifyPointers(LargeObjectSpace* space) { void StoreBuffer::Verify() { -#ifdef DEBUG +#ifdef VERIFY_HEAP VerifyPointers(heap_->old_pointer_space(), &StoreBuffer::FindPointersToNewSpaceInRegion); VerifyPointers(heap_->map_space(), @@ -427,9 +427,11 @@ void StoreBuffer::Verify() { void StoreBuffer::GCEpilogue() { during_gc_ = false; +#ifdef VERIFY_HEAP if (FLAG_verify_heap) { Verify(); } +#endif } |