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

Add a new function temp_sync() to synchronize the canonical location
of a temp with the value in the corresponding register, but without
freeing the associated register. Rewrite temp_save() to call
temp_sync() followed by temp_dead().

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