Remove $void CPS expression type
[bpt/guile.git] / module / language / cps / verify.scm
index a39e99b..e005594 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))))
 
   (define (visit-expression exp k-env v-env)
     (match exp
-      (($ $void)
-       #t)
       (($ $const val)
        #t)
       (($ $prim (? symbol? name))