Do not require `object-immutable?' of arguments to constant folding
authorChris Hanson <org/chris-hanson/cph>
Mon, 19 Dec 1988 20:23:28 +0000 (20:23 +0000)
committerChris Hanson <org/chris-hanson/cph>
Mon, 19 Dec 1988 20:23:28 +0000 (20:23 +0000)
commit2bb2af050d30f209fe8636ed7fe70d702d764599
tree3b8d91151ad2ae328f06815d24ad4f6c2bdb4c61
parentbeb3575bec76b1f8d39b78e16fe04a92237a0dc9
Do not require `object-immutable?' of arguments to constant folding
operations.  Because of the rule which says that constants appearing
in program text must be immutable, we can freely constant fold
anything that we can get our hands on, provided that we never constant
fold anything to does a cons-like operation.
v7/src/compiler/fgopt/folcon.scm