tcg: add temp_dead()
authorAurelien Jarno <aurelien@aurel32.net>
Tue, 9 Oct 2012 19:53:06 +0000 (21:53 +0200)
committerAurelien Jarno <aurelien@aurel32.net>
Sun, 28 Oct 2012 13:54:21 +0000 (14:54 +0100)
commit639368dd685f89b0567b56304c62937ad0ef8248
tree40329ef7912237905a7fa4d01f9648cd174ff716
parent17b914912d6175a5405d472832d6eba6187b6beb
tcg: add temp_dead()

A lot of code is duplicated to mark a temporary as dead. Replace it
by temp_dead(), which in addition marks the temp as saved in memory
for globals and local temps, instead of doing this a posteriori in
temp_save().

Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
tcg/tcg.c