Re: [Tinycc-devel] PATCH: In gen_vla_sp_restore, use X30 rather than get_reg.

2016-10-10 Thread Daniel Glöckner
On Mon, Oct 10, 2016 at 10:19:24AM +0200, Daniel Glöckner wrote: > On Sun, Oct 09, 2016 at 11:51:11PM +0100, Edmund Grimley Evans wrote: > > -uint32_t r = intr(get_reg(RC_INT)); > > +// Use x30 because this function can be called when there > > +// is a live return value in x0 but

Re: [Tinycc-devel] PATCH: In gen_vla_sp_restore, use X30 rather than get_reg.

2016-10-10 Thread Daniel Glöckner
On Sun, Oct 09, 2016 at 11:51:11PM +0100, Edmund Grimley Evans wrote: > -uint32_t r = intr(get_reg(RC_INT)); > +// Use x30 because this function can be called when there > +// is a live return value in x0 but there is nothing on > +// the value stack to prevent get_reg from