From a2717958f05e30a176fc7a8ec1098443fd8b114e Mon Sep 17 00:00:00 2001 From: Slava Pestov Date: Sat, 18 Dec 2004 00:27:42 +0000 Subject: [PATCH] compiler does tail call optimization --- library/compiler/linearizer.factor | 6 +++-- library/compiler/simplifier.factor | 31 +++++++++++++++++++++--- library/test/benchmark/empty-loop.factor | 4 +-- library/test/benchmark/fac.factor | 6 ++++- library/test/benchmark/hashtables.factor | 7 +++--- library/test/benchmark/strings.factor | 5 ++-- library/test/benchmark/vectors.factor | 8 +++--- library/test/compiler/simplifier.factor | 29 +++++++++++++++++++++- library/test/crashes.factor | 2 ++ library/test/test.factor | 1 + native/types.h | 4 +-- 11 files changed, 82 insertions(+), 21 deletions(-) diff --git a/library/compiler/linearizer.factor b/library/compiler/linearizer.factor index 2198c80490..41451106eb 100644 --- a/library/compiler/linearizer.factor +++ b/library/compiler/linearizer.factor @@ -129,7 +129,7 @@ SYMBOL: #target ( part of jump table )