qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 07/10] tci: Create tcg_out_call


From: Richard Henderson
Subject: [Qemu-devel] [PATCH 07/10] tci: Create tcg_out_call
Date: Tue, 29 Apr 2014 09:52:10 -0700

Signed-off-by: Richard Henderson <address@hidden>
---
 tcg/tci/tcg-target.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/tcg/tci/tcg-target.c b/tcg/tci/tcg-target.c
index 6123f9f..7425e73 100644
--- a/tcg/tci/tcg-target.c
+++ b/tcg/tci/tcg-target.c
@@ -549,6 +549,11 @@ static void tcg_out_movi(TCGContext *s, TCGType type,
     old_code_ptr[1] = s->code_ptr - old_code_ptr;
 }
 
+static inline void tcg_out_call(TCGContext *s, tcg_insn_unit *arg)
+{
+    tcg_out_ri(s, 1, (uintptr_t)arg);
+}
+
 static void tcg_out_op(TCGContext *s, TCGOpcode opc, const TCGArg *args,
                        const int *const_args)
 {
-- 
1.9.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]