Fixed bug: editted target-register so that it always calls allocate-alias-
authorssmith <ssmith>
Thu, 12 Jan 1995 22:39:50 +0000 (22:39 +0000)
committerssmith <ssmith>
Thu, 12 Jan 1995 22:39:50 +0000 (22:39 +0000)
register.  If it is not called, then any assigns to machine registers will
not "lock" the register.  This was a problem when the procedure would assign
the return value and then use the same register to compute where to go next.

v8/src/compiler/machines/i386/lapgen.scm

index 0cc4fa22c125ade3092fc145c824ce543029f870..7eff85c4293b7adc125bc237d9bfe9624829b407 100644 (file)
@@ -1,6 +1,6 @@
 #| -*-Scheme-*-
 
-$Id: lapgen.scm,v 1.3 1995/01/11 21:09:46 ssmith Exp $
+$Id: lapgen.scm,v 1.4 1995/01/12 22:39:50 ssmith Exp $
 
 Copyright (c) 1992-1993 Massachusetts Institute of Technology
 
@@ -309,7 +309,7 @@ MIT in each case. |#
 \f
 (define (target-register target)
   (delete-dead-registers!)
-  (or (register-alias target 'GENERAL)
+  (or ;(register-alias target 'GENERAL)
       (allocate-alias-register! target 'GENERAL)))  
 
 (define-integrable (target-register-reference target)