Skip to content

Commit

Permalink
microblaze: Remove unused members from the disas context
Browse files Browse the repository at this point in the history
Signed-off-by: Edgar E. Iglesias <[email protected]>
  • Loading branch information
Edgar E. Iglesias authored and edgarigl committed Jul 24, 2010
1 parent 4b5ef0b commit a5efa64
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions target-microblaze/translate.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,7 @@ static TCGv env_iflags;
/* This is the state at translation time. */
typedef struct DisasContext {
CPUState *env;
target_ulong pc, ppc;
target_ulong cache_pc;
target_ulong pc;

/* Decoder. */
int type_b;
Expand Down Expand Up @@ -1274,9 +1273,7 @@ gen_intermediate_code_internal(CPUState *env, TranslationBlock *tb,
dc->is_jmp = DISAS_NEXT;
dc->jmp = 0;
dc->delayed_branch = !!(dc->tb_flags & D_FLAG);
dc->ppc = pc_start;
dc->pc = pc_start;
dc->cache_pc = -1;
dc->singlestep_enabled = env->singlestep_enabled;
dc->cpustate_changed = 0;
dc->abort_at_next_insn = 0;
Expand Down Expand Up @@ -1332,7 +1329,6 @@ gen_intermediate_code_internal(CPUState *env, TranslationBlock *tb,
decode(dc);
if (dc->clear_imm)
dc->tb_flags &= ~IMM_FLAG;
dc->ppc = dc->pc;
dc->pc += 4;
num_insns++;

Expand Down

0 comments on commit a5efa64

Please sign in to comment.