diff options
Diffstat (limited to 'target-ppc/translate.c')
-rw-r--r-- | target-ppc/translate.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/target-ppc/translate.c b/target-ppc/translate.c index 7e684495de..fd52f73cc6 100644 --- a/target-ppc/translate.c +++ b/target-ppc/translate.c @@ -3002,7 +3002,6 @@ CPUPPCState *cpu_ppc_init(void) #else env->nip = 0xFFFFFFFC; #endif - env->access_type = ACCESS_INT; cpu_single_env = env; return env; } @@ -3050,12 +3049,9 @@ int gen_intermediate_code_internal (CPUState *env, TranslationBlock *tb, /* Single step trace mode */ msr_se = 1; #endif - env->access_type = ACCESS_CODE; /* Set env in case of segfault during code fetch */ while (ctx.exception == EXCP_NONE && gen_opc_ptr < gen_opc_end) { if (search_pc) { - if (loglevel > 0) - fprintf(logfile, "Search PC...\n"); j = gen_opc_ptr - gen_opc_buf; if (lj < j) { lj++; @@ -3187,8 +3183,6 @@ int gen_intermediate_code_internal (CPUState *env, TranslationBlock *tb, fprintf(logfile, "\n"); } #endif - env->access_type = ACCESS_INT; - return 0; } |