Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Stub in SC barriers.
  • Loading branch information
jnthn committed Feb 27, 2012
1 parent f626c29 commit aba92d4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/6model/sixmodelobject.h
Expand Up @@ -350,6 +350,10 @@ struct SixModel_REPROps {
#define IS_CONCRETE(o) (!PObj_flag_TEST(private0, (o)))
#define MARK_AS_TYPE_OBJECT(o) PObj_flag_SET(private0, (o))

/* Write barriers for noticing changes to objects or STables with an SC. */
#define OBJ_SC_WRITE_BARRIER(o) if (SC_PMC(o)) { }
#define ST_SC_WRITE_BARRIER(st) if ((st)->sc) { }

/* Object model initialization. */
void SixModelObject_initialize(PARROT_INTERP, PMC **knowhow, PMC **knowhow_attribute);

Expand Down

0 comments on commit aba92d4

Please sign in to comment.