Revision: 7607
Author:   [email protected]
Date:     Wed Apr 13 07:37:00 2011
Log:      Fix compile error in release mode.
Review URL: http://codereview.chromium.org/6837025
http://code.google.com/p/v8/source/detail?r=7607

Modified:
 /branches/experimental/gc/src/mark-compact.h

=======================================
--- /branches/experimental/gc/src/mark-compact.h        Mon Apr 11 00:25:36 2011
+++ /branches/experimental/gc/src/mark-compact.h        Wed Apr 13 07:37:00 2011
@@ -231,13 +231,11 @@
   static const uint32_t kSingleFreeEncoding = 0;
   static const uint32_t kMultiFreeEncoding = 1;

-#ifdef DEBUG
   static bool IsMarked(Object* obj) {
     ASSERT(obj->IsHeapObject());
     HeapObject* heap_object = HeapObject::cast(obj);
     return Marking::MarkBitFrom(heap_object).Get();
   }
-#endif

  private:
 #ifdef DEBUG

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to