Skip to content

Commit

Permalink
tci: Create tcg_out_call
Browse files Browse the repository at this point in the history
Signed-off-by: Richard Henderson <[email protected]>
  • Loading branch information
rth7680 committed May 12, 2014
1 parent eb68a4f commit dddbb2e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tcg/tci/tcg-target.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit dddbb2e

Please sign in to comment.