Changeset 5058
- Timestamp:
- Aug 28, 2006, 3:48:57 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/ccl/lib/nfcomp.lisp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ccl/lib/nfcomp.lisp
r4999 r5058 892 892 ;These should be constants, but it's too much trouble when need to change 'em. 893 893 (defparameter FASL-FILE-ID #xFF00) ;Overall file format, shouldn't change much 894 (defparameter FASL-VERSION #xFF4 8) ;Fasl block format.894 (defparameter FASL-VERSION #xFF49) ;Fasl block format. 895 895 896 896 (defvar *fasdump-hash*) … … 1225 1225 (single-float (fasl-dump-sfloat exp)) 1226 1226 (simple-string (let* ((n (length exp))) 1227 (fasl-out-opcode $fasl- vstr exp)1227 (fasl-out-opcode $fasl-nvstr exp) 1228 1228 (fasl-out-count n) 1229 (fasl-out- ivectexp 0 n)))1229 (fasl-out-simple-string exp 0 n))) 1230 1230 (simple-bit-vector (fasl-dump-bit-vector exp)) 1231 1231 ((simple-array (unsigned-byte 8) (*)) … … 1489 1489 (defun fasl-dump-package (pkg) 1490 1490 (let ((name (package-name pkg))) 1491 (fasl-out-opcode $fasl- vpkg pkg)1492 (fasl-out- vstring name)))1491 (fasl-out-opcode $fasl-nvpkg pkg) 1492 (fasl-out-nvstring name))) 1493 1493 1494 1494 … … 1538 1538 (cond ((null pkg) 1539 1539 (progn 1540 (fasl-out-opcode (if idx $fasl- vmksym-special $fasl-vmksym) sym)1541 (fasl-out- vstring name)))1540 (fasl-out-opcode (if idx $fasl-nvmksym-special $fasl-nvmksym) sym) 1541 (fasl-out-nvstring name))) 1542 1542 (*fasdump-epush* 1543 1543 (progn 1544 1544 (fasl-out-byte (fasl-epush-op (if idx 1545 $fasl- vpkg-intern-special1546 $fasl- vpkg-intern)))1545 $fasl-nvpkg-intern-special 1546 $fasl-nvpkg-intern))) 1547 1547 (fasl-dump-form pkg) 1548 1548 (fasl-dump-epush sym) 1549 (fasl-out- vstring name)))1549 (fasl-out-nvstring name))) 1550 1550 (t 1551 1551 (progn 1552 1552 (fasl-out-byte (if idx 1553 $fasl- vpkg-intern-special1554 $fasl- vpkg-intern))1553 $fasl-nvpkg-intern-special 1554 $fasl-nvpkg-intern)) 1555 1555 (fasl-dump-form pkg) 1556 (fasl-out- vstring name))))))1556 (fasl-out-nvstring name)))))) 1557 1557 1558 1558 1559 1559 (defun fasl-unknown (exp) 1560 (error "Can't dump ~S - unknown type" exp)) 1561 1562 (defun fasl-out-vstring (str) 1560 (error "Can't dump ~S - unknown type" exp)) 1561 1562 (defun fasl-out-simple-string (str start end) 1563 (declare (simple-string str) (fixnum start end)) 1564 (do* ((k start (1+ k))) 1565 ((= k end)) 1566 (declare (fixnum k)) 1567 (fasl-out-count (char-code (schar str k))))) 1568 1569 (defun fasl-out-nvstring (str) 1563 1570 (fasl-out-count (length str)) 1564 (fasl-out- ivect str))1571 (fasl-out-simple-string str 0 (length str))) 1565 1572 1566 1573 (defun fasl-out-ivect (iv &optional
Note:
See TracChangeset
for help on using the changeset viewer.
