From 6a360439b53be76a209d6f118fac7398341ffe58 Mon Sep 17 00:00:00 2001 From: Aurelien Jarno Date: Tue, 1 Jun 2010 13:55:18 +0200 Subject: 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 --- tcg/i386/tcg-target.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'tcg') 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; -- cgit v1.2.3