OSDN Git Service

tcg: don't explicitly save globals and temps
authorAurelien Jarno <aurelien@aurel32.net>
Tue, 9 Oct 2012 19:53:07 +0000 (21:53 +0200)
committerAurelien Jarno <aurelien@aurel32.net>
Sun, 28 Oct 2012 13:54:22 +0000 (14:54 +0100)
commit2c0366f036cbb7b2565ba8185a9daee98d709edb
tree093fae45074c6ee4af25e0c1da0511b5d44896c0
parent7dfd8c6aa1d0691d03c5ccc9b0c5a93bcf00f768
tcg: don't explicitly save globals and temps

The liveness analysis ensures that globals and temps are at the correct
state at a basic block end or with an op with side effects. Avoid
looping on all temps, this can be time consuming on targets with a lot
of globals. Keep an assert in debug mode.

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