aboutsummaryrefslogtreecommitdiff
path: root/tcg
diff options
context:
space:
mode:
authorAurelien Jarno <aurelien@aurel32.net>2010-06-01 13:55:18 +0200
committerAurelien Jarno <aurelien@aurel32.net>2010-06-02 22:51:06 +0200
commitc28b14c694d759f39fe3ae4f8d03b567da5b93f8 (patch)
tree0f2466823b0505ad685905f3fbd848bff59eb361 /tcg
parent82bb07db0c3f0685dbdc5050d57f0c26ad6ff844 (diff)
downloadqemu-c28b14c694d759f39fe3ae4f8d03b567da5b93f8.zip
qemu-c28b14c694d759f39fe3ae4f8d03b567da5b93f8.tar.gz
qemu-c28b14c694d759f39fe3ae4f8d03b567da5b93f8.tar.bz2
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.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/tcg/i386/tcg-target.c b/tcg/i386/tcg-target.c
index 8a9122c..e16557e 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;