tcg-arm: Fix local stack frame
authorRichard Henderson <rth@twiddle.net>
Wed, 13 Mar 2013 00:11:40 +0000 (17:11 -0700)
committerAurelien Jarno <aurelien@aurel32.net>
Fri, 26 Apr 2013 23:19:20 +0000 (01:19 +0200)
commitfc4d60ee16e9c20404e9970b421ac3e96df4c214
tree6cea7ee809f330dbf58e38cdaab0d5107bfd5bde
parented605126a8d826e60587cc21d9e7b95e8c49b6f6
tcg-arm: Fix local stack frame

We were not allocating TCG_STATIC_CALL_ARGS_SIZE, so this meant that
any helper with more than 4 arguments would clobber the saved regs.
Realizing that we're supposed to have this memory pre-allocated means
we can clean up the tcg_out_arg functions, which were trying to do
more stack allocation.

Allocate stack memory for the TCG temporaries while we're at it.

Signed-off-by: Richard Henderson <rth@twiddle.net>
tcg/arm/tcg-target.c