File: fix_rakudo-build-failure-on-big-endian.diff

package info (click to toggle)
moarvm 2018.12%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 18,196 kB
  • sloc: ansic: 223,172; perl: 7,638; sh: 4,452; makefile: 1,089; python: 568; asm: 8
file content (12 lines) | stat: -rw-r--r-- 567 bytes parent folder | download
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);