Really enable flight_recorder with predecode cache on

This commit is contained in:
gbeauche 2003-10-11 16:43:42 +00:00
parent 7e20a8d205
commit a3036b0c9d
2 changed files with 3 additions and 7 deletions

View File

@ -177,10 +177,6 @@
#undef PPC_NO_STATIC_II_INDEX_TABLE
#endif
#if defined(PPC_FLIGHT_RECORDER) && !defined(PPC_NO_DECODE_CACHE)
#define PPC_NO_DECODE_CACHE
#endif
#if defined(PPC_EXECUTE_DUMP_STATE) && !defined(PPC_NO_DECODE_CACHE)
#define PPC_NO_DECODE_CACHE
#endif

View File

@ -342,7 +342,7 @@ inline void powerpc_cpu::do_execute()
#ifdef PPC_EXECUTE_DUMP_STATE
fprintf(stderr, "[%08x]-> %08x\n", pc(), opcode);
#endif
#if FLIGHT_RECORDER
#if PPC_FLIGHT_RECORDER
if (is_logging())
record_step(opcode);
#endif
@ -367,11 +367,11 @@ inline void powerpc_cpu::do_execute()
ii = decode(opcode);
di->opcode = opcode;
di->execute = ii->execute;
#if FLIGHT_RECORDER
#if PPC_FLIGHT_RECORDER
if (is_logging()) {
di++;
di->opcode = opcode;
di->execute = record_step;
di->execute = &powerpc_cpu::record_step;
}
#endif
if (++di >= decode_cache_end_p) {