aboutsummaryrefslogtreecommitdiff
path: root/target-tricore
diff options
context:
space:
mode:
authorPeter Crosthwaite <crosthwaitepeter@gmail.com>2015-04-29 00:52:21 -0700
committerMichael Tokarev <mjt@tls.msk.ru>2015-04-30 16:06:18 +0300
commitfee068e4f190a36ef3bda9aa7c802f90434ef8e5 (patch)
tree4dea310c1a049f47edc5bd6948ba30fcf3713dd6 /target-tricore
parent2ed0c3dad769ab747e1f5448b70eeaf134c76982 (diff)
tcg: Delete unused cpu_pc_from_tb()
No code uses the cpu_pc_from_tb() function. Delete from tricore and arm which each provide an unused implementation. Update the comment in tcg.h to reflect that this is obsoleted by synchronize_from_tb. Signed-off-by: Peter Crosthwaite <crosthwaite.peter@gmail.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'target-tricore')
-rw-r--r--target-tricore/cpu.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/target-tricore/cpu.h b/target-tricore/cpu.h
index 90bf0069b5..c14b5f9016 100644
--- a/target-tricore/cpu.h
+++ b/target-tricore/cpu.h
@@ -395,9 +395,4 @@ int cpu_tricore_handle_mmu_fault(CPUState *cpu, target_ulong address,
#include "exec/exec-all.h"
-static inline void cpu_pc_from_tb(CPUTriCoreState *env, TranslationBlock *tb)
-{
- env->PC = tb->pc;
-}
-
#endif /*__TRICORE_CPU_H__ */