diff options
author | johnvg | 2002-03-06 16:11:04 +0000 |
---|---|---|
committer | johnvg | 2002-03-06 16:11:04 +0000 |
commit | 07fb2d5c8f7ee5dd64e6e3f097db99df802dc038 (patch) | |
tree | 14eda19329aee22d4f3895c4e6dfc4cd6ef8d9ee | |
parent | improve tail recursion modulo cons optimisation (diff) |
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
-rw-r--r-- | backendC/CleanCompilerSources/codegen3.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } } |