From d0052dcd3eb795ba88d71a44808d613ef4e4245b Mon Sep 17 00:00:00 2001 From: Stanislav Shwartsman Date: Fri, 23 Nov 2007 22:49:54 +0000 Subject: [PATCH] Removed unused setFlags code --- bochs/cpu/cpu.h | 23 ++++++++--------------- 1 file changed, 8 insertions(+), 15 deletions(-) diff --git a/bochs/cpu/cpu.h b/bochs/cpu/cpu.h index 5dd358eca..02bfcd7d6 100644 --- a/bochs/cpu/cpu.h +++ b/bochs/cpu/cpu.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////// -// $Id: cpu.h,v 1.373 2007-11-22 17:33:05 sshwarts Exp $ +// $Id: cpu.h,v 1.374 2007-11-23 22:49:54 sshwarts Exp $ ///////////////////////////////////////////////////////////////////////// // // Copyright (C) 2001 MandrakeSoft S.A. @@ -421,7 +421,6 @@ typedef struct { BX_CPP_INLINE Bit32u get_##name (); \ BX_CPP_INLINE bx_bool getB_##name (); \ BX_CPP_INLINE void set_##name (Bit8u val); \ - BX_CPP_INLINE void setB_##name (Bit8u val); #define IMPLEMENT_EFLAG_ACCESSOR(name,bitnum) \ BX_CPP_INLINE void BX_CPU_C::assert_##name () { \ @@ -437,10 +436,6 @@ typedef struct { return BX_CPU_THIS_PTR eflags.val32 & (1 << bitnum); \ } \ BX_CPP_INLINE void BX_CPU_C::set_##name (Bit8u val) { \ - BX_CPU_THIS_PTR eflags.val32 = \ - (BX_CPU_THIS_PTR eflags.val32&~(1<