summaryrefslogtreecommitdiffstats
path: root/tcg
diff options
context:
space:
mode:
authorRichard Henderson2015-12-11 18:17:45 +0100
committerRichard Henderson2016-02-09 00:19:32 +0100
commit201577059331b8b3aef221ee2ed594deb99d6631 (patch)
tree04aba76447d45125bb2e91adf16cd6428002e9ac /tcg
parenttcg: Respect highwater in tcg_out_tb_finalize (diff)
downloadqemu-201577059331b8b3aef221ee2ed594deb99d6631.tar.gz
qemu-201577059331b8b3aef221ee2ed594deb99d6631.tar.xz
qemu-201577059331b8b3aef221ee2ed594deb99d6631.zip
tcg: Remove lingering references to gen_opc_buf
Three in comments and one in code in the stub tcg_liveness_analysis. Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'tcg')
-rw-r--r--tcg/tcg.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tcg/tcg.c b/tcg/tcg.c
index cd62d81c2a..e6e844ca57 100644
--- a/tcg/tcg.c
+++ b/tcg/tcg.c
@@ -1576,8 +1576,7 @@ static void tcg_liveness_analysis(TCGContext *s)
/* dummy liveness analysis */
static void tcg_liveness_analysis(TCGContext *s)
{
- int nb_ops;
- nb_ops = s->gen_opc_ptr - s->gen_opc_buf;
+ int nb_ops = s->gen_next_op_idx;
s->op_dead_args = tcg_malloc(nb_ops * sizeof(uint16_t));
memset(s->op_dead_args, 0, nb_ops * sizeof(uint16_t));