aboutsummaryrefslogtreecommitdiff
path: root/tcg/tci
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2014-04-28 13:21:25 -0700
committerRichard Henderson <rth@twiddle.net>2014-05-12 11:13:12 -0700
commitdddbb2e1e3f8137d7e3f1faf9758c66cca0c94ea (patch)
tree444a3188139840d37d46aea4f71480dff421294f /tcg/tci
parenteb68a4fa4e04910baac6726c52910a94f02ef483 (diff)
downloadqemu-dddbb2e1e3f8137d7e3f1faf9758c66cca0c94ea.zip
qemu-dddbb2e1e3f8137d7e3f1faf9758c66cca0c94ea.tar.gz
qemu-dddbb2e1e3f8137d7e3f1faf9758c66cca0c94ea.tar.bz2
tci: Create tcg_out_call
Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'tcg/tci')
-rw-r--r--tcg/tci/tcg-target.c5
1 files changed, 5 insertions, 0 deletions
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)
{