Reviewers: Vyacheslav Egorov,

Description:
Fix compile error in release mode.

Please review this at http://codereview.chromium.org/6837025/

SVN Base: http://v8.googlecode.com/svn/branches/experimental/gc/

Affected files:
  M     src/mark-compact.h


Index: src/mark-compact.h
===================================================================
--- src/mark-compact.h  (revision 7593)
+++ src/mark-compact.h  (working copy)
@@ -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