Skip to content

Commit

Permalink
PORT: Possibly collapsing VM instructions on 64 bit
Browse files Browse the repository at this point in the history
Visible using gcc 14 on arm64 (Asahi Linux)
  • Loading branch information
JanWielemaker committed May 31, 2024
1 parent eb82b51 commit f7c45f6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/pl-vmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -6415,6 +6415,9 @@ END_VMI
VMI(T_SMALLINTW, 0, CODES_PER_WORD, (CA1_WORD))
{ word w;

#if CODES_PER_WORD == 1
SEPARATE_VMI1; /* Might collapse with T_SMALLINT */
#endif
PC = code_get_word(PC, &w);
DEBUG(MSG_TRIE_VM, Sdprintf("T_SMALLINT %lld\n", (long long)w));
VMH_GOTO(t_const, consInt((sword)w));
Expand Down

0 comments on commit f7c45f6

Please sign in to comment.