Skip to content
Snippets Groups Projects
Commit 7f53b642 authored by ram's avatar ram
Browse files

Fixed byte-apply to compute the arglist in forward order when nargs >=8.

parent 0f03d47e
No related branches found
No related tags found
No related merge requests found
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
;;; Scott Fahlman or slisp-group@cs.cmu.edu. ;;; Scott Fahlman or slisp-group@cs.cmu.edu.
;;; ;;;
(ext:file-comment (ext:file-comment
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/byte-interp.lisp,v 1.13 1993/05/12 16:15:46 ram Exp $") "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/byte-interp.lisp,v 1.14 1993/05/12 21:03:03 ram Exp $")
;;; ;;;
;;; ********************************************************************** ;;; **********************************************************************
;;; ;;;
...@@ -1057,9 +1057,9 @@ ...@@ -1057,9 +1057,9 @@
(let ((args ()) (let ((args ())
(end (+ start num-args))) (end (+ start num-args)))
(declare (type stack-pointer end)) (declare (type stack-pointer end))
(do ((i start (1+ i))) (do ((i (1- end) (1- i)))
((= i end)) ((< i start))
(declare (type stack-pointer i)) (declare (fixnum i))
(push (eval-stack-ref i) args)) (push (eval-stack-ref i) args))
(setf (current-stack-pointer) restore-sp) (setf (current-stack-pointer) restore-sp)
(apply function args))))) (apply function args)))))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment