[armedbear-cvs] r11601 - trunk/abcl/src/org/armedbear/lisp

Erik Huelsmann ehuelsmann at common-lisp.net
Thu Jan 29 20:10:45 UTC 2009


Author: ehuelsmann
Date: Thu Jan 29 20:10:44 2009
New Revision: 11601

Log:
Only compile one or the other argument to an :int.

Modified:
   trunk/abcl/src/org/armedbear/lisp/compiler-pass2.lisp

Modified: trunk/abcl/src/org/armedbear/lisp/compiler-pass2.lisp
==============================================================================
--- trunk/abcl/src/org/armedbear/lisp/compiler-pass2.lisp	(original)
+++ trunk/abcl/src/org/armedbear/lisp/compiler-pass2.lisp	Thu Jan 29 20:10:44 2009
@@ -6860,7 +6860,7 @@
              ((or (fixnum-type-p type1) (fixnum-type-p type2))
 	      (compile-forms-and-maybe-emit-clear-values
                     arg1 'stack (when (fixnum-type-p type1) :int)
-                    arg2 'stack (when (fixnum-type-p type2) :int))
+                    arg2 'stack (when (null (fixnum-type-p type1)) :int))
               (when (fixnum-type-p type1)
                 (emit 'swap))
               (emit-invokevirtual +lisp-object-class+ "add"




More information about the armedbear-cvs mailing list