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 | 6a360439b53be76a209d6f118fac7398341ffe58 (patch) | |
tree | 0f2466823b0505ad685905f3fbd848bff59eb361 /tcg | |
parent | 269e126da5328b197433637cd21902bfcc5afbc2 (diff) | |
download | qemu-6a360439b53be76a209d6f118fac7398341ffe58.tar.gz qemu-6a360439b53be76a209d6f118fac7398341ffe58.tar.bz2 qemu-6a360439b53be76a209d6f118fac7398341ffe58.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')
-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; |