From c9c99c22d5f8e9cfa83260fbe236a57e7383d673 Mon Sep 17 00:00:00 2001 From: Evgeny Voevodin Date: Wed, 21 Nov 2012 11:43:05 +0400 Subject: TCG: Use gen_opc_icount from context instead of global variable. Signed-off-by: Evgeny Voevodin Signed-off-by: Blue Swirl --- translate-all.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'translate-all.c') diff --git a/translate-all.c b/translate-all.c index d9c2e57..177e95a 100644 --- a/translate-all.c +++ b/translate-all.c @@ -148,7 +148,7 @@ int cpu_restore_state(TranslationBlock *tb, /* now find start of instruction before */ while (gen_opc_instr_start[j] == 0) j--; - env->icount_decr.u16.low -= gen_opc_icount[j]; + env->icount_decr.u16.low -= s->gen_opc_icount[j]; restore_state_to_opc(env, tb, j); -- cgit v1.1