From 313adae9051ce95fa6a4c6dc9cb2bda3a4a425fc Mon Sep 17 00:00:00 2001 From: bellard Date: Sun, 20 Nov 2005 10:33:00 +0000 Subject: [PATCH] removed unneeded code git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1631 c046a42c-6fe2-441c-8c8c-71466251a162 --- target-ppc/helper.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/target-ppc/helper.c b/target-ppc/helper.c index 66c26041c4..c3b02d8cc7 100644 --- a/target-ppc/helper.c +++ b/target-ppc/helper.c @@ -806,7 +806,7 @@ void do_compute_hflags (CPUPPCState *env) } void do_store_msr (CPUPPCState *env, target_ulong value) - { +{ value &= env->msr_mask; if (((value >> MSR_IR) & 1) != msr_ir || ((value >> MSR_DR) & 1) != msr_dr) { @@ -1436,15 +1436,5 @@ void do_interrupt (CPUState *env) /* Jump to handler */ env->nip = excp; env->exception_index = EXCP_NONE; -#if 0 - /* ensure that no TB jump will be modified as - the program flow was changed */ -#ifdef __sparc__ - tmp_T0 = 0; -#else - T0 = 0; -#endif -#endif - env->interrupt_request |= CPU_INTERRUPT_EXITTB; } #endif /* !CONFIG_USER_ONLY */