Skip to content

Commit

Permalink
Fix riscv64 asm-indirect-jump.
Browse files Browse the repository at this point in the history
  • Loading branch information
maoif committed Nov 14, 2023
1 parent f1ce2bb commit e171768
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion s/riscv64.ss
Original file line number Diff line number Diff line change
Expand Up @@ -1659,7 +1659,7 @@
[(index) (n ireg breg)
(safe-assert (eqv? n 0))
(emit add %scratch1 ireg breg
(emit ld %jump %cond 0
(emit ld %jump %scratch1 0
(emit jalr %real-zero %jump 0 '())))]
[else (sorry! who "unexpected src ~s" src)]))))

Expand Down

0 comments on commit e171768

Please sign in to comment.