diff options
author | Aurelien Jarno <aurelien@aurel32.net> | 2010-06-01 13:55:18 +0200 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2010-06-02 22:51:06 +0200 |
commit | c28b14c694d759f39fe3ae4f8d03b567da5b93f8 (patch) | |
tree | 0f2466823b0505ad685905f3fbd848bff59eb361 /tcg/i386 | |
parent | 82bb07db0c3f0685dbdc5050d57f0c26ad6ff844 (diff) | |
download | qemu-c28b14c694d759f39fe3ae4f8d03b567da5b93f8.tar.gz qemu-c28b14c694d759f39fe3ae4f8d03b567da5b93f8.tar.bz2 qemu-c28b14c694d759f39fe3ae4f8d03b567da5b93f8.zip |
tcg-i386: declare tcg_out_tlb_load() inline
Declare tcg_out_tlb_load() inline so that we don't loose optimisations
with commit 8516a04467cb7954cdc32e8b79b4b7df56dccb16.
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'tcg/i386')
-rw-r--r-- | tcg/i386/tcg-target.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tcg/i386/tcg-target.c b/tcg/i386/tcg-target.c index 8a9122c395..e16557e31a 100644 --- a/tcg/i386/tcg-target.c +++ b/tcg/i386/tcg-target.c @@ -724,9 +724,10 @@ static void *qemu_st_helpers[4] = { EDX is clobbered. */ -static void tcg_out_tlb_load(TCGContext *s, int addrlo_idx, int mem_index, - int s_bits, const TCGArg *args, - uint8_t **label_ptr, int which) +static inline void tcg_out_tlb_load(TCGContext *s, int addrlo_idx, + int mem_index, int s_bits, + const TCGArg *args + uint8_t **label_ptr, int which) { const int addrlo = args[addrlo_idx]; const int r0 = TCG_REG_EAX; |