From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59500) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wjzhu-0005JO-Qy for qemu-devel@nongnu.org; Mon, 12 May 2014 19:32:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wjzho-0005zH-Ru for qemu-devel@nongnu.org; Mon, 12 May 2014 19:32:30 -0400 Received: from mail-qc0-x22c.google.com ([2607:f8b0:400d:c01::22c]:35857) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wjzho-0005zC-Nn for qemu-devel@nongnu.org; Mon, 12 May 2014 19:32:24 -0400 Received: by mail-qc0-f172.google.com with SMTP id l6so8898975qcy.31 for ; Mon, 12 May 2014 16:32:24 -0700 (PDT) Sender: Richard Henderson From: Richard Henderson Date: Mon, 12 May 2014 16:31:11 -0700 Message-Id: <1399937474-6530-24-git-send-email-rth@twiddle.net> In-Reply-To: <1399937474-6530-1-git-send-email-rth@twiddle.net> References: <1399937474-6530-1-git-send-email-rth@twiddle.net> Subject: [Qemu-devel] [PULL 23/26] tci: Create tcg_out_call List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org Signed-off-by: Richard Henderson --- 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