Reify bytevector? in the correct module
authorAndy Wingo <wingo@pobox.com>
Fri, 6 Feb 2015 14:13:32 +0000 (15:13 +0100)
committerAndy Wingo <wingo@pobox.com>
Fri, 6 Feb 2015 14:13:32 +0000 (15:13 +0100)
* module/language/cps/reify-primitives.scm (primitive-module): Reify
  bytevector? in the correct module.  Thanks to Nala Ginrut for the
  report.

module/language/cps/reify-primitives.scm

index a4d7099..db9f4bb 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
@@ -46,7 +46,8 @@
 
 (define (primitive-module name)
   (case name
-    ((bytevector-length
+    ((bytevector?
+      bytevector-length
 
       bytevector-u8-ref bytevector-u8-set!
       bytevector-s8-ref bytevector-s8-set!