Fix typo in `fp-copy'.
authorChris Hanson <org/chris-hanson/cph>
Wed, 28 Nov 1990 22:10:07 +0000 (22:10 +0000)
committerChris Hanson <org/chris-hanson/cph>
Wed, 28 Nov 1990 22:10:07 +0000 (22:10 +0000)
v7/src/compiler/machines/mips/lapgen.scm

index 4a0274dd40cbc45cd6c7cd8fb4d85baeea121012..6668948e0c12f0340b8155c7c03db82e51b8569e 100644 (file)
@@ -1,6 +1,6 @@
 #| -*-Scheme-*-
 
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/compiler/machines/mips/lapgen.scm,v 1.1 1990/05/07 04:15:06 jinx Exp $
+$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/compiler/machines/mips/lapgen.scm,v 1.2 1990/11/28 22:10:07 cph Exp $
 $MC68020-Header: lapgen.scm,v 4.26 90/01/18 22:43:36 GMT cph Exp $
 
 Copyright (c) 1988, 1989, 1990 Massachusetts Institute of Technology
@@ -236,7 +236,7 @@ MIT in each case. |#
      (ADDIU ,dest ,regnum:assembler-temp ,(adjusted:low value))))))
 \f
 (define (fp-copy from to)
-  (if (= r t)
+  (if (= to from)
       (LAP)
       (LAP (FMOV DOUBLE ,(float-register->fpr to)
                        ,(float-register->fpr from)))))