From 621d748bac0914a93e3d399f81616c70fd083bb5 Mon Sep 17 00:00:00 2001 From: "kr.angelov" Date: Thu, 11 Sep 2014 15:39:39 +0000 Subject: a major revision of the bytecode generator and JIT compiler. the effect is that now we can compute with lambda functions and with true tail recursion --- src/runtime/c/pgf/lightning/core-common.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/runtime/c/pgf/lightning/core-common.h') 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 -- cgit v1.2.3