From 30fcd6468fa05563af0835846c99e2aa00cba54b Mon Sep 17 00:00:00 2001 From: Yuichi Nishiwaki Date: Mon, 27 Jan 2014 21:24:10 +0900 Subject: [PATCH] reverse condition for tail position marking --- src/codegen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/codegen.c b/src/codegen.c index d4af043d..212465fc 100644 --- a/src/codegen.c +++ b/src/codegen.c @@ -571,7 +571,7 @@ analyze_call(analyze_state *state, pic_value obj, bool tailpos) pic_value seq; pic_sym call; - if (tailpos) { + if (! tailpos) { call = state->sCALL; } else { call = state->sTAILCALL;