From b5feddbf1efec10afcc93755728f37e6cbb33e91 Mon Sep 17 00:00:00 2001 From: Nguyen Anh Quynh Date: Mon, 28 Dec 2015 13:04:59 +0800 Subject: [PATCH] indentation --- qemu/tcg/tcg.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/qemu/tcg/tcg.c b/qemu/tcg/tcg.c index c55878bc..f7958553 100644 --- a/qemu/tcg/tcg.c +++ b/qemu/tcg/tcg.c @@ -1699,15 +1699,15 @@ static void tcg_liveness_analysis(TCGContext *s) // this causes problem because check_exit_request() inserts // brcond instruction in the middle of the TB, // which incorrectly flags end-of-block - if (op != INDEX_op_brcond_i32) - tcg_la_bb_end(s, dead_temps, mem_temps); - // Unicorn: we do not touch dead temps for brcond, - // but we should refresh TCG globals In-Memory states, - // otherwise, important CPU states(especially conditional flags) might be forgotten, - // result in wrongly generated host code that run into wrong branch. - // Refer to https://github.com/unicorn-engine/unicorn/issues/287 for further information - else - tcg_la_br_end(s, mem_temps); + if (op != INDEX_op_brcond_i32) + tcg_la_bb_end(s, dead_temps, mem_temps); + // Unicorn: we do not touch dead temps for brcond, + // but we should refresh TCG globals In-Memory states, + // otherwise, important CPU states(especially conditional flags) might be forgotten, + // result in wrongly generated host code that run into wrong branch. + // Refer to https://github.com/unicorn-engine/unicorn/issues/287 for further information + else + tcg_la_br_end(s, mem_temps); } else if (def->flags & TCG_OPF_SIDE_EFFECTS) { /* globals should be synced to memory */ memset(mem_temps, 1, s->nb_globals);