Fix bug: RTL generation of return statement whose value is a constant
authorChris Hanson <org/chris-hanson/cph>
Wed, 6 Mar 1991 01:01:23 +0000 (01:01 +0000)
committerChris Hanson <org/chris-hanson/cph>
Wed, 6 Mar 1991 01:01:23 +0000 (01:01 +0000)
commit6d104812c65221fac1bfcd4d1c9e094156f24544
tree27f2f7d69b710fa1d58a995b357605200afa1da0
parentb259b293c02366a675d8ac208fc3218071354c0e
Fix bug: RTL generation of return statement whose value is a constant
or a trivially-closed procedure was incorrect.  Part of the code
generation assumed that the value would be used directly, while
another part assumed that it would be stored in a register and then
the register would be referenced.  Now both parts agree that the value
is used directly in this case.
v7/src/compiler/machines/bobcat/make.scm-68040
v7/src/compiler/machines/mips/make.scm-big
v7/src/compiler/machines/mips/make.scm-little
v7/src/compiler/machines/spectrum/make.scm
v7/src/compiler/rtlgen/fndvar.scm