commit | 80121491e083a3e80d482f73d201590083285d57 | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Sun Feb 20 12:41:32 2005 +0000 |
committer | Raymond Hettinger <python@rcn.com> | Sun Feb 20 12:41:32 2005 +0000 |
tree | 2b4326c876501e6dad7b91dfefeec607c6626bd4 | |
parent | 57e7447c447249a33a13da853f8c1bfec546842a [diff] |
Teach the peepholer to fold unary operations on constants. Afterwards, -0.5 loads in a single step and no longer requires a runtime UNARY_NEGATIVE operation.