lightning.git - Portable just-in-time compiler library

index : lightning.git
Portable just-in-time compiler library
summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat
-rw-r--r--lib/jit_riscv.c 2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/jit_riscv.c b/lib/jit_riscv.c
index af140b5..c202d07 100644
--- a/lib/jit_riscv.c
+++ b/lib/jit_riscv.c
@@ -1595,6 +1595,7 @@ _emit_code(jit_state_t *_jit)
#if DEVEL_DISASSEMBLER
undo.prevw = prevw;
#endif
+ undo.const_offset = _jitc->consts.vector.offset;
undo.patch_offset = _jitc->patches.offset;
restart_function:
compute_framesize();
@@ -1632,6 +1633,7 @@ _emit_code(jit_state_t *_jit)
prevw = undo.prevw;
#endif
_jitc->patches.offset = undo.patch_offset;
+ _jitc->consts.vector.offset = undo.const_offset;
patch_alist(1);
goto restart_function;
}
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月22日 03:27:10 +0000

AltStyle によって変換されたページ (->オリジナル) /