[pypy-dev] [PATCH] Improving readability of generated .c code
Benjamin Peterson
benjamin at python.org
Tue Dec 14 02:14:04 CET 2010
2010/12/13 David Malcolm <dmalcolm at redhat.com>:
> One other idea I had was to sort the blocks in the function by the
> bytecode offset; currently the c blocks seem to "jump around" a fair bit
> relative to the corresponding rpython code. Has any tuning been done on
> the ordering of the blocks within the generated .c code? (or is it
> assumed that the .c compiler will "flatten" these, for the case when a
> node has a single successor node?)
GCC puts everything in SSA form, so it should eliminate all pointless jumps.
--
Regards,
Benjamin
More information about the Pypy-dev
mailing list