TCG: remove broken stack allocation for call arguments
authorBlue Swirl <blauwirbel@gmail.com>
Sat, 28 May 2011 07:13:05 +0000 (07:13 +0000)
committerBlue Swirl <blauwirbel@gmail.com>
Sun, 26 Jun 2011 18:25:47 +0000 (18:25 +0000)
commit0ae758aa89aabcd2b5c271a55a6d36c61c05f99d
tree864b8b8e7f7fc62f2cfad5e25a7e5d5b377133d6
parent783ea59a44ee6b5dd4de32aed52cbeb5bb978c7d
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