[svn:parrot] r49302 - in branches/generational_gc/lib/Parrot: . Pmc2c
bacek at svn.parrot.org
bacek at svn.parrot.org
Sat Sep 25 00:56:33 UTC 2010
Author: bacek
Date: Sat Sep 25 00:56:32 2010
New Revision: 49302
URL: https://trac.parrot.org/parrot/changeset/49302
Log:
Add wb_variant_vable pointer to VTABLE.
Modified:
branches/generational_gc/lib/Parrot/Pmc2c/PMCEmitter.pm
branches/generational_gc/lib/Parrot/Vtable.pm
Modified: branches/generational_gc/lib/Parrot/Pmc2c/PMCEmitter.pm
==============================================================================
--- branches/generational_gc/lib/Parrot/Pmc2c/PMCEmitter.pm Fri Sep 24 22:19:18 2010 (r49301)
+++ branches/generational_gc/lib/Parrot/Pmc2c/PMCEmitter.pm Sat Sep 25 00:56:32 2010 (r49302)
@@ -411,6 +411,7 @@
NULL, /* mro */
NULL, /* attribute_defs */
NULL, /* ro_variant_vtable */
+ NULL, /* wb_variant_vtable */
$methlist,
0 /* attr size */
};
Modified: branches/generational_gc/lib/Parrot/Vtable.pm
==============================================================================
--- branches/generational_gc/lib/Parrot/Vtable.pm Fri Sep 24 22:19:18 2010 (r49301)
+++ branches/generational_gc/lib/Parrot/Vtable.pm Sat Sep 25 00:56:32 2010 (r49302)
@@ -178,6 +178,8 @@
const char *attribute_defs; /* list of PMC attributes */
struct _vtable *ro_variant_vtable; /* A variant of this vtable with the
opposite IS_READONLY flag */
+ struct _vtable *wb_variant_vtable; /* A variant of this vtable with the
+ write barrier trampoline */
/* Vtable Functions */
EOF
@@ -256,6 +258,7 @@
"", /* class */
"", /* mro */
"", /* ro_variant_vtable */
+ "", /* wb_variant_vtable */
/* Vtable Functions */
EOM
More information about the parrot-commits
mailing list