Restructure LIAR's lists of foldable variables and primitives.
authorTaylor R Campbell <campbell@mumble.net>
Sun, 1 Nov 2009 01:29:00 +0000 (21:29 -0400)
committerTaylor R Campbell <campbell@mumble.net>
Sun, 1 Nov 2009 01:29:00 +0000 (21:29 -0400)
commit7451c947a397e4e68106dc9fb6afd324b949e167
tree531819b6035a2069e3890bb10be283f2817464ae
parent89668d2e956ed41cd5e3114465be88c0118f01c6
Restructure LIAR's lists of foldable variables and primitives.

Treat global variables and primitives separately when enumerating the
global boolean-valued, function, or side-effect-free operators.  This
re-enables LIAR's constant-folding after it was defeated by earlier
changes to bind global variables to compiled procedures that call
primitives, rather than to bind them to the primitives.
src/compiler/base/utils.scm