From 3bd5d0c78712559f339d637dafa843e2802c45b7 Mon Sep 17 00:00:00 2001 From: gbeauche <> Date: Sat, 6 May 2006 07:19:39 +0000 Subject: [PATCH] Instructions that trap are now an end-of-block condition. This should avoid the compilation of illegal instructions and thus stopping execution earlier. --- SheepShaver/src/kpx_cpu/src/cpu/ppc/ppc-cpu.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/SheepShaver/src/kpx_cpu/src/cpu/ppc/ppc-cpu.hpp b/SheepShaver/src/kpx_cpu/src/cpu/ppc/ppc-cpu.hpp index a049c3f5..3da8e8d4 100644 --- a/SheepShaver/src/kpx_cpu/src/cpu/ppc/ppc-cpu.hpp +++ b/SheepShaver/src/kpx_cpu/src/cpu/ppc/ppc-cpu.hpp @@ -183,8 +183,7 @@ protected: CFLOW_JUMP = 2, CFLOW_TRAP = 4, CFLOW_CONST_JUMP = 8, - // Instructions that can trap don't mark the end of a block - CFLOW_END_BLOCK = 3 + CFLOW_END_BLOCK = CFLOW_BRANCH | CFLOW_JUMP | CFLOW_TRAP }; // Callbacks associated with each instruction