diff options
| author | Peter Crosthwaite | 2015-04-29 09:52:21 +0200 |
|---|---|---|
| committer | Michael Tokarev | 2015-04-30 15:06:18 +0200 |
| commit | fee068e4f190a36ef3bda9aa7c802f90434ef8e5 (patch) | |
| tree | 4dea310c1a049f47edc5bd6948ba30fcf3713dd6 /target-tricore | |
| parent | kvm: Silence warning from valgrind (diff) | |
| download | qemu-fee068e4f190a36ef3bda9aa7c802f90434ef8e5.tar.gz qemu-fee068e4f190a36ef3bda9aa7c802f90434ef8e5.tar.xz qemu-fee068e4f190a36ef3bda9aa7c802f90434ef8e5.zip | |
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.h | 5 |
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__ */ |
