[svn:parrot] r47295 - branches/gc_massacre/src/gc

bacek at svn.parrot.org bacek at svn.parrot.org
Wed Jun 2 10:30:50 UTC 2010


Author: bacek
Date: Wed Jun  2 10:30:49 2010
New Revision: 47295
URL: https://trac.parrot.org/parrot/changeset/47295

Log:
Make GC.list compilable in optimized builds

Modified:
   branches/gc_massacre/src/gc/list.c

Modified: branches/gc_massacre/src/gc/list.c
==============================================================================
--- branches/gc_massacre/src/gc/list.c	Wed Jun  2 10:27:14 2010	(r47294)
+++ branches/gc_massacre/src/gc/list.c	Wed Jun  2 10:30:49 2010	(r47295)
@@ -128,8 +128,10 @@
 {
     List_Item_Header *tmp = list->first;
 
+#ifndef NDEBUG
     if (item->owner != list)
         return 0;
+#endif
 
     while (tmp) {
         if (tmp == item)


More information about the parrot-commits mailing list