Index: src/heap-inl.h |
=================================================================== |
--- src/heap-inl.h (revision 9808) |
+++ src/heap-inl.h (working copy) |
@@ -359,7 +359,6 @@ |
void Heap::CopyBlock(Address dst, Address src, int byte_size) { |
- ASSERT(IsAligned(byte_size, kPointerSize)); |
CopyWords(reinterpret_cast<Object**>(dst), |
reinterpret_cast<Object**>(src), |
byte_size / kPointerSize); |
@@ -591,7 +590,9 @@ |
void ExternalStringTable::ShrinkNewStrings(int position) { |
new_space_strings_.Rewind(position); |
- Verify(); |
+ if (FLAG_verify_heap) { |
+ Verify(); |
+ } |
} |