Fix two bugs in multiclosure code:
authorGuillermo J. Rozas <edu/mit/csail/zurich/gjr>
Fri, 24 Aug 1990 20:20:30 +0000 (20:20 +0000)
committerGuillermo J. Rozas <edu/mit/csail/zurich/gjr>
Fri, 24 Aug 1990 20:20:30 +0000 (20:20 +0000)
commit6a137fbefaec94d0bcd552e8a4c623aa59180094
tree22c75371c753b04430e44c31f78f37416af49b3b
parente6fa335b0149f9874186b25cb50fabbea4ad4f23
Fix two bugs in multiclosure code:

- non-canonical multi-closure entries appearing in letrecs were
computed incorrectly.  The context offset is not the context after
binding since the code has not finished pushing.

- referencing a closure from within itself cannot bypass the variable
lookup code if the closure for environment is not the closure for
value.  This only affects machines where closures are canonicalized
for environment.
v7/src/compiler/fgopt/offset.scm
v7/src/compiler/machines/bobcat/make.scm-68040
v7/src/compiler/rtlgen/rgrval.scm