diff options
author | Aurelien Jarno <aurelien@aurel32.net> | 2012-09-10 14:23:49 +0200 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2012-09-19 21:40:46 +0200 |
commit | 332864bd95257111bf457e3f0501114028c107d6 (patch) | |
tree | 21f0b5adb837fb8d01c891d9ad510607590fc741 /tcg/tcg.c | |
parent | 5c2d2a9ee5f1978ae980598fba80151c761105a0 (diff) | |
download | qemu-332864bd95257111bf457e3f0501114028c107d6.zip qemu-332864bd95257111bf457e3f0501114028c107d6.tar.gz qemu-332864bd95257111bf457e3f0501114028c107d6.tar.bz2 |
tcg: mark set_label with TCG_OPF_BB_END flag
set_label is effectively the end of a basic block, as no optimization
can be made accross it. It was treated as such in the liveness analysis
code, but as a special case.
Mark it with TCG_OPF_BB_END flag so that this information can be used
by other parts of the TCG code, and remove the special case in the liveness
analysis code.
Cc: Blue Swirl <blauwirbel@gmail.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'tcg/tcg.c')
-rw-r--r-- | tcg/tcg.c | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -1297,11 +1297,6 @@ static void tcg_liveness_analysis(TCGContext *s) args--; } break; - case INDEX_op_set_label: - args--; - /* mark end of basic block */ - tcg_la_bb_end(s, dead_temps); - break; case INDEX_op_debug_insn_start: args -= def->nb_args; break; |