cmpc-machine.lsp: --with-sse=yes build failure fix. Closes #301.

Typo in rewriting cmpc-machine in order to enable cross-compilation for ecl.
Related ticket: https://sourceforge.net/p/ecls/bugs/301/
This commit is contained in:
Daniel Kochmański 2015-02-26 15:48:58 +01:00
parent cb24d0b7b0
commit 0d97f64c60

View file

@ -148,7 +148,7 @@
;; hack: sse-pack -> int, but int -> int-sse-pack
(let ((r (gethash :int-sse-pack table)))
(when r
(setf (rep-type-to-lisp r) 'ext:int-sse-pack)))
(setf (rep-type-index r) 'ext:int-sse-pack)))
;; On a second pass, we replace types with more general ones
(loop with fixnum-rep-type = (gethash ':fixnum table)
with fixnum-lisp-type = (rep-type-lisp-type fixnum-rep-type)