[interp] Use alloca for InterpFrame (#32720)
authormonojenkins <jo.shields+jenkins@xamarin.com>
Mon, 24 Feb 2020 09:31:31 +0000 (04:31 -0500)
committerGitHub <noreply@github.com>
Mon, 24 Feb 2020 09:31:31 +0000 (10:31 +0100)
commitc415fe33ac14ec47431a70e8936982295f67032a
tree80ba792bf7908964e844af866d02778926b1bebb
parent514c9c81b2f2e515a25da674907c417dd75870bc
[interp] Use alloca for InterpFrame (#32720)

This is like https://github.com/mono/mono/pull/19002 but next_free is initialized upon allocation instead of `pop_frame` which is a slight optimization, if it works.

Co-authored-by: Jay Krell <jay.krell@cornell.edu>
src/mono/mono/eglib/glib.h
src/mono/mono/mini/ee.h
src/mono/mono/mini/interp-stubs.c
src/mono/mono/mini/interp/interp-internals.h
src/mono/mono/mini/interp/interp.c
src/mono/mono/mini/mini-exceptions.c