[svn:parrot] r48462 - branches/unshared_buffers/include/parrot
darbelo at svn.parrot.org
darbelo at svn.parrot.org
Fri Aug 13 17:09:24 UTC 2010
Author: darbelo
Date: Fri Aug 13 17:09:24 2010
New Revision: 48462
URL: https://trac.parrot.org/parrot/changeset/48462
Log:
Remove a macro with a misleading name and some obsolete pointer masking.
Modified:
branches/unshared_buffers/include/parrot/pobj.h
Modified: branches/unshared_buffers/include/parrot/pobj.h
==============================================================================
--- branches/unshared_buffers/include/parrot/pobj.h Fri Aug 13 17:09:01 2010 (r48461)
+++ branches/unshared_buffers/include/parrot/pobj.h Fri Aug 13 17:09:24 2010 (r48462)
@@ -57,8 +57,7 @@
casts. */
#define Buffer_alloc_offset sizeof (void*)
#define Buffer_bufallocstart(b) ((char *)Buffer_bufstart(b) - Buffer_alloc_offset)
-#define Buffer_bufrefcountptr(b) ((INTVAL *)Buffer_bufallocstart(b))
-#define Buffer_pool(b) ((Memory_Block *)( *(INTVAL*)(Buffer_bufallocstart(b)) & ~3 ))
+#define Buffer_pool(b) ((Memory_Block *)( *(INTVAL*)(Buffer_bufallocstart(b))))
#define Buffer_poolptr(b) ((Memory_Block **)Buffer_bufallocstart(b))
More information about the parrot-commits
mailing list