From 07fb2d5c8f7ee5dd64e6e3f097db99df802dc038 Mon Sep 17 00:00:00 2001 From: johnvg Date: Wed, 6 Mar 2002 16:11:04 +0000 Subject: bug fix in 'improved' tail recursion modulo cons optimisation git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1048 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d --- backendC/CleanCompilerSources/codegen3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backendC') diff --git a/backendC/CleanCompilerSources/codegen3.c b/backendC/CleanCompilerSources/codegen3.c index 48dfdc8..0402a8c 100644 --- a/backendC/CleanCompilerSources/codegen3.c +++ b/backendC/CleanCompilerSources/codegen3.c @@ -2495,7 +2495,7 @@ static int tail_call_modulo_cons_call (NodeP node_p,NodeDefP node_defs) break; } - if (n_node_id_refs!=0) + if (n_node_id_refs==0) return 1; } } -- cgit v1.2.3