From ddd6402a16df6837889b094f5216b3a45dca511f Mon Sep 17 00:00:00 2001 From: gbeauche <> Date: Fri, 2 Jul 2004 15:38:54 +0000 Subject: [PATCH] fix jump crossing init of start_time --- SheepShaver/src/kpx_cpu/src/cpu/ppc/ppc-cpu.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SheepShaver/src/kpx_cpu/src/cpu/ppc/ppc-cpu.cpp b/SheepShaver/src/kpx_cpu/src/cpu/ppc/ppc-cpu.cpp index d30b56c4..42eec112 100644 --- a/SheepShaver/src/kpx_cpu/src/cpu/ppc/ppc-cpu.cpp +++ b/SheepShaver/src/kpx_cpu/src/cpu/ppc/ppc-cpu.cpp @@ -502,7 +502,8 @@ void powerpc_cpu::execute(uint32 entry) pdi_compile: #if PPC_PROFILE_COMPILE_TIME compile_count++; - clock_t start_time = clock(); + clock_t start_time; + start_time = clock(); #endif bi = block_cache.new_blockinfo(); bi->init(pc());