summaryrefslogtreecommitdiff
path: root/shared/runtime/gchelper.h
diff options
context:
space:
mode:
Diffstat (limited to 'shared/runtime/gchelper.h')
-rw-r--r--shared/runtime/gchelper.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared/runtime/gchelper.h b/shared/runtime/gchelper.h
index a863fb9aa..1e85e06f4 100644
--- a/shared/runtime/gchelper.h
+++ b/shared/runtime/gchelper.h
@@ -41,7 +41,7 @@ typedef uintptr_t gc_helper_regs_t[4];
typedef uintptr_t gc_helper_regs_t[10];
#elif defined(__aarch64__)
typedef uintptr_t gc_helper_regs_t[11]; // x19-x29
-#elif defined(__riscv) && defined(__riscv_xlen) && (__riscv_xlen == 32)
+#elif defined(__riscv) && (__riscv_xlen <= 64)
typedef uintptr_t gc_helper_regs_t[12]; // S0-S11
#endif