From 26ad164cecc65afd9420e0ac34a15d49b02e6cbf Mon Sep 17 00:00:00 2001 From: "kr.angelov" Date: Thu, 16 Oct 2014 10:00:32 +0000 Subject: finally proper stack unwind in the evaluator --- src/runtime/c/pgf/evaluator.h | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'src/runtime/c/pgf/evaluator.h') diff --git a/src/runtime/c/pgf/evaluator.h b/src/runtime/c/pgf/evaluator.h index 09b0afb2a..1f56d61a9 100644 --- a/src/runtime/c/pgf/evaluator.h +++ b/src/runtime/c/pgf/evaluator.h @@ -40,16 +40,12 @@ typedef struct { typedef struct { PgfClosure header; int level; - size_t n_args; - PgfClosure* args[]; } PgfValueGen; typedef struct { PgfClosure header; PgfEnv* env; PgfMetaId id; - size_t n_args; - PgfClosure* args[]; } PgfValueMeta; typedef struct { @@ -68,11 +64,12 @@ struct PgfEvalGates { PgfFunction evaluate_expr_thunk; PgfFunction evaluate_indirection; PgfFunction evaluate_value; - PgfFunction evaluate_value_gen; - PgfFunction evaluate_value_meta; PgfFunction evaluate_value_lit; PgfFunction evaluate_value_pap; PgfFunction evaluate_value_lambda; + PgfFunction evaluate_value_const; + PgfFunction evaluate_meta; + PgfFunction evaluate_gen; PgfFunction evaluate_caf; PgfFunction update_closure; -- cgit v1.2.3