1 2 3 4 5 6 7 8 9 10 11 12
|
Description: https://github.com/MoarVM/MoarVM/commit/c5bc342e3d8b2d393b5b387f026b2dd154febc3e
--- a/src/spesh/optimize.c
+++ b/src/spesh/optimize.c
@@ -1128,7 +1128,7 @@
}
/* assign a constant value */
ins->info = MVM_op_get_op(MVM_OP_const_i64_16);
- ins->operands[1].lit_i64 = truthvalue;
+ ins->operands[1].lit_i16 = truthvalue;
/* we're no longer using this object (but we rely on the facts provided) */
MVM_spesh_use_facts(tc, g, input_facts);
MVM_spesh_usages_delete(tc, g, input_facts, ins);
|