Created
August 7, 2011 23:36
-
-
Save jnthn/1130934 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/6model/reprs/P6opaque.c b/src/6model/reprs/P6opaque.c | |
index b04bac1..c794499 100644 | |
--- a/src/6model/reprs/P6opaque.c | |
+++ b/src/6model/reprs/P6opaque.c | |
@@ -873,11 +873,11 @@ static void change_type(PARROT_INTERP, PMC *obj, PMC *new_type) { | |
PMC_data(obj) = new_body; | |
Parrot_gc_free_fixed_size_storage(interp, cur_repr_data->allocation_size, instance); | |
instance = new_body; | |
- PARROT_GC_WRITE_BARRIER(interp, obj); | |
} | |
/* Finally, we're ready to switch the S-Table pointer. */ | |
instance->common.stable = STABLE_PMC(new_type); | |
+ PARROT_GC_WRITE_BARRIER(interp, obj); | |
} | |
/* Initializes the P6opaque representation. */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment