Skip to content

Instantly share code, notes, and snippets.

@jnthn
Created December 14, 2011 11:30
Show Gist options
  • Save jnthn/1476220 to your computer and use it in GitHub Desktop.
Save jnthn/1476220 to your computer and use it in GitHub Desktop.
diff --git a/src/6model/reprs/CPointer.c b/src/6model/reprs/CPointer.c
index 35d036f..ff4c526 100644
--- a/src/6model/reprs/CPointer.c
+++ b/src/6model/reprs/CPointer.c
@@ -60,9 +60,9 @@ static void gc_free(PARROT_INTERP, PMC *obj) {
/* Gets the storage specification for this representation. */
static storage_spec get_storage_spec(PARROT_INTERP, STable *st) {
storage_spec spec;
- spec.inlineable = STORAGE_SPEC_INLINED;
- spec.bits = sizeof(CPointerBody) * 8;
+ spec.inlineable = STORAGE_SPEC_REFERENCE;
spec.boxed_primitive = STORAGE_SPEC_BP_NONE;
+ spec.can_box = 0;
return spec;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment