summaryrefslogtreecommitdiff
path: root/src/runtime/c/pgf/lightning/core-common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/c/pgf/lightning/core-common.h')
-rw-r--r--src/runtime/c/pgf/lightning/core-common.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/runtime/c/pgf/lightning/core-common.h b/src/runtime/c/pgf/lightning/core-common.h
index b60f0bf31..04dbb2c7b 100644
--- a/src/runtime/c/pgf/lightning/core-common.h
+++ b/src/runtime/c/pgf/lightning/core-common.h
@@ -474,6 +474,12 @@ typedef union jit_code {
#endif
#endif
+#ifndef jit_setarg_p
+#ifdef JIT_FP
+#define jit_setarg_p(reg, ofs) jit_stxi_p((ofs), JIT_FP, (reg));
+#endif
+#endif
+
/* Common definitions when sizeof(long) = sizeof(int) */
#ifndef jit_addi_l