Use reverse! instead of reverse to avoid holding onto two copies of
authorGuillermo J. Rozas <edu/mit/csail/zurich/gjr>
Sun, 14 Feb 1993 22:02:38 +0000 (22:02 +0000)
committerGuillermo J. Rozas <edu/mit/csail/zurich/gjr>
Sun, 14 Feb 1993 22:02:38 +0000 (22:02 +0000)
the instruction list.

v7/src/compiler/machines/spectrum/lapopt.scm

index b49c58e8739f1fa477d58c8acb24aaa7e200ac9e..eaea0af0e5697c8aeb8dd9c5eaef4e7c1ae452c0 100644 (file)
@@ -1,6 +1,6 @@
 #| -*-Scheme-*-
 
-$Id: lapopt.scm,v 1.3 1993/02/14 06:26:55 gjr Exp $
+$Id: lapopt.scm,v 1.4 1993/02/14 22:02:38 gjr Exp $
 
 Copyright (c) 1991-1993 Massachusetts Institute of Technology
 
@@ -310,4 +310,4 @@ MIT in each case. |#
           (fix-sequences (cdr instrs)
                          (cons (car instrs) tail)))))
 
-  (fix-sequences (reverse instructions) '()))
\ No newline at end of file
+  (fix-sequences (reverse! instructions) '()))
\ No newline at end of file