]> git.proxmox.com Git - qemu.git/commitdiff
cris: Remove unused orig_flags
authorEdgar E. Iglesias <edgar@axis.com>
Mon, 10 Jan 2011 22:28:08 +0000 (23:28 +0100)
committerEdgar E. Iglesias <edgar@axis.com>
Mon, 10 Jan 2011 22:28:08 +0000 (23:28 +0100)
Based on a patch by Blue Swirl <blauwirbel@gmail.com>.

Signed-off-by: Edgar E. Iglesias <edgar@axis.com>
target-cris/translate.c

index 9e403dc4f2405ba56c19250b8a95a0cecbe26023..e09aaa9e9d13894808b9fb0a0eb093cb683fc8c0 100644 (file)
@@ -3185,7 +3185,7 @@ gen_intermediate_code_internal(CPUState *env, TranslationBlock *tb,
 {
        uint16_t *gen_opc_end;
        uint32_t pc_start;
-       unsigned int insn_len, orig_flags;
+       unsigned int insn_len;
        int j, lj;
        struct DisasContext ctx;
        struct DisasContext *dc = &ctx;
@@ -3229,7 +3229,7 @@ gen_intermediate_code_internal(CPUState *env, TranslationBlock *tb,
        dc->cc_size_uptodate = -1;
 
        /* Decode TB flags.  */
-       orig_flags = dc->tb_flags = tb->flags & (S_FLAG | P_FLAG | U_FLAG \
+       dc->tb_flags = tb->flags & (S_FLAG | P_FLAG | U_FLAG \
                                        | X_FLAG | PFIX_FLAG);
        dc->delayed_branch = !!(tb->flags & 7);
        if (dc->delayed_branch)