[svn:parrot] r36552 - trunk/include/parrot
cotto at svn.parrot.org
cotto at svn.parrot.org
Tue Feb 10 17:57:31 UTC 2009
Author: cotto
Date: Tue Feb 10 17:57:31 2009
New Revision: 36552
URL: https://trac.parrot.org/parrot/changeset/36552
Log:
[gc] remove an obselete macro from a gc header
Modified:
trunk/include/parrot/gc_api.h
Modified: trunk/include/parrot/gc_api.h
==============================================================================
--- trunk/include/parrot/gc_api.h Tue Feb 10 17:46:48 2009 (r36551)
+++ trunk/include/parrot/gc_api.h Tue Feb 10 17:57:31 2009 (r36552)
@@ -246,21 +246,6 @@
/* HEADERIZER END: src/gc/incremental_ms.c */
/* write barrier */
-#if PARROT_GC_IMS
-# define GC_WRITE_BARRIER(interp, agg, old, _new) \
- do { \
- if (!PMC_IS_NULL(_new) && \
- PObj_live_TEST(agg) && \
- (PObj_get_FLAGS(agg) & PObj_custom_GC_FLAG) && \
- !PObj_live_TEST(_new)) { \
- Parrot_dod_ims_wb((interp), (agg), (_new)); \
- } \
- } while (0)
-
-# define GC_WRITE_BARRIER_KEY(interp, agg, old, old_key, _new, new_key) \
- GC_WRITE_BARRIER((interp), (agg), (old), (_new))
-#endif
-
#if PARROT_GC_MS
# define GC_WRITE_BARRIER(interp, agg, old, _new) do { } while (0)
# define GC_WRITE_BARRIER_KEY(interp, agg, old, old_key, _new, new_key) do { } while (0)
More information about the parrot-commits
mailing list