From 411954c96116cf03394d7f886cf5a6d4a803ec5e Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Fri, 29 May 2020 16:59:08 +0200 Subject: [PATCH] Fix typo causing performance problems!!! * module/language/cps/cse.scm (eliminate-common-subexpressions-in-fun): Amazingly this typo causes Guile to be 10% slower or so. Fixed! --- module/language/cps/cse.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/language/cps/cse.scm b/module/language/cps/cse.scm index 39d9a01f5..5fe89ce47 100644 --- a/module/language/cps/cse.scm +++ b/module/language/cps/cse.scm @@ -503,7 +503,7 @@ false. It could be that both true and false proofs are available." (define (visit-term label names vars term out substs analysis) (let ((term (rename-uses term substs)) - (analyis (propagate-analysis analysis label out))) + (analysis (propagate-analysis analysis label out))) (match term (($ $branch) ;; Can only forward predecessors if this continuation binds no