Source

pypy / pypy / translator / gensupp.py

Author Commit Message Labels Comments Date
Armin Rigo
(patch from agaynor) remove this too
Branches
kill-geninterp
Carl Friedrich Bolz
get rid of some more traverse calls
Christian Tismer
changed uniquename to really ensure unique names. an extra check is done whenever we change the name. modified it so that digits never get attached to digits.
Armin Rigo
Oups. Fix for the previous check-in.
Armin Rigo
Don't use more than 50 characters to build the C identifiers. Some C compilers don't like lines with 22322 characters.
Samuele Pedroni
issue107 in-progress in genc attach a global prefix to uniquename generated names (pypy_), some effort to avoid to have more than one 'pypy_' substring in a name. open questions: Do we think the prefixes OP_ LL_ and especially FAIL are safe enough? what to do about local var names?
Armin Rigo
Generate struct names with always a number at the end. This is both to avoid potential conflicts with predefined structures, and because it's less surprizing to have e.g. array structures called 'array0', 'array1', 'array2'... instead of 'array', 'array_1', 'array_2'.
Armin Rigo
Moved the branch back to the head.
Samuele Pedroni
let all applevel helpers' module be called __builtin__ changes to geninterplevel to be able to translate a module with __name__='__builtin__'
Christian Tismer
Yes, I did change this checkin, although it was totally correct. So why, you may ask??? Baaasically (Hi Alex) the same change that arigo did, but I really had to add some commentary, which should be dropped, after we fulfilled our task of really documenting and supporting the maintainers of tcc, who were so very helpful for us. Please, try to digest that sentence. We need to keep track of actions which we want to propagate through the pypy environment. We are an open-sourced, EU-fun…
Armin Rigo
Adds an "l_" prefix to local variables, to avoid clashes with type names (which trigger a tcc bug). This is meant as a temporary fix , and just trying. It does solve the problem. Christian, please feel free to do it as you like.
Christian Tismer
eol style
Christian Tismer
start of a generic support module for genxxx