guile-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Guile-commits] 01/12: Fix effects analysis bug introduced with primcall


From: Andy Wingo
Subject: [Guile-commits] 01/12: Fix effects analysis bug introduced with primcall param
Date: Sat, 11 Nov 2017 16:12:24 -0500 (EST)

wingo pushed a commit to branch master
in repository guile.

commit 375eab5610dc5ff7616833698f7da581800c6ed5
Author: Andy Wingo <address@hidden>
Date:   Fri Nov 10 10:07:46 2017 +0100

    Fix effects analysis bug introduced with primcall param
    
    * module/language/cps/effects-analysis.scm (primitive-effects): Fix
      swapped name and param.  Embarrassing!
---
 module/language/cps/effects-analysis.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/module/language/cps/effects-analysis.scm 
b/module/language/cps/effects-analysis.scm
index 7679c7e..afcc39a 100644
--- a/module/language/cps/effects-analysis.scm
+++ b/module/language/cps/effects-analysis.scm
@@ -501,7 +501,7 @@ is or might be a read or a write to the same location as A."
 ;; so no need to have a case for them here.  (Though, see
 ;; https://jfbastien.github.io/no-sane-compiler/.)
 
-(define (primitive-effects name param args)
+(define (primitive-effects param name args)
   (let ((proc (hashq-ref *primitive-effects* name)))
     (if proc
         (apply proc param args)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]