summaryrefslogtreecommitdiffstats
path: root/parser.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2018-07-09 20:36:03 -0700
committerKaz Kylheku <kaz@kylheku.com>2018-07-09 20:36:03 -0700
commitb342d42c002f92f6b34923a1f362563e004d96a0 (patch)
tree50e54b5463ff45700883f41e946f7d9a861f02d4 /parser.h
parentc6457e45905a6fedc80db5edf0b11a19d0f6d9a1 (diff)
downloadtxr-b342d42c002f92f6b34923a1f362563e004d96a0.tar.gz
txr-b342d42c002f92f6b34923a1f362563e004d96a0.tar.bz2
txr-b342d42c002f92f6b34923a1f362563e004d96a0.zip
compiler: don't hardcode eq in if optimization.
* share/txr/stdlib/compiler.tl (copmiler comp-ift): In the case when both values being compared are constant expressions, evaluate the comparison statically using the function, rather than a hard coded eq. Right now, the only funtion handled is in fact eq.
Diffstat (limited to 'parser.h')
0 files changed, 0 insertions, 0 deletions