From 10eb0cc03c20b232356edb367516939d6d7bb862 Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Tue, 29 Jun 2010 09:58:50 +0200 Subject: move cpu_pc_from_tb to target-*/exec.h Signed-off-by: Paolo Bonzini Signed-off-by: Blue Swirl --- target-mips/cpu.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'target-mips/cpu.h') diff --git a/target-mips/cpu.h b/target-mips/cpu.h index c21b8e43ff..1aaca77774 100644 --- a/target-mips/cpu.h +++ b/target-mips/cpu.h @@ -612,13 +612,6 @@ target_phys_addr_t cpu_mips_translate_address (CPUState *env, target_ulong addre int rw); #endif -static inline void cpu_pc_from_tb(CPUState *env, TranslationBlock *tb) -{ - env->active_tc.PC = tb->pc; - env->hflags &= ~MIPS_HFLAG_BMASK; - env->hflags |= tb->flags & MIPS_HFLAG_BMASK; -} - static inline void cpu_get_tb_cpu_state(CPUState *env, target_ulong *pc, target_ulong *cs_base, int *flags) { -- cgit v1.2.3