Fix build on non-GENCGC targets.
[sbcl.git] / src / compiler / target-dump.lisp
index 1ea911e..038c645 100644 (file)
@@ -20,7 +20,7 @@
 (defun dump-characters-of-string (s fasl-output)
   (declare (type string s) (type fasl-output fasl-output))
   (dovector (c s)
-    (dump-word (char-code c) fasl-output))
+    (dump-unsigned-byte-32 (char-code c) fasl-output))
   (values))
 #!+sb-unicode
 (defun dump-simple-character-string (s file)
@@ -33,7 +33,8 @@
 ;;; vector-like thing that we can BLT from.
 (defun dump-raw-bytes (vec n fasl-output)
   (declare (type index n) (type fasl-output fasl-output))
-  (sb!sys:output-raw-bytes (fasl-output-stream fasl-output) vec 0 n)
+  ;; FIXME: Why not WRITE-SEQUENCE?
+  (sb!impl::buffer-output (fasl-output-stream fasl-output) vec 0 n)
   (values))
 
 ;;; Dump a multi-dimensional array. Note: any displacements are folded out.