Index: src/heap.cc |
=================================================================== |
--- src/heap.cc (revision 2749) |
+++ src/heap.cc (working copy) |
@@ -2950,7 +2950,7 @@ |
#ifdef DEBUG |
void Heap::ZapFromSpace() { |
- ASSERT(HAS_HEAP_OBJECT_TAG(kFromSpaceZapValue)); |
+ ASSERT(reinterpret_cast<Object*>(kFromSpaceZapValue)->IsHeapObject()); |
for (Address a = new_space_.FromSpaceLow(); |
a < new_space_.FromSpaceHigh(); |
a += kPointerSize) { |