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

Erik Huelsmann ehuelsmann at common-lisp.net
Thu Nov 11 10:46:46 UTC 2010


Author: ehuelsmann
Date: Thu Nov 11 05:46:42 2010
New Revision: 13019

Log:
Don't manually iterate through subforms, use
available function for it.

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 Nov 11 05:46:42 2010
@@ -2752,8 +2752,7 @@
     (emit-push-current-thread)
     (emit-getfield +lisp-thread+ "_values" +lisp-object-array+)
     (astore values-register)
-    (dolist (subform subforms)
-      (compile-form subform nil nil))
+    (compile-progn-body subforms nil nil)
     ;; Restore multiple values returned by first subform.
     (emit-push-current-thread)
     (aload values-register)




More information about the armedbear-cvs mailing list