-
-
Save zoffixznet/588481170beb657f6727cc95528ddbe2 to your computer and use it in GitHub Desktop.
This file contains 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 932fea4..49c608d 100644 | |
--- a/src/6model/reprs/P6opaque.c | |
+++ b/src/6model/reprs/P6opaque.c | |
@@ -1751,6 +1751,7 @@ static void spesh(MVMThreadContext *tc, MVMSTable *st, MVMSpeshGraph *g, MVMSpes | |
ins->operands[0] = orig_operands[0]; | |
ins->operands[1] = orig_operands[1]; | |
ins->operands[2].lit_i16 = repr_data->attribute_offsets[repr_data->unbox_int_slot]; | |
+ MVM_spesh_get_and_use_facts(tc, g, orig_operands[1]); | |
} | |
} | |
break; | |
@@ -1765,6 +1766,7 @@ static void spesh(MVMThreadContext *tc, MVMSTable *st, MVMSpeshGraph *g, MVMSpes | |
ins->operands[0] = orig_operands[0]; | |
ins->operands[1] = orig_operands[1]; | |
ins->operands[2].lit_i16 = repr_data->attribute_offsets[repr_data->unbox_num_slot]; | |
+ MVM_spesh_get_and_use_facts(tc, g, orig_operands[1]); | |
} | |
} | |
break; | |
@@ -1779,6 +1781,7 @@ static void spesh(MVMThreadContext *tc, MVMSTable *st, MVMSpeshGraph *g, MVMSpes | |
ins->operands[0] = orig_operands[0]; | |
ins->operands[1] = orig_operands[1]; | |
ins->operands[2].lit_i16 = repr_data->attribute_offsets[repr_data->unbox_str_slot]; | |
+ MVM_spesh_get_and_use_facts(tc, g, orig_operands[1]); | |
} | |
} | |
break; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment