commit | 7f6ceedf9c5da96ee2b1fe42573b781243bc2828 | [log] [tgz] |
---|---|---|
author | Aurelien Jarno <aurelien@aurel32.net> | Tue Oct 09 21:53:06 2012 +0200 |
committer | Aurelien Jarno <aurelien@aurel32.net> | Sun Oct 28 14:54:21 2012 +0100 |
tree | 476019fca19a8eaabafa70864701a953977dcdcc | |
parent | 639368dd685f89b0567b56304c62937ad0ef8248 [diff] |
tcg: add tcg_reg_sync() Add a new function tcg_reg_sync() to synchronize the canonical location of a temp with the value in the associated register, but without freeing it. Rewrite tcg_reg_free() to first call tcg_reg_sync() and then to free the register. Reviewed-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>