Fix verify-cps
authorAndy Wingo <wingo@pobox.com>
Sun, 25 Jan 2015 10:39:42 +0000 (11:39 +0100)
committerAndy Wingo <wingo@pobox.com>
Sun, 25 Jan 2015 10:39:42 +0000 (11:39 +0100)
* module/language/cps/verify.scm (verify-cps): Fix.  Thanks to Steven
  H. Margolis for the note.  Fixes bug #19389.

module/language/cps/verify.scm

index a39e99b..a52924b 100644 (file)
@@ -1,6 +1,6 @@
 ;;; Continuation-passing style (CPS) intermediate language (IL)
 
-;; Copyright (C) 2013, 2014 Free Software Foundation, Inc.
+;; Copyright (C) 2013, 2014, 2015 Free Software Foundation, Inc.
 
 ;;;; This library is free software; you can redistribute it and/or
 ;;;; modify it under the terms of the GNU Lesser General Public
     (match fun
       (($ $fun (free ...) entry)
        (for-each (cut check-var <> v-env) free)
-       (visit-entry '() v-env))
+       (visit-entry entry '() v-env))
       (_
        (error "unexpected $fun" fun))))