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/data.h | 21 ++++++--------------- 1 file changed, 6 insertions(+), 15 deletions(-) (limited to 'src/runtime/c/pgf/data.h') diff --git a/src/runtime/c/pgf/data.h b/src/runtime/c/pgf/data.h index d725a052b..dc6965174 100644 --- a/src/runtime/c/pgf/data.h +++ b/src/runtime/c/pgf/data.h @@ -105,27 +105,18 @@ typedef struct { typedef enum { PGF_INSTR_ENTER, - PGF_INSTR_EVAL_ARG_VAR, - PGF_INSTR_EVAL_FREE_VAR, PGF_INSTR_CASE, - PGF_INSTR_CASE_INT, - PGF_INSTR_CASE_STR, - PGF_INSTR_CASE_FLT, + PGF_INSTR_CASE_LIT, PGF_INSTR_ALLOC, PGF_INSTR_PUT_CONSTR, PGF_INSTR_PUT_FUN, PGF_INSTR_PUT_CLOSURE, - PGF_INSTR_PUT_INT, - PGF_INSTR_PUT_STR, - PGF_INSTR_PUT_FLT, - PGF_INSTR_SET_VALUE, - PGF_INSTR_SET_ARG_VAR, - PGF_INSTR_SET_FREE_VAR, + PGF_INSTR_PUT_LIT, + PGF_INSTR_SET, PGF_INSTR_SET_PAD, - PGF_INSTR_PUSH_VALUE, - PGF_INSTR_PUSH_ARG_VAR, - PGF_INSTR_PUSH_FREE_VAR, - PGF_INSTR_TAIL_CALL, + PGF_INSTR_PUSH, + PGF_INSTR_EVAL, + PGF_INSTR_CALL, PGF_INSTR_FAIL, PGF_INSTR_UPDATE, PGF_INSTR_RET -- cgit v1.2.3