]> Git Repo - qemu.git/commit - tcg/tcg.c
tcg: correctly mark dead inputs for mov with a constant
authorAurelien Jarno <[email protected]>
Mon, 27 Jul 2015 10:55:57 +0000 (12:55 +0200)
committerRichard Henderson <[email protected]>
Mon, 27 Jul 2015 14:25:40 +0000 (07:25 -0700)
commit7df69deadf2f25c19b3ac121404ee31f71dce845
tree1639adba3688a8987a2ff3d536524bad980c2ece
parente40db4c6d391419c0039fe274c74df32a6ca1a28
tcg: correctly mark dead inputs for mov with a constant

When tcg_reg_alloc_mov propagate a constant, we failed to correctly mark
a temp as dead if the liveness analysis hints so. This fixes the
following assert when configure with --enable-debug-tcg:

  qemu-x86_64: tcg/tcg.c:1827: tcg_reg_alloc_bb_end: Assertion `ts->val_type == TEMP_VAL_DEAD' failed.

Cc: Richard Henderson <[email protected]>
Reported-by: Richard Henderson <[email protected]>
Signed-off-by: Aurelien Jarno <[email protected]>
Message-Id: <1437994568[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
tcg/tcg.c
This page took 0.02526 seconds and 4 git commands to generate.