Fix variable names: the number was previously duplicated.
authorGuillermo J. Rozas <edu/mit/csail/zurich/gjr>
Sat, 13 Nov 1993 06:44:26 +0000 (06:44 +0000)
committerGuillermo J. Rozas <edu/mit/csail/zurich/gjr>
Sat, 13 Nov 1993 06:44:26 +0000 (06:44 +0000)
v7/src/compiler/machines/C/lapgen.scm

index 2473abfc8f312c4849e1b8704a257457850bb622..d9ca6eea29eea8833dc1b1cfd26a99ee0defe48c 100644 (file)
@@ -1,6 +1,6 @@
 #| -*-Scheme-*-
 
-$Id: lapgen.scm,v 1.9 1993/10/30 13:46:34 gjr Exp $
+$Id: lapgen.scm,v 1.10 1993/11/13 06:44:26 gjr Exp $
 
 Copyright (c) 1992-1993 Massachusetts Institute of Technology
 
@@ -74,10 +74,8 @@ MIT in each case. |#
 (define (reg*type->name reg type)
   (string-append
    (case type
-     ((WORD)
-      (string-append "Wrd" (number->string reg)))
-     ((DOUBLE)
-      (string-append "Dbl" (number->string reg)))
+     ((WORD) "Wrd")
+     ((DOUBLE) "Dbl")
      (else
       (comp-internal-error "Unknown type" 'REG*TYPE->NAME type)))
    (number->string reg)))