From a975160954d22c6330b81b5613bd5613f0935011 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Fri, 19 Mar 2010 11:12:29 -0700 Subject: tcg: Name the opcode enumeration. Give the enumeration formed from tcg-opc.h a name: TCGOpcode. Use that enumeration type instead of "int" whereever appropriate. Signed-off-by: Richard Henderson Signed-off-by: Aurelien Jarno --- tcg/ppc64/tcg-target.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tcg/ppc64/tcg-target.c') diff --git a/tcg/ppc64/tcg-target.c b/tcg/ppc64/tcg-target.c index cf36c55..865b6e0 100644 --- a/tcg/ppc64/tcg-target.c +++ b/tcg/ppc64/tcg-target.c @@ -1201,7 +1201,7 @@ void ppc_tb_set_jmp_target (unsigned long jmp_addr, unsigned long addr) flush_icache_range (jmp_addr, jmp_addr + patch_size); } -static void tcg_out_op (TCGContext *s, int opc, const TCGArg *args, +static void tcg_out_op (TCGContext *s, TCGOpcode opc, const TCGArg *args, const int *const_args) { int c; -- cgit v1.1