s->nb_temps = s->nb_globals; in tcg_func_start. Is it still possible to allocated TCGTemp globals after tcg_func_start is called. If it is allowed, aren't global temps and local temps going to become interleaved ?
Thanks Xin On Sun, Jan 8, 2012 at 8:37 AM, Peter Maydell <peter.mayd...@linaro.org> wrote: > On 8 January 2012 13:05, Xin Tong <xerox.time.t...@gmail.com> wrote: >> From the line of comment at TCGTemp * temps. The "globals first, >> temps after". Whenever a global/temp is allocated, the >> nb_globals/nb_temps is incremented. nb_globals is set to 0 when the >> tcg is initialized, but i can not find where nb_temps is set. Anyone >> care to answer ? > > tcg_func_start(). > > -- PMM