From 31db161dcd01aa87314289ec3a44f15aae406edd Mon Sep 17 00:00:00 2001 From: Alex Shinn Date: Sun, 1 Apr 2012 21:00:15 +0900 Subject: [PATCH] Disabling SEXP_USE_TAIL_JUMPS optimization by default. --- include/chibi/features.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/chibi/features.h b/include/chibi/features.h index 75fc5695..7349a370 100644 --- a/include/chibi/features.h +++ b/include/chibi/features.h @@ -481,8 +481,10 @@ #define SEXP_DEFAULT_FOLD_CASE_SYMS 0 #endif +/* experimental optimization to use jumps instead of the TAIL-CALL opcode */ #ifndef SEXP_USE_TAIL_JUMPS -#define SEXP_USE_TAIL_JUMPS ! SEXP_USE_NO_FEATURES +/* #define SEXP_USE_TAIL_JUMPS ! SEXP_USE_NO_FEATURES */ +#define SEXP_USE_TAIL_JUMPS 0 #endif #ifndef SEXP_USE_RESERVE_OPCODE