Created
September 10, 2014 15:22
-
-
Save jnthn/9f6bcae485fed4511392 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/serialization.c b/src/6model/serialization.c | |
index 5e2bc38..788b073 100644 | |
--- a/src/6model/serialization.c | |
+++ b/src/6model/serialization.c | |
@@ -570,6 +570,9 @@ void MVM_serialization_write_ref(MVMThreadContext *tc, MVMSerializationWriter *w | |
else if (REPR(ref)->ID == MVM_REPR_ID_MVMMultiCache) { | |
discrim = REFVAR_VM_NULL; | |
} | |
+ else if (REPR(ref)->ID == MVM_REPR_ID_MVMOSHandle) { | |
+ discrim = REFVAR_VM_NULL; | |
+ } | |
else if (STABLE(ref) == STABLE(tc->instance->boot_types.BOOTInt)) { | |
discrim = REFVAR_VM_INT; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment