Skip to content

Commit 6e9f900

Browse files
committed
accel/tcg: Build tcg-runtime.c once
Reviewed-by: Pierrick Bouvier <[email protected]> Signed-off-by: Richard Henderson <[email protected]>
1 parent 67ba743 commit 6e9f900

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

accel/tcg/meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
common_ss.add(when: 'CONFIG_TCG', if_true: files(
22
'cpu-exec-common.c',
3+
'tcg-runtime.c',
34
))
45
tcg_specific_ss = ss.source_set()
56
tcg_specific_ss.add(files(
67
'tcg-all.c',
78
'cpu-exec.c',
89
'tb-maint.c',
910
'tcg-runtime-gvec.c',
10-
'tcg-runtime.c',
1111
'translate-all.c',
1212
'translator.c',
1313
))

accel/tcg/tcg-runtime.c

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,9 @@
2323
*/
2424
#include "qemu/osdep.h"
2525
#include "qemu/host-utils.h"
26-
#include "cpu.h"
26+
#include "exec/cpu-common.h"
2727
#include "exec/helper-proto-common.h"
28-
#include "exec/cpu_ldst.h"
29-
#include "exec/exec-all.h"
30-
#include "disas/disas.h"
31-
#include "exec/log.h"
32-
#include "tcg/tcg.h"
28+
#include "accel/tcg/getpc.h"
3329

3430
#define HELPER_H "accel/tcg/tcg-runtime.h"
3531
#include "exec/helper-info.c.inc"

0 commit comments

Comments
 (0)