cmpc-machine.lsp: --with-sse=yes build failure fix. Closes #301.
authorDaniel Kochmański <dkochmanski@antmicro.com>
Thu, 26 Feb 2015 14:48:58 +0000 (15:48 +0100)
committerDaniel Kochmański <dkochmanski@antmicro.com>
Thu, 26 Feb 2015 14:48:58 +0000 (15:48 +0100)
Typo in rewriting cmpc-machine in order to enable cross-compilation for ecl.
Related ticket: https://sourceforge.net/p/ecls/bugs/301/

src/cmp/cmpc-machine.lsp

index 2762748..b55b236 100644 (file)
     ;; 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)