code cleanup for if-const dead code removal: move handling into ConstantFolding trans...
authorStefan Behnel <scoder@users.berlios.de>
Thu, 29 Apr 2010 06:00:37 +0000 (08:00 +0200)
committerStefan Behnel <scoder@users.berlios.de>
Thu, 29 Apr 2010 06:00:37 +0000 (08:00 +0200)
commitc14e8aea282a5e115c19d3b910d5a8cb40bb7326
treeb5a4f9493145cff91d91ad123f0c9408e7f0204c
parent7fbed8c345f24e90fe912445cfc75ab790a3bb64
code cleanup for if-const dead code removal: move handling into ConstantFolding transform, where it can also replace the entire node

--HG--
rename : tests/run/consts.pyx => tests/run/if_const.pyx
Cython/Compiler/Nodes.py
Cython/Compiler/Optimize.py
tests/run/consts.pyx
tests/run/if_const.pyx [new file with mode: 0644]