diff options
| author | Richard Henderson | 2014-04-08 07:31:41 +0200 |
|---|---|---|
| committer | Richard Henderson | 2014-05-28 18:33:54 +0200 |
| commit | 2ef6175aa76adea2ab8ce1540904a05d6f8e8eed (patch) | |
| tree | 97fa366ef3c187fc2ed9536ba4a56eae222bdaa7 /target-mips/translate.c | |
| parent | tcg: Optimize brcond2 and setcond2 ne/eq (diff) | |
| download | qemu-2ef6175aa76adea2ab8ce1540904a05d6f8e8eed.tar.gz qemu-2ef6175aa76adea2ab8ce1540904a05d6f8e8eed.tar.xz qemu-2ef6175aa76adea2ab8ce1540904a05d6f8e8eed.zip | |
tcg: Invert the inclusion of helper.h
Rather than include helper.h with N values of GEN_HELPER, include a
secondary file that sets up the macros to include helper.h. This
minimizes the files that must be rebuilt when changing the macros
for file N.
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'target-mips/translate.c')
| -rw-r--r-- | target-mips/translate.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/target-mips/translate.c b/target-mips/translate.c index 05f82d2f9b..13cf29b9d9 100644 --- a/target-mips/translate.c +++ b/target-mips/translate.c @@ -25,9 +25,8 @@ #include "disas/disas.h" #include "tcg-op.h" -#include "helper.h" -#define GEN_HELPER 1 -#include "helper.h" +#include "exec/helper-proto.h" +#include "exec/helper-gen.h" #define MIPS_DEBUG_DISAS 0 //#define MIPS_DEBUG_SIGN_EXTENSIONS |
