projects
/
qemu
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Convert CPU_PC_FROM_TB to static inline (Jan Kiszka)
[qemu]
/
target-m68k
/
cpu.h
diff --git
a/target-m68k/cpu.h
b/target-m68k/cpu.h
index
a6687b1
..
48c752c
100644
(file)
--- a/
target-m68k/cpu.h
+++ b/
target-m68k/cpu.h
@@
-231,8
+231,12
@@
static inline void cpu_clone_regs(CPUState *env, target_ulong newsp)
}
#endif
-#define CPU_PC_FROM_TB(env, tb) env->pc = tb->pc
-
#include "cpu-all.h"
+#include "exec-all.h"
+
+static inline void cpu_pc_from_tb(CPUState *env, TranslationBlock *tb)
+{
+ env->pc = tb->pc;
+}
#endif