E&S CVS Commit: BytecodeAssembler - Simplify constant folding by using partial evaluation. This makes it

pje at eby-sarna.com pje at eby-sarna.com
Mon Jun 19 21:34:08 EDT 2006


Author: pje
Date: Mon Jun 19 21:34:07 2006
New Revision: 2198

URL: http://svn.eby-sarna.com?rev=2198&view=rev
Log:
Simplify constant folding by using partial evaluation.  This makes it 
trivial to do simple constant folding for new node types and ensures 
that the results are consistent with the code that would've been 
generated in the non-folded cases.

Modified:
    BytecodeAssembler/README.txt
    BytecodeAssembler/peak/util/assembler.py




More information about the source-changes mailing list