Change the way first class environments are handled.
authorGuillermo J. Rozas <edu/mit/csail/zurich/gjr>
Fri, 15 Apr 1988 02:22:34 +0000 (02:22 +0000)
committerGuillermo J. Rozas <edu/mit/csail/zurich/gjr>
Fri, 15 Apr 1988 02:22:34 +0000 (02:22 +0000)
There is an extra phase at the front end which translates implicit
environment manipulation operations into explicit ones.

v7/src/compiler/machines/bobcat/dassm3.scm

index f4421194d46937b0d5143d17242442f05703940f..66e9b753b50f4da5913b9fa87aec6db2386d75f9 100644 (file)
@@ -1,6 +1,6 @@
 #| -*-Scheme-*-
 
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/compiler/machines/bobcat/dassm3.scm,v 4.2 1988/01/02 21:02:45 cph Exp $
+$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/compiler/machines/bobcat/dassm3.scm,v 4.3 1988/04/15 02:22:34 jinx Exp $
 
 Copyright (c) 1987 Massachusetts Institute of Technology
 
@@ -407,7 +407,7 @@ MIT in each case. |#
      (cond ((= displacement 0)
            `(W ,(make-pc-relative (lambda () (fetch-immediate 'W)))))
           ((= displacement -1)
-           `(L (make-pc-relative (lambda () (fetch-immediate 'L)))))
+           `(L ,(make-pc-relative (lambda () (fetch-immediate 'L)))))
           (else
            `(B ,(make-pc-relative (lambda () displacement))))))))