TCG: remove broken stack allocation for call arguments
commit345649c054648ce5812bb2b247969d188dcb0f87
authorBlue Swirl <blauwirbel@gmail.com>
Sat, 28 May 2011 07:13:05 +0000 (28 07:13 +0000)
committerBlue Swirl <blauwirbel@gmail.com>
Sun, 26 Jun 2011 18:25:47 +0000 (26 18:25 +0000)
tree864b8b8e7f7fc62f2cfad5e25a7e5d5b377133d6
parentb591dc59bc98ee558db4ca512aa117748ebfdeef
TCG: remove broken stack allocation for call arguments

The code for stack allocation for call arguments is way too simplistic
to actually work on targets with non-trivial stack allocation policies,
e.g. ppc64. We've also already allocated TCG_STATIC_CALL_ARGS_SIZE worth
of stack for calls which should be well more than any helper needs.

Remove broken dynamic stack allocation code and replace it with an assert.
Should dynamic stack allocation ever be needed again, target specific
functions should be added.

Thanks to Richard Henderson for the analysis.

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
tcg/tcg.c