mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
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>
This commit is contained in:
parent
2ed0c3dad7
commit
fee068e4f1
3 changed files with 4 additions and 16 deletions
|
@ -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__ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue